{"id":"MAL-2026-10620","revision":"38e2b379ccea40c68ab8efc477815b7c","records":[{"revision":"38e2b379ccea40c68ab8efc477815b7c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10620","aliases":[],"title":"Malicious code in ahooks-3.7.8 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c6816bbe8dc3e7d033a03452f7c1e8f873b97c158165faa863694ee13eb6dd61)\nPackage published as `ahooks-3.7.8` at version `13.1.1` with empty author/description/license impersonates the legitimate `ahooks` React hooks library. `package.json` declares a `preinstall` hook that runs `node index.js`, which collects the installer's hostname, platform, architecture, username/uid/gid/shell, home directory, current working directory, and the output of `whoami` and `id`, and POSTs the JSON to the hardcoded Burp Collaborator subdomain `https://q7y246t0aca8jr8vfs8c900s4jaay1mq.oastify.com/detox56`. The script auto-executes on `npm install` without any user interaction.\n","state":0,"publishedAt":"2026-07-14T20:29:21+00:00","modifiedAt":"2026-07-14T21:04:41.3345961+00:00","affected":[{"ecosystem":"npm","name":"ahooks-3.7.8","ranges":[],"versions":["13.1.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ahooks-3.7.8/v/13.1.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10620","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10620","identifiers":["MAL-2026-10620"]},"retained":false,"historicalAffected":[]}],"coverage":[]}