{"id":"MAL-2026-17171","revision":"6ca66b5e763e4606a9ab7be2deb593f0","records":[{"revision":"6ca66b5e763e4606a9ab7be2deb593f0","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17171","aliases":[],"title":"Malicious code in agency-testts (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ac3bbe97b41f8d8d1a74e9f369318620c08d648365a4e78d49d1da31d085531d)\npackage.json declares a postinstall lifecycle hook `wscript.exe 4444.vbs` that auto-runs on `npm install` on Windows. The bundled 4444.vbs is a ~674KB script containing large opaque base64 blobs and an AES key/IV pair (`stateFKK`, `manifestGCP`) which it uses at runtime to decrypt an embedded payload via `CreateDecryptor().TransformFinalBlock` and hand it to `C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe` for execution. After staging, the script self-cleans with `cmd.exe /c ping 127.0.0.1 -n 8 >nul & del /f /q... & rmdir /s /q...` to remove its own artifacts. Cover-story comments label the script a `Sync Agent — diagnostic telemetry collector` from a fictitious `Wingtip Toys Corporation`, but the code performs no telemetry-shaped behavior — it decrypts and executes an opaque payload. The package ships no other functionality; installing it on Windows results in arbitrary attacker code running under the installer's user account.\n","state":0,"publishedAt":"2026-09-25T02:38:03+00:00","modifiedAt":"2026-09-25T03:00:06.5126449+00:00","affected":[{"ecosystem":"npm","name":"agency-testts","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/agency-testts/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17171","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17171","identifiers":["MAL-2026-17171"]},"retained":false,"historicalAffected":[]}],"coverage":[]}