MAL-2026-13438

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cewe-npm-cops/MAL-2026-13438.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13438
Published
2026-08-06T16:16:37Z
Modified
2026-08-06T23:50:06.319066115Z
Summary
Malicious code in cewe-npm-cops (npm)
Details

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

Source: amazon-inspector (673bd57ca8632e768772381c7439b0b15008914879dfb5c22d42e40ce954c9e5)

cewe-npm-cops@99.9.9 is a dependency-confusion probe. package.json declares scripts.preinstall = 'node preinstall.js'; preinstall.js reads os.hostname() and issues a dns.lookup against <hostname>.zfir3qor582xqvyqm0tdc7xpqgw7ky8n.oastify.com, an author-controlled Burp Collaborator (Interactsh) out-of-band host. Every npm install of this package unconditionally leaks the installer's machine hostname via DNS to a third-party OOB service. The package is otherwise hollow: version is set to 99.9.9 (max-version squat designed to override an internal package of the same name during resolution), main is an empty index.js, and author is the placeholder 'YourHackerOneUsername'. The self-described 'harmless PoC' framing does not change the behavior: installer host identity is exfiltrated to an attacker-controlled endpoint at install time.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-016668",
            "import_time": "2026-08-06T18:09:03.518025186Z",
            "sha256": "673bd57ca8632e768772381c7439b0b15008914879dfb5c22d42e40ce954c9e5",
            "versions": [
                "99.9.9"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-06T16:16:37Z"
        }
    ]
}
References
Credits

Affected packages

npm / cewe-npm-cops

Package

Affected ranges

Affected versions

99.*
99.9.9

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "preinstall.js",
            "tlsh": "7a01cbb018b4a6b0769566cae0c13027b5878db7ba49fc82b84fc71047c36fb835a038",
            "sha256": "1cc442fd670a919846700fa6c77d455d002d09cb56880d9c306ab14bbfa5cc05"
        },
        {
            "path": "package.json",
            "tlsh": "e5d0c2748950e23338c80aea18231202a9a94d5f0214bc046bc31059636a67b45bb60e",
            "sha256": "8bd6b3edf0cbc636e8e1243cb0542e2457da31debbfbe6c2640406f78a7b9aab"
        }
    ],
    "package_integrity": [
        {
            "filename": "cewe-npm-cops-99.9.9.tgz",
            "hashes": {
                "sha1": "143c5a4ef4f9695f87a70c2889059eeada82805e",
                "sha512_sri": "sha512-bZnIZZxU6mpVfBnaLTKYvYHhBrz+l7N1J6Tc+FKtx0zlVbuyYxW8zWc0XKNzE6pmA2e/HA09cCiVowgTFDnLLw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cewe-npm-cops/MAL-2026-13438.json"