{"id":"MAL-2026-12199","revision":"26bef86325c44c5a89538dfcecf23749","records":[{"revision":"26bef86325c44c5a89538dfcecf23749","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12199","aliases":[],"title":"Malicious code in simple-date-formatter-new-8 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4f0bf9e4040cf2940b0ca9a9e5cea7def2c660925afd0ba959ed69d28ca007b7)\nThe package.json postinstall script runs unconditionally on `npm install`, collecting host and internal-network reconnaissance (kernel version via `uname -r`, `/etc/resolv.conf`, `hostname -I`, `/proc/net/route`, internal TCP endpoint probes, and Kubernetes API probes against 10.45.196.x /version and /api/v1/namespaces) and POSTs the aggregated output via `curl` to an attacker-controlled interact.sh OAST collector at http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfoF. A sibling postinstall.js enumerates the installer's `~/.ssh` directory and POSTs the contents along with username and platform to a hardcoded remote host at 124.221.154.135:443/post. The declared purpose is a trivial date formatter, which has no legitimate need to read SSH material, enumerate internal networks, or contact OAST infrastructure.\n","state":0,"publishedAt":"2026-08-05T08:48:09+00:00","modifiedAt":"2026-08-05T10:06:20.2559945+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-new-8","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-new-8/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12199","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12199","identifiers":["MAL-2026-12199"]},"retained":false,"historicalAffected":[]}],"coverage":[]}