{"id":"MAL-2026-6990","revision":"1ce847d95d08495eb372bb1a5ef5867e","records":[{"revision":"1ce847d95d08495eb372bb1a5ef5867e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6990","aliases":[],"title":"Malicious code in ai-gen-ai-opt-in (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a34dae027378ca986d5e99aa7c9ffc5efe590e4697e1255970ce713f6d309e74)\nai-gen-ai-opt-in@99.0.0 declares a postinstall hook (postinstall.js) that runs automatically on npm install. The script collects the installer's hostname (os.hostname()), OS username (os.userInfo().username), and public IP/geo/ISP data (fetched from ip-api.com over HTTPS), then encodes those values and issues a DNS lookup for a subdomain of an attacker-controlled Burp Collaborator-style callback host (p1r2d74iwjk057raam6myf7e258wzkt8i.oastify.com). This is a covert out-of-band DNS exfiltration channel that leaks installer identity and location data to a third party on every install, with no legitimate documented purpose.\n","state":0,"publishedAt":"2026-07-08T16:21:20+00:00","modifiedAt":"2026-07-08T17:16:44.9081218+00:00","affected":[{"ecosystem":"npm","name":"ai-gen-ai-opt-in","ranges":[],"versions":["99.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ai-gen-ai-opt-in/v/99.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6990","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6990","identifiers":["MAL-2026-6990"]},"retained":false,"historicalAffected":[]}],"coverage":[]}