{"id":"MAL-2026-12198","revision":"edd8f7f54f504d55aae5f05a2b061481","records":[{"revision":"edd8f7f54f504d55aae5f05a2b061481","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12198","aliases":[],"title":"Malicious code in simple-date-formatter-new-7 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a09ab26676285be9c12d5c7ecfef65a0f0ebf32cb0324a83d3249c28674a1824)\nPackage is advertised as a date-formatting utility but its `postinstall` script probes an internal-range Kubernetes API (10.45.196.138:8080, endpoints /version, /api, /api/v1/namespaces, /api/v1/pods, /api/v1/secrets, /api/v1/nodes plus two adjacent hosts) and POSTs the concatenated responses to an out-of-band collector at safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo11. Runs automatically on `npm install`. The tarball also ships a `postinstall.js` containing a `getSSHKeys()` function that enumerates `~/.ssh` and POSTs a JSON payload with the directory listing, username, and platform to a hardcoded remote IP 124.221.154.135:443/post over HTTPS. The advertised purpose (`formatDate()` in index.js) is a thin cover story unrelated to the shipped install-time behavior.\n","state":0,"publishedAt":"2026-08-05T08:48:17+00:00","modifiedAt":"2026-08-05T10:06:19.3982927+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-new-7","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-new-7/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12198","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12198","identifiers":["MAL-2026-12198"]},"retained":false,"historicalAffected":[]}],"coverage":[]}