MAL-2026-12482

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tool-registry-scripts/MAL-2026-12482.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12482
Published
2026-08-05T13:02:45Z
Modified
2026-08-05T13:36:18.661850920Z
Summary
Malicious code in tool-registry-scripts (npm)
Details

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

Source: amazon-inspector (b635b8b6d257c079a0d0a9c06e37910b67f2e75d1e71dced264043624951ce06)

package.json declares a preinstall hook that runs index.js on npm install. index.js collects host identifiers (os.hostname(), os.userInfo(), homedir, DNS servers, cwd, package.json contents) and reads /etc/passwd and /etc/hosts, then POSTs the resulting JSON over HTTPS to the hardcoded out-of-band collaborator subdomain lsh5x8dwumsekllw37kacgaqxh3cr2fr.oastify.com. The destination is a Burp Collaborator OOB endpoint unrelated to any documented package purpose, and execution is automatic at install time.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T13:02:45Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-014861",
            "import_time": "2026-08-05T13:08:51.641348023Z",
            "sha256": "b635b8b6d257c079a0d0a9c06e37910b67f2e75d1e71dced264043624951ce06",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / tool-registry-scripts

Package

Name
tool-registry-scripts
View open source insights on deps.dev
Purl
pkg:npm/tool-registry-scripts

Affected ranges

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "evidence_files": [
        {
            "tlsh": "00411199a2d917330de210c06a0c70842359fa777159a8d076cf42969f869f8b7326f3",
            "sha256": "087dc387251ffb892f0a24089eca2cbe6ec3c358d6e462e66dc36122609a18e0",
            "path": "index.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tool-registry-scripts/MAL-2026-12482.json"
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]