{"id":"MAL-2026-17161","revision":"0cb77a746fdb431084a6f929c26feeb8","records":[{"revision":"0cb77a746fdb431084a6f929c26feeb8","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17161","aliases":[],"title":"Malicious code in simple-date-formatter-new-15 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (005b96d3c3d5f1a071c40a8b72ea22b5e0221db32cfffacfc8f2343f0ee97eb0)\nThe package's package.json postinstall script curls cloud instance-metadata endpoints (AWS IMDS at 169.254.169.254/latest/meta-data/sts-credential, Alibaba/Tencent metadata at metadata.tencentyun.com and 169.254.0.23) into /tmp files and POSTs their concatenated contents plus `ls -la /data/` output to a remote collector (placeholder host YOUR_BURP_SERVER). The tarball additionally ships postinstall.js containing getSSHKeys(), which reads ~/.ssh from the installer's home directory along with username/platform metadata and POSTs the payload over HTTPS to a hardcoded bare IP 124.221.154.135:443/post. Installing the package runs the lifecycle exfiltration automatically; the SSH-key harvester is bundled dropper code aligned with the same intent. The trivial 'date formatter' name and the presence of a placeholder collector indicate a PoC/typosquat stub in an ongoing credential-theft campaign.\n","state":0,"publishedAt":"2026-09-24T13:16:33+00:00","modifiedAt":"2026-09-24T13:30:04.6047056+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-new-15","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-new-15/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17161","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17161","identifiers":["MAL-2026-17161"]},"retained":false,"historicalAffected":[]}],"coverage":[]}