{"id":"MAL-2026-17158","revision":"5a1f34f1c058446d9a3ffe79c43990ac","records":[{"revision":"5a1f34f1c058446d9a3ffe79c43990ac","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17158","aliases":[],"title":"Malicious code in simple-date-formatter-new-11 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (10e00618100992f74fd0b4c908be0db1c3e13de1b37ae9dc5952b7836f564042)\nPackage presents itself as a date-formatting utility but performs credential theft against the installer through two channels. The postinstall script in package.json curls cloud instance-metadata endpoints (Alibaba 100.100.100.200, AWS 169.254.169.254, and Tencent Cloud) and a /data/ listing, writes them to /tmp, and POSTs the concatenated contents to an attacker-controlled OAST collector at pdxkwzizhzzdpzpgcieqk6d1v7ynqsgfo.oast.fun/metadata — harvesting cloud IAM/instance credentials from any cloud VM or CI runner that installs the package. Separately, index.js (the package main) enumerates ~/.ssh on require, packages the username, platform, and key filenames as JSON, and POSTs the payload over HTTPS to the hardcoded remote host 124.221.154.135:443/post, so importing the module leaks SSH key metadata to a fixed attacker endpoint. The advertised formatDate functionality is a stub unrelated to the exfiltration paths.\n","state":0,"publishedAt":"2026-09-24T13:16:23+00:00","modifiedAt":"2026-09-24T13:30:04.6073406+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-new-11","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-new-11/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17158","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17158","identifiers":["MAL-2026-17158"]},"retained":false,"historicalAffected":[]}],"coverage":[]}