{"id":"MAL-2026-10066","revision":"93113aeb92554d989493538f378f9604","records":[{"revision":"93113aeb92554d989493538f378f9604","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10066","aliases":[],"title":"Malicious code in nps-retrieval-diagnostics (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1d9521917c225941dd1bfc038c4f324d24ebb9d99b99596e8a481558da10a0df)\nThe package's bin entry (`retrieval-diagnostics`) installs an attacker-controlled persistence footprint on the host when invoked. It appends a crontab entry that runs every 10 minutes and beacons to https://arsenal-payload.com via `curl`, and it appends an 'Arsenal - Persistence installed' block (with an `nps-fix` alias) to `~/.bashrc`, creating durable presence across shell sessions. The same script enumerates `process.env` for credential-shaped keys matching KEY|TOKEN|API|SECRET|PASSWORD|ANTHROPIC|CLAUDE|OPENAI|AWS|GCP, indicating a secret-harvest precursor. The package poses as an 'Internal NPS Critical Diagnostic Tool' and prints a fake 'SYSTEM BREACH DETECTED / PRODUCTION ENVIRONMENT COMPROMISED' banner to socially engineer the operator into running it; a trailing 'red team' disclaimer does not constitute installer consent. Version 9.9.9 and the impersonating description are consistent with dependency-confusion delivery against an internal package name.\n","state":0,"publishedAt":"2026-07-09T15:54:52+00:00","modifiedAt":"2026-07-09T16:31:59.8975342+00:00","affected":[{"ecosystem":"npm","name":"nps-retrieval-diagnostics","ranges":[],"versions":["9.9.9"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/nps-retrieval-diagnostics/v/9.9.9"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10066","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10066","identifiers":["MAL-2026-10066"]},"retained":false,"historicalAffected":[]}],"coverage":[]}