Skip to main content

Crate js_deobfuscator

Crate js_deobfuscator 

Source
Expand description

JS-Deobfuscator v2

Universal JavaScript deobfuscator built on OXC. Layer-by-layer, lowest to highest — each layer depends only on layers below it.

§Layers

LayerModulePurpose
0valuePure JS value computation. No OXC.
1astOXC AST read/write helpers.
2scopeSymbol resolution, reference tracking.
3foldStatic expression folding.
4evalDynamic evaluation (Node.js subprocess).
5transformSemantic transforms (propagation, inlining).
6engineModule trait, convergence loop, public API.
formatPre/post normalization.

Modules§

ast
Layer 1: OXC AST helpers.
engine
Layer 7: Orchestration — Module trait, convergence loop, public API.
eval
Layer 4: Dynamic evaluation (Node.js subprocess).
fold
Layer 3: Static expression folding.
format
Pre/post normalization passes.
scope
Layer 2: Symbol resolution and reference tracking.
targets
Obfuscator-specific transforms.
transform
Layer 5: Semantic transforms.
value
Layer 0: Pure JavaScript value computation.