{"id":"MAL-2026-11501","revision":"40a51854a4e747a8b77d75a2a53d2b61","records":[{"revision":"40a51854a4e747a8b77d75a2a53d2b61","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11501","aliases":[],"title":"Malicious code in simple-date-formatter-util-5 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cb6c0d10eabca0cef05a136e2ffd68781a965747ad1e75bf9fd9528292bbe429)\nThe package is advertised as a date-formatting utility but its package.json postinstall script curls cloud-provider instance metadata endpoints (AWS 169.254.169.254, Alibaba 100.100.100.200, Tencent metadata.tencentyun.com and 169.254.0.23), retrieves the IAM security-credentials role, captures the output alongside `ls -la /data/`, and POSTs the collected data to attacker-controlled Interactsh (oast.fun) out-of-band subdomains such as safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/metadata and ycrqyyjhwepdmhjifyccxss1hrks8lcd2.oast.fun/metadata. The tarball also ships postinstall.js, which enumerates ~/.ssh (reading.pub filenames and directory listing) and POSTs the results with username and platform to hardcoded IP 124.221.154.135:443/post over HTTPS. Behavior fires automatically on `npm install`, does not match the declared date-formatter purpose, and results in cloud IAM credential and SSH-context exfiltration to attacker infrastructure.\n\n## Source: ossf-package-analysis (0eb3042c51ca3c377dd9f4e814a53f4901a805271896f9bfd1619891be4bff5c)\nThe OpenSSF Package Analysis project identified 'simple-date-formatter-util-5' @ 1.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2026-08-03T13:33:34+00:00","modifiedAt":"2026-08-04T22:05:15.1223268+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-util-5","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-util-5/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11501","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11501","identifiers":["MAL-2026-11501"]},"retained":false,"historicalAffected":[]}],"coverage":[]}