{"id":"MAL-2026-12478","revision":"4201032e50ce447f9e8cd00c3704458c","records":[{"revision":"4201032e50ce447f9e8cd00c3704458c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12478","aliases":[],"title":"Malicious code in test22221 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e4a3401759b5c6d7effdafcbae6027657e3cf8f9aabf1f04dfc2fa9039b64e53)\npackage.json declares preinstall and postinstall lifecycle hooks that run on `npm install`. Both hooks curl a hardcoded bare-IP endpoint over plain HTTP at 54.37.234.136, sending the installer's username (`whoami`), hostname, current working directory, and a timestamp as query-string parameters to `http://54.37.234.136/voicemail`. The same lifecycle scripts also embed an unbounded `for((i=1;;i++))` loop that repeatedly curls incrementing paths on the same host with a 10-second sleep, functioning as a long-poll channel to the attacker-controlled endpoint during install. The destination is a bare IP with no relationship to any package publisher domain, and the collected fields are host-identification data with no legitimate purpose in an install hook.\n","state":0,"publishedAt":"2026-08-05T12:44:50+00:00","modifiedAt":"2026-09-24T09:30:16.6211461+00:00","affected":[{"ecosystem":"npm","name":"test22221","ranges":[],"versions":["2.2.7","2.2.8","2.2.9"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/test22221/v/2.2.7","https://www.npmjs.com/package/test22221/v/2.2.8","https://www.npmjs.com/package/test22221/v/2.2.9"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12478","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12478","identifiers":["MAL-2026-12478"]},"retained":false,"historicalAffected":[]}],"coverage":[]}