npm-dc-dev@1.1.1
Malicious code in npm-dc-dev (npm)
T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027 · Obfuscated Files or Information
Analysis
The package's postinstall hook runs `node test.js`, which loads a 170KB heavily-obfuscated JavaScript payload (index.js) built via the Function constructor with custom base64-like string-array decoding and obfuscated control flow. The payload executes at install time. The package also declares the Node core modules `child_process` and `os` as npm dependencies, a supply-chain vector that can pull in malicious packages under those names. The obfuscated payload's network behaviour is not visible from static inspection.
- analyzed by
- Leitwacht
- first seen
- Aug 5, 2026, 05:17 PM
- analyzed
- Aug 5, 2026, 05:20 PM
Related advisories
- dolyame-boxy-mobile-bnpl-card-gallery@35.9.5
- devplatform-spa-tokens@35.3.1
- dolyame-boxy-independent-bnpl-tiles@35.7.4
- devplatform-iam-client@35.5.6
- bnpl-blocks-mobile-bnpl-floating-button@35.3.6
- devplatform-test-pvm-is-even@35.9.5
- devplatform-test-pvm-is-odd@35.3.9
- bigops-watchdog-angular@35.4.8
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.