{"id":"MAL-2026-15553","revision":"d9fdea27e6114fdaaae7c66f267dd21a","records":[{"revision":"d9fdea27e6114fdaaae7c66f267dd21a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15553","aliases":[],"title":"Malicious code in es6-migrator (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (daeec82833ba2519ba974153de0fb545f6b5c088ed2a8145680ede73c5b0b9b8)\nThe package's declared preinstall script runs beacon.js on npm install. The beacon unconditionally collects installer-side identity fields (hostname, OS username, current working directory, INIT_CWD, a derived context ID, runtime signature, and detected CI provider), base32-encodes them into custom X-Bug-Bounty-* request headers, and issues a plain-HTTP GET to a hardcoded bare-IP endpoint at http://45.76.249.245/beacon/QHHXFUL-YIB6g0kLLjMIDF_DFSRl2FdD/es6-migrator/1.0.1. If the HTTP callback fails or times out, beacon.js falls back to DNS out-of-band exfiltration, encoding each identity field into subdomains under seven preconfigured *.oob.asm5.net hosts and issuing A/AAAA/TXT/MX/CNAME/NS/SOA queries to tunnel the same data. The package's own metadata additionally identifies it as a dependency-confusion proof-of-concept targeting the name es6-migrator on the public registry, so any organization whose internal build resolves this name from the public registry is beaconed at install time. The bare-IP HTTP endpoint, the unrelated DNS-tunnel destination (asm5.net), the plain-HTTP transport, and the fallback design to defeat egress filtering are all inconsistent with any legitimate maintainer telemetry, and the 'authorized bug bounty' self-label in the package description is author-controlled and does not remove the install-time exfiltration.\n","state":0,"publishedAt":"2026-08-29T02:13:09+00:00","modifiedAt":"2026-09-08T22:45:04.7474169+00:00","affected":[{"ecosystem":"npm","name":"es6-migrator","ranges":[],"versions":["1.0.1","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/es6-migrator/v/1.0.1","https://www.npmjs.com/package/es6-migrator/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15553","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15553","identifiers":["MAL-2026-15553"]},"retained":false,"historicalAffected":[]}],"coverage":[]}