registry  /  gen-ai-opt-in  /  99.0.1

gen-ai-opt-in@99.0.1

OSV Malicious Advisory

scanned 2h ago · by OpenSSF/OSV

OpenSSF/OSV advisory MAL-2026-6761 confirms this npm version as malicious. 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...

Advisory
MAL-2026-6761
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in gen-ai-opt-in (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms gen-ai-opt-in@99.0.1 as malicious (MAL-2026-6761): Malicious code in gen-ai-opt-in (npm)

Source & flagged code

0 flagged
No flagged code excerpts are attached to this scan.

Findings

1 High
HighOsv Malicious Advisory