LWA-2026-10539 MAL-2026-13378 ↗ confirmed malware

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

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.