MAL-2026-6761

    Dashboard / Malicious Package / MAL-2026-6761

    MAL-2026-6761

    Published: 5 Jul 2026Last Modified: 8 Jul 2026Aliases: 
    GHSA-jwrj-q2c7-8g47

    Summary: Malicious code in gen-ai-opt-in (npm)

    Details: 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.

    Affected packages

    Package

    Name: gen-ai-opt-in

    Purl: pkg:npm/gen-ai-opt-in

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    99.0.2
    99.0.1
    99.0.0
    MAL-2026-6761 | CVE-DB