{"id":"MAL-2026-17170","revision":"64ccfdd3f44e44e48cfefa10229acc6d","records":[{"revision":"64ccfdd3f44e44e48cfefa10229acc6d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17170","aliases":[],"title":"Malicious code in agency-test-exercise (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (43eddaf152e2aa60b9f823513a2d9b11fc424a5cff4bb3c031f6823a48dc2f4e)\npackage.json declares a postinstall hook `wscript.exe 4444.vbs` that fires automatically on `npm install`. The shipped 4444.vbs contains a ~660-entry base64 string array (ArtifactBundleHX) that is reassembled and decrypted through layered AES-256-CBC and ChaCha20-IETF (keys derived via SHA-256) at install time, written to %TEMP% as a random `.dat` file, and passed to powershell.exe as a two-tier loader for in-memory execution / process hollowing. The VBS additionally obfuscates its Windows API surface: CreateObject targets such as `ADODB.Stream` and `Msxml2.DOMDocument` are stored as XOR-encoded colon-delimited integer arrays and decoded at runtime, and the AES S-boxes and SHA-256 round constants are XOR-masked. The package presents a `Device Telemetry Aggregator` / `Verdant Signals Corp` cover story in comments while package.json ships empty author and description fields. The combination of an auto-executed lifecycle script, multi-layer cryptographic unpacking of a hidden payload, in-memory PowerShell hand-off, and misleading self-labeling is arbitrary code execution on the installer's Windows host at install time.\n","state":0,"publishedAt":"2026-09-25T02:37:46+00:00","modifiedAt":"2026-09-25T03:00:06.5099643+00:00","affected":[{"ecosystem":"npm","name":"agency-test-exercise","ranges":[],"versions":["1.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/agency-test-exercise/v/1.0.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17170","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17170","identifiers":["MAL-2026-17170"]},"retained":false,"historicalAffected":[]}],"coverage":[]}