MAL-2026-5718

    Dashboard / Malicious Package / MAL-2026-5718

    MAL-2026-5718

    Published: 12 Jun 2026Last Modified: 16 Jun 2026Aliases: 
    GHSA-9j3j-4vjh-6h88

    Summary: Malicious code in ect-472839-ctf (npm)

    Details: Source: amazon-inspector (a67248cb7373817da18e0edf4a019e2e6c9ded239e93a2e477ac168f7f45eeaa) package.json declares a preinstall hook (`"preinstall": "node index.js"`) that auto-executes on `npm install`. index.js issues an HTTP GET to the hardcoded bare IP `10.107.121.85:8000` at path `/ping_472839_ctf`. The unique token in the URL path makes the request itself the exfiltrated signal — it confirms to the operator of that endpoint that the package executed inside the installer's environment, leaking the installer's source IP and the fact that code execution succeeded. The package advertises no functionality that would justify a phone-home, and the destination is a private-range IP rather than any documented service. This is the canonical dependency-confusion / CTF probe shape, and the same mechanism would deliver any payload an attacker placed in index.js. Source: ghsa-malware (969a8abcc536c129218d590432b2f1e33cedce11325d78827839fbaf1f1b35fa) 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: ect-472839-ctf

    Purl: pkg:npm/ect-472839-ctf

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.0
    MAL-2026-5718 | CVE-DB