{"id":"MAL-2026-12326","revision":"36f4a304d92940fd86104abd06d7f6d8","records":[{"revision":"36f4a304d92940fd86104abd06d7f6d8","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12326","aliases":[],"title":"Malicious code in @offa/offa-uwk (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3a04489d4763fb48f4c5bc4ea7e99802b21a412ba55900ae7bf411070e2a42d8)\npackage.json declares a postinstall hook that runs index.js. On install, index.js collects os.hostname(), os.userInfo().username, process.cwd(), and the entire process.env object, then POSTs the JSON payload via https.request to the hardcoded endpoint https://e6b10849-38dc-4280-a8e3-72ab39cfaf65.webhook.site/collect. Dumping the whole process environment on install ships every environment variable on the installer's machine — commonly containing AWS/GCP/GitHub/npm and other tokens — to an anonymous attacker-controlled webhook. A preinstall hook additionally writes a marker file to the hardcoded absolute path /home/OFFA/flag.\n","state":0,"publishedAt":"2026-08-05T12:57:06+00:00","modifiedAt":"2026-09-01T11:30:32.8531325+00:00","affected":[{"ecosystem":"npm","name":"@offa/offa-uwk","ranges":[],"versions":["999.0.1","999.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@offa/offa-uwk/v/999.0.1","https://www.npmjs.com/package/@offa/offa-uwk/v/999.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12326","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12326","identifiers":["MAL-2026-12326"]},"retained":false,"historicalAffected":[]}],"coverage":[]}