Malicious code in gen-ai-opt-in (npm)
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
osv · MAL-2026-6761
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3653831a01d3068b12688a9f6ae11926a1b1edde27f8f37a6c48f3f0dba99231) On npm install, postinstall.js executes automatically and collects installer host identifiers (os.hostname(), os.userInfo().username) plus public IP/geo data fetched from ip-api.com (city, region, country, ISP, org), then transmits them as query-string parameters over plain HTTP to a hardcoded Burp Collaborator subdomain at p1r2d74iwjk057raam6myf7e258wzkt8i.oastify.com. The package ships no legitimate functionality — the tarball's only effect is the recon beacon. The name 'gen-ai-opt-in' combined with version 99.0.2 (an artificially inflated version number) and an empty description matches the dependency-confusion attack shape, where a public package is published to override an organization's internal package of the same name so that a compromised internal build resolves the attacker's copy and executes the postinstall. ## Source: ghsa-malware (371ed0f5f59f881d5fa2a296e7e3d44833f1ae46129da09714cab2edadcf440a) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it. ## Source: ossf-package-analysis (f727264d43e45f813a3ce1cc7cb7e59a763ea8a59f93a9af3593bdb40c8bb47b) The OpenSSF Package Analysis project identified 'gen-ai-opt-in' @ 99.0.2 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity.
- Source published
- 5 Jul 2026 20:25:46 UTC
- Source modified
- 8 Jul 2026 17:16:46 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.