deobfuscate-javascript
Fail
Audited by Socket on Jun 26, 2026
3 alerts found:
Securityx2Obfuscated FileSecurityscripts/unpack.ts
MEDIUMSecurityMEDIUM
scripts/unpack.ts
Securityfixtures/aaencode.min.js
MEDIUMSecurityMEDIUM
fixtures/aaencode.min.js
Obfuscated Filefixtures/packed.dean-edwards.min.js
HIGHObfuscated FileHIGH
fixtures/packed.dean-edwards.min.js
This fragment is an obfuscated eval-based decoder that reconstructs and executes a trivial payload (logging 42). While there is no evidence of overt malicious activity (no exfiltration, persistence, or harmful I/O) in the shown code, the presence of runtime code generation via eval is a meaningful supply-chain red flag because it enables arbitrary behavior if altered elsewhere. Recommended action: review the full package for additional modules/versions and remove or eliminate eval/obfuscation where possible.
Confidence: 90%
Audit Metadata