{"id":"MAL-2026-17229","revision":"cefb970cfac449679c3fefe114b0ecac","records":[{"revision":"cefb970cfac449679c3fefe114b0ecac","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17229","aliases":[],"title":"Malicious code in simple-date-formatter-new-12 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bd79db99adb8878673dd85db5a29661432808fa8fcc5e3d750b907418df8ae5f)\nnpm package simple-date-formatter-new-12@1.0.0 declares a postinstall lifecycle script in package.json that runs automatically on `npm install`. The script uses curl to fetch an internal Baidu host (http://bsrc-ssrf.n.baidu-int.com/...), writes the response to /tmp/bsrc.txt, and POSTs the contents to an attacker-controlled interactsh collector at pdxkwzizhzzdpzpgcieqk6d1v7ynqsgfo.oast.fun/bsrc. The package's advertised purpose is a trivial date-formatting wrapper (index.js exports a single formatDate function); the SSRF probe and outbound exfiltration are unrelated to that purpose. The name shape (`simple-date-formatter-new-12`), empty author metadata, and OAST beacon are consistent with a dependency-confusion / typosquat probe designed to detect installation inside a target organization and leak internal network responses reachable from the installer's network position to a third-party collector.\n","state":0,"publishedAt":"2026-09-28T18:08:15+00:00","modifiedAt":"2026-09-28T18:30:06.6895726+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-new-12","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-new-12/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17229","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17229","identifiers":["MAL-2026-17229"]},"retained":false,"historicalAffected":[]}],"coverage":[]}