Skip to main content

oxc_debolb

A JavaScript deobfuscator targeting specific obfuscation schemes (sbsd, akm), built on top of oxc (Rust) and exposed to Python via PyO3 + maturin.

The Rust core handles parsing, AST traversal, semantic analysis and codegen; the Python layer drives the deobfuscation pipeline and provides a CLI.

Installation

pip install oxc_debolb

Pre-built wheels are published for:

  • Linux — x86_64 / aarch64, both manylinux (glibc) and musllinux (Alpine)
  • Windows — x64
  • macOS — x86_64 (Intel) / aarch64 (Apple Silicon)

All wheels are built with stable ABI (abi3-py39), so a single wheel per platform covers CPython 3.9 – 3.14.

Quick start

Library:

from oxc_debolb import sbsd_deobfuscate, akm_deobfuscate, format_timing_log

source = open("code.js", "r", encoding="utf-8").read()

# sbsd scheme
cleaned, log = sbsd_deobfuscate(source, verbose=False)

# or akm scheme
cleaned, log = akm_deobfuscate(source, verbose=False)

print(cleaned)
print(format_timing_log(log))

CLI:

# default: code.js -> sbsd_ok.js, scheme=sbsd
python -m oxc_debolb.cli

# specify input / output / scheme
python -m oxc_debolb.cli input.js output.js -s akm

# options
#   -s, --scheme {sbsd,akm}   obfuscation scheme (default: sbsd)
#   -q, --quiet               suppress per-step timing
#   -v, --verbose             verbose progress

Building from source

Requires Rust (stable) and Python ≥ 3.9.

pip install maturin
maturin develop --release

To produce a wheel:

maturin build --release

License

Licensed under the Apache License, Version 2.0. See LICENSE for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oxc_debolb-0.2.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

oxc_debolb-0.2.0-cp39-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.9+Windows x86-64

oxc_debolb-0.2.0-cp39-abi3-musllinux_1_2_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ x86-64

oxc_debolb-0.2.0-cp39-abi3-musllinux_1_2_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

oxc_debolb-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

oxc_debolb-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

oxc_debolb-0.2.0-cp39-abi3-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

oxc_debolb-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file oxc_debolb-0.2.0.tar.gz.

File metadata

  • Download URL: oxc_debolb-0.2.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.14.1

File hashes

Hashes for oxc_debolb-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8125e9f7b7e1b5375deaf98121931da48ad77408bcc27b90c68ca515f3b1be3d
MD5 9d19fd3da02cba088e4f87513c8ee641
BLAKE2b-256 a132b4acd2137b323b9c65fefd81d34fb65b14364c9d60d8ee723f7600b8928c

See more details on using hashes here.

File details

Details for the file oxc_debolb-0.2.0-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for oxc_debolb-0.2.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 22bbc14a7dfb8121b590a59e709c5681c95b848ec7f8d26a335da2046d14adfa
MD5 f8e5f1df91315ccae0b2ebd12ac2ba50
BLAKE2b-256 50219dd7d18276a46f2b8c7feac1aaa774faa7dba34b9faee1f215d1f5f40caa

See more details on using hashes here.

File details

Details for the file oxc_debolb-0.2.0-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for oxc_debolb-0.2.0-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3337420c47805e5a1de5647340e0daad20735b56f0df37b83306706bb27bebf4
MD5 0715ed0a5dc8aa8722a7b5190927adb3
BLAKE2b-256 6f02873733fca7eea41eb458453f66bbc59016c859f2c34058b69973c32d6dd8

See more details on using hashes here.

File details

Details for the file oxc_debolb-0.2.0-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for oxc_debolb-0.2.0-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7a6a6232391425352a1b3f701f0e2b8a01a879dddfcca3f29ce781d0cb7ededf
MD5 93ee2f671e5e4086ce0f13282e979a9c
BLAKE2b-256 ce3c5b353823b8ff31e330902b10c3646edf703be21ebc1ce9f70ab3316873d3

See more details on using hashes here.

File details

Details for the file oxc_debolb-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for oxc_debolb-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 219b51c6de6b8c31aca80f4e724e97906e9791d537dad857c41bc201cca5fc39
MD5 b80dc21b57571159ec2bfc9fce12d0ae
BLAKE2b-256 bc4bc2c7ff3e47769568f31b457bcdcc8c00990135371a71bc7f8854d8616255

See more details on using hashes here.

File details

Details for the file oxc_debolb-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for oxc_debolb-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c87a4d019f019f81a61b199efa35275b66d15d10aef09a11375b45e76ad614e1
MD5 fef97c2ee19774c323140edc4e1fbf5d
BLAKE2b-256 a21c166a8a9216a3e040b51b8a9305adbde4d154fea92a5f0367232f3239c8f9

See more details on using hashes here.

File details

Details for the file oxc_debolb-0.2.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oxc_debolb-0.2.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 806bd54dc554fb667fa9bc9713af6aa928c4999a2da00b83fcdf92c590de6331
MD5 dd9ed4b3d21cf82807e626926a542678
BLAKE2b-256 384f5367b3cfd1293a106ddd40eebd484159c3bdd9bd88f90fc3b38245ba9e3d

See more details on using hashes here.

File details

Details for the file oxc_debolb-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for oxc_debolb-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b2aed3d0ddd2d67758f63eb387f55a9c4a06676f5cdb736da4f07ebae7510397
MD5 14ee874c93397cba2a608b40591f3854
BLAKE2b-256 64c91053943086112f86a7da30f34a938bf8b68dc5edebc6310f49cc212f8a93

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

8 files

0.1.0

8 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page