{"id":"MAL-2026-12206","revision":"65acfa9a9ec04b2b8e6a77f67cdf5388","records":[{"revision":"65acfa9a9ec04b2b8e6a77f67cdf5388","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12206","aliases":[],"title":"Malicious code in simple-date-formatter-util-8 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (28db20339e88b1f37da250a38c838eae62b32419a4c36e806b7c6367671f064c)\npackage.json declares a postinstall lifecycle script that runs curl against the hardcoded bare-IP endpoint http://124.221.154.135/pre, passing the installer's hostname and username as query parameters ($(hostname), $(whoami)). The package presents itself as a trivial date-formatting utility, a purpose that has no need for network I/O at install time. The behavior fires automatically on npm install and leaks installer host identity to a non-first-party attacker-controlled endpoint.\n","state":0,"publishedAt":"2026-08-05T08:49:33+00:00","modifiedAt":"2026-08-05T10:06:22.9802694+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-util-8","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-util-8/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12206","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12206","identifiers":["MAL-2026-12206"]},"retained":false,"historicalAffected":[]}],"coverage":[]}