MAL-2026-5738

    Dashboard / Malicious Package / MAL-2026-5738

    MAL-2026-5738

    Published: 13 Jun 2026Last Modified: 18 Jun 2026Aliases: 
    GHSA-j5hw-j4vj-f38v

    Summary: Malicious code in postinstall-logger-7x9z (npm)

    Details: Source: amazon-inspector (6e89b603ffc718873a9d4c42167bf0c667c995cc2547bc9b99373ad4e9f0ca1e) On install, package.json's postinstall hook ("postinstall": "node run.js") triggers execution of bundled beacon scripts (beacon15.js and beacon_linux.js). These scripts pull in child_process, os, and http modules and issue outbound HTTP GET/POST requests carrying host identifiers including os.hostname() and os.platform(). The combination of automatic execution at install time, host-information collection, and outbound HTTP requests to a hardcoded destination is the canonical install-time exfiltration beacon shape. Any developer or CI system running `npm install` for this package will silently leak host data and execute code from the bundled scripts under the installing user's privileges. Source: ghsa-malware (e91d5c0b2a31907feedaf2f7c1e590bf3a18e7315f534c41cb684bdafe8c6a4f) 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.

    Affected packages

    Package

    Name: postinstall-logger-7x9z

    Purl: pkg:npm/postinstall-logger-7x9z

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.0
    MAL-2026-5738 | CVE-DB