{"id":"MAL-2026-10731","revision":"cc8bc81a109e4ed4945bed959025fe75","records":[{"revision":"cc8bc81a109e4ed4945bed959025fe75","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10731","aliases":[],"title":"Malicious code in date-utils-light (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (99bd644fd9a59518d6f77e8d76c077ffef8a2afdc7ae2b00a6ca87299879a671)\nPackage presents itself as a trivial date-formatting utility (index.js exports a one-line ISO date helper) but ships a postinstall.js that runs automatically on npm install. The script shells out via child_process.exec to collect host reconnaissance — hostname, whoami, id, uname, pwd, /etc/os-release, HOME, SHELL, container indicators, /proc/1/cgroup, network interfaces, and running process list — base64-encodes the data, and sends it via HTTP GET to a hardcoded Burp Collaborator subdomain at pwpzhsrbtvmfqrqr7onqcwnrcii960up.oastify.com/ing?d=<base64>. The stated purpose of the package does not require any shell execution or network activity; the install-time reconnaissance beacon is unrelated to the advertised functionality.\n","state":0,"publishedAt":"2026-07-16T18:37:41+00:00","modifiedAt":"2026-07-16T19:19:44.7959379+00:00","affected":[{"ecosystem":"npm","name":"date-utils-light","ranges":[],"versions":["1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/date-utils-light/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10731","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10731","identifiers":["MAL-2026-10731"]},"retained":false,"historicalAffected":[]}],"coverage":[]}