MAL-2026-14221

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ssb-test-package/MAL-2026-14221.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14221
Published
2026-08-19T03:02:26Z
Modified
2026-08-19T03:30:20.351242028Z
Summary
Malicious code in ssb-test-package (npm)
Details

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

Source: amazon-inspector (086e13ef78d9987210a95cc9e70359d982cd9dbffa59d674d6f5ed3cb8f8a725)

ssb-test-package@1.0.0 is a dependency-confusion proof-of-concept. package.json declares preinstall: node poc.js, and poc.js runs unconditionally on npm install, collecting host reconnaissance (OS user, hostname, platform, arch, Node version, cwd, and non-internal network interface addresses) into a JSON proof object with rce_status: "CONFIRMED" written to /tmp/npm-dependency-confusion-rce-poc.json. The package has no legitimate library functionality: package.json declares main: index.js but index.js is absent from the tarball; only package.json and poc.js are shipped. The package self-identifies as a PoC for npm dependency confusion using a look-alike internal name. The current build writes reconnaissance data locally and does not exfiltrate over the network, but the preinstall hook demonstrates arbitrary code execution on the installer's host at install time.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T03:24:21.589000688Z",
            "sha256": "086e13ef78d9987210a95cc9e70359d982cd9dbffa59d674d6f5ed3cb8f8a725",
            "modified_time": "2026-08-19T03:02:26Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018319",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / ssb-test-package

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ssb-test-package/MAL-2026-14221.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "9bcfc945986ee3dde7fffa2352f8e46937b979b82498e2f767804b3370db42f5",
            "path": "poc.js",
            "tlsh": "911123610531327d29ea17d40521890113a3f592b00670fcf97c829d87d98dd11f7237"
        },
        {
            "sha256": "a1b707a93b3a54d6ee0a6e4d49c1297cf7bdc1dc19d4215171300ce3598ecec1",
            "tlsh": "8fe02b304c215c6324c09ea41c7724426166ce3b05097c0d77d7142c8ade37784ff21e",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "filename": "ssb-test-package-1.0.0.tgz",
            "hashes": {
                "sha1": "1a6f2ebff61c0f9ce814f334522b7d5412fbbf62",
                "sha512_sri": "sha512-yzcGLJYTl/qBAsvlyg7WfPpQsN15cGZdOglkWn4Ry24TBrHgipDQmfz0f1YCoce/kK0DX4jru96ED2EmvqviUQ=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]