{"id":"MAL-2026-10159","revision":"03de0db3f61e410c86a26e07f3fee109","records":[{"revision":"03de0db3f61e410c86a26e07f3fee109","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10159","aliases":[],"title":"Malicious code in npm-rce-safe-proof-yourname (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f9fdedc15d959d978bd3563d29d16c5ab226d3c4fa4ab8b6fecf8bdf130e29ab)\nOn `npm install`, postinstall.js runs `whoami`, reads `os.hostname()`, `process.platform`, and `process.version`, and transmits them via HTTPS GET to a hardcoded remote endpoint at https://testnpm.byte.eyes.sh/npm-proof. This fires automatically as a lifecycle hook with no user consent. The package's declared purpose (`npm script for showing date strings`) and its self-labeling as a 'safe proof' do not match the observed behavior — the code is a functional install-time identity beacon transmitting the installer's username and hostname to an author-controlled destination. Beaconing installer identity to a hardcoded third-party host on install is credential/identity leakage regardless of the 'proof' framing.\n","state":0,"publishedAt":"2026-07-10T16:34:59+00:00","modifiedAt":"2026-07-10T17:17:00.9551774+00:00","affected":[{"ecosystem":"npm","name":"npm-rce-safe-proof-yourname","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/npm-rce-safe-proof-yourname/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10159","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10159","identifiers":["MAL-2026-10159"]},"retained":false,"historicalAffected":[]}],"coverage":[]}