{"id":"MAL-2026-12201","revision":"b69492de3eb949d5934a169920839347","records":[{"revision":"b69492de3eb949d5934a169920839347","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12201","aliases":[],"title":"Malicious code in simple-date-formatter-util-12 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cdd747d615be16a4af8508b6151d829c49f8ba2e1d045b8c1cbc9d8f2f219de9)\npackage.json declares a postinstall script that, on npm install, collects installer reconnaissance (id, hostname, uname, cgroups, docker.sock, Linux capabilities, the Kubernetes service-account token at /var/run/secrets/kubernetes.io/serviceaccount/token, mounts, network config, ARP, PID1 cmdline, and environment variables filtered for kube/aws/token/secret/key/pass/role/region/cluster) and POSTs the collected data over plain HTTP to a Project Discovery interact.sh subdomain (http://ycrqyyjhwepdmhjifyccxss1hrks8lcd2.oast.fun/escinfo). The tarball also ships postinstall.js which enumerates the user's ~/.ssh directory and POSTs the contents plus username/platform to a hardcoded IP (https://124.221.154.135/post). The advertised functionality is a one-line formatDate wrapper around toLocaleDateString in index.js, which serves only as a cover for the malicious install-time payload.\n","state":0,"publishedAt":"2026-08-05T08:49:14+00:00","modifiedAt":"2026-08-05T10:06:21.4925047+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-util-12","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-util-12/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12201","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12201","identifiers":["MAL-2026-12201"]},"retained":false,"historicalAffected":[]}],"coverage":[]}