{"id":"MAL-2026-6791","revision":"aae894376a1a4149a933f2e09fba945f","records":[{"revision":"aae894376a1a4149a933f2e09fba945f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6791","aliases":[],"title":"Malicious code in npm-show-date-proof-strings (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (884f2797ddf6247c906bb97e72b3c0891551b260980811d50c7211ab2ea0bbcf)\nThe package's postinstall.js runs on every `npm install` and collects the installer's username (via `whoami` and `os.userInfo()`), hostname (`os.hostname()`), platform (`process.platform`), and Node version, then transmits them as query parameters via `https.get()` to a hardcoded endpoint at https://testnpm.byte.eyes.sh/npm-proof. The destination is author-controlled and undocumented; the installer has no opportunity to opt out. The package name (\"npm-show-date-proof-strings\") and an embedded NONCE string (\"proof-2026-change-this-random-string\") indicate this is a proof-of-execution beacon, but regardless of framing, it is unconsented host-identifier collection on install with no legitimate installer-facing purpose.\n\n## Source: ossf-package-analysis (a2ca450bd74580e87a2f428fd6fcfe66ac30e7a2a88e214da7d3628915549db6)\nThe OpenSSF Package Analysis project identified 'npm-show-date-proof-strings' @ 1.0.3 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2026-07-01T16:11:17+00:00","modifiedAt":"2026-07-09T23:02:02.1850032+00:00","affected":[{"ecosystem":"npm","name":"npm-show-date-proof-strings","ranges":[],"versions":["1.0.3","1.0.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/npm-show-date-proof-strings/v/1.0.4","https://www.npmjs.com/package/npm-show-date-proof-strings/v/1.0.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6791","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6791","identifiers":["MAL-2026-6791"]},"retained":false,"historicalAffected":[]}],"coverage":[]}