{"id":"MAL-2026-12200","revision":"48898a6978334e319f53ce66e92ecfc9","records":[{"revision":"48898a6978334e319f53ce66e92ecfc9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12200","aliases":[],"title":"Malicious code in simple-date-formatter-util-11 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (53f8a19e2cff3bcaf070316f16650d8c1af6714f4c44db56971299ef01c16a25)\nPackage advertises itself as a trivial date-formatting utility (index.js exports a one-line formatDate wrapper) but ships a package.json postinstall hook that runs on `npm install` and executes a shell one-liner harvesting installer identity (id, hostname, uname), container and Kubernetes indicators (/proc/1/cgroup, docker.sock, /var/run/secrets/kubernetes.io/serviceaccount/token), capabilities, mounts, network configuration, and environment variables filtered by kube|aws|token|secret|key|pass|role|region|cluster|node|service|container. The aggregated output is POSTed to http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo, an interact.sh/OAST-style callback host. The tarball additionally ships postinstall.js, which reads ~/.ssh directory contents and POSTs a JSON payload (SSH key filenames, username, platform) to a hardcoded IP 124.221.154.135:443/post. The advertised purpose does not match the install-time behavior.\n","state":0,"publishedAt":"2026-08-05T08:49:06+00:00","modifiedAt":"2026-08-05T10:06:20.5132933+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-util-11","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-util-11/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12200","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12200","identifiers":["MAL-2026-12200"]},"retained":false,"historicalAffected":[]}],"coverage":[]}