{"id":"MAL-2026-10509","revision":"5e90c9532c49428cb0d1d19a39416122","records":[{"revision":"5e90c9532c49428cb0d1d19a39416122","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10509","aliases":[],"title":"Malicious code in test_adminet (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e1971734ce6221624b53d3647a5881c1fe0bc7f8ae4d383a5ff2a9f5080da57c)\nThe package's package.json declares a preinstall hook that runs index.js. On npm install, index.js uses child_process.exec to curl-POST installer identifiers ($(whoami), $(hostname), id output) together with the contents of /etc/passwd, /etc/hosts, and /etc/shadow (base64-encoded and stuffed into the User-Agent header) to a hardcoded webhook.site endpoint. The /etc/shadow read attempts to harvest local password hashes; if the install runs as root (common in CI/Docker), hashes are transmitted off-host. Behavior fires automatically on default npm install with no user interaction.\n","state":0,"publishedAt":"2026-07-13T21:59:21+00:00","modifiedAt":"2026-07-13T22:31:56.5877442+00:00","affected":[{"ecosystem":"npm","name":"test_adminet","ranges":[],"versions":["99.9.9"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/test_adminet/v/99.9.9"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10509","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10509","identifiers":["MAL-2026-10509"]},"retained":false,"historicalAffected":[]}],"coverage":[]}