MAL-2026-5718

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ect-472839-ctf/MAL-2026-5718.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5718
Aliases
  • GHSA-9j3j-4vjh-6h88
Published
2026-06-12T21:31:07Z
Modified
2026-06-16T00:01:51.231497054Z
Summary
Malicious code in ect-472839-ctf (npm)
Details

-= Per source details. Do not edit below this line.=-

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "1.0.0"
            ],
            "sha256": "a67248cb7373817da18e0edf4a019e2e6c9ded239e93a2e477ac168f7f45eeaa",
            "modified_time": "2026-06-12T21:31:07Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-006251",
            "import_time": "2026-06-12T21:38:19.583638128Z"
        },
        {
            "sha256": "969a8abcc536c129218d590432b2f1e33cedce11325d78827839fbaf1f1b35fa",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2026-06-15T23:34:02Z",
            "source": "ghsa-malware",
            "id": "GHSA-9j3j-4vjh-6h88",
            "import_time": "2026-06-15T23:52:17.795831048Z"
        }
    ]
}
References
Credits

Affected packages

npm / ect-472839-ctf

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "ect-472839-ctf-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-WYcIK1kdPyiHk1Ibjb1ktlLcP3GSAvr8EvL/91hPzVdf4TYOAfKigzKKRN2AaDV6hcIcsKra7EI8w7+Unl5/4g==",
                "sha1": "39a3de2162ffc4b858998cfe6b0c801d800fb746"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "ffc70b06e46b3e824cc8886362c0a7d50969220216d5b94993b00f3be13ac852",
            "path": "index.js",
            "tlsh": "abd022d0e3f68384a5b6e388922946339023d008b00fdda0d7c802373f6206059020f4"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ect-472839-ctf/MAL-2026-5718.json"
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]