gen-ai-opt-in
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-jwrj-q2c7-8g47
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in gen-ai-opt-in (npm)
---
_-= 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:
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0