npm · Malicious package advisory
Malwaretest-agency-assignment-02
MAL-2026-17297
Malicious code in test-agency-assignment-02 (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e9944ea8ca21c0670c4b718a12427e8ca7330571ef5a9198a60b05f75038fe73) The tarball contains only package.json and 4444.vbs; the declared main entry (index.js) is absent. package.json defines a postinstall script `wscript.exe 4444.vbs`, so on `npm install` on Windows the VBScript executes automatically. 4444.vbs is heavily obfuscated (colon-delimited XOR-encoded CreateObject strings, embedded AES S-box and ChaCha20-IETF routines, and 600+ base64 fragments reconstructed at runtime) and presents cover strings identifying itself as `Device Telemetry Aggregator / Verdant Signals Corp.`. It reconstructs an encrypted payload, writes it to %TEMP% as a `pf*.dat` file, and invokes powershell.exe to perform process hollowing of the decoded loader. The package ships no library code — its only reachable behavior is the install-time dropper.
Compromised versions (1)
- 1.0.5
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.