{"id":"MAL-2026-14275","revision":"e2b94cdafaf1445a95b6dbbe3d7372db","records":[{"revision":"e2b94cdafaf1445a95b6dbbe3d7372db","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14275","aliases":[],"title":"Malicious code in minequest (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (54dfa76784b35d5d63fa89a85c071e83d21e55291871b40627c36015291f24a1)\npackage.json declares a postinstall hook running scripts/init.js, which chmod 0755's assets/thanks-amd64.elf and execFileSync's it on Linux x64 during npm install. The README states the package has 'no install hooks, no native binaries — just readable JavaScript', and scripts/build-elf.js is written to look like a fully-auditable ~250-byte hand-assembled ELF that only prints a thank-you message. The binary actually shipped in the tarball is a 33,648,788-byte Go-compiled executable (sha256 05b696…4420) containing Go runtime symbols, chacha8, and references to /proc/self/cgroup, /proc/self/mountinfo, and syscall filter strings — an artifact with no relationship to the shipped build script. The documented audit path is a cover story for an opaque native binary that executes with installer privileges on every Linux x64 npm install, with no description of its actual behavior available to the installer.\n","state":0,"publishedAt":"2026-08-19T07:35:07+00:00","modifiedAt":"2026-08-19T08:00:10.7052372+00:00","affected":[{"ecosystem":"npm","name":"minequest","ranges":[],"versions":["0.1.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/minequest/v/0.1.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14275","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14275","identifiers":["MAL-2026-14275"]},"retained":false,"historicalAffected":[]}],"coverage":[]}