VYPR

npm · Malicious package advisory

Malware

test-agency-assignment-02

GHSA-rgqv-x3r6-279g

Malicious code in test-agency-assignment-02 (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.5`

## 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/67d06e2deee9e77ea9bdeec9c2b5592c5d930e15/osv/malicious/npm/test-agency-assignment-02/MAL-2026-17297.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/67d06e2deee9e77ea9bdeec9c2b5592c5d930e15/osv/malicious/npm/test-agency-assignment-02/MAL-2026-17297.json
- https://www.npmjs.com/package/test-agency-assignment-02/v/1.0.5
- https://github.com/advisories/GHSA-rgqv-x3r6-279g

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.