MAL-2026-20303

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/identity-poc/MAL-2026-20303.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20303
Published
2026-11-20T18:56:11Z
Modified
2026-11-20T19:15:08Z
Summary
Malicious code in identity-poc (npm)
Details

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

Source: amazon-inspector (fa4ad4604b2f07da32d5dd7355090d0941d2b03799c5ccd4e6040d2638b5b63c)

On require() or CLI invocation, a top-level IIFE in the package's main entry unconditionally runs id, whoami, and ls -la, reads /etc/passwd, and POSTs the collected report to a URL supplied as process.argv[2]. The payload emits an IDENTITY_POC_EXECUTED marker and carries a generic 'Controlled execution verification' description, matching the shape of a dependency-confusion / bug-bounty collaborator proof-of-concept that proves code execution on an installer's host and exfiltrates host identity and local file contents to an attacker-chosen destination. Because the exfiltration fires at load time, any environment that installs and loads this package name — whether as an intended dependency or via dependency-confusion resolution against an internal package of the same name — executes shell reconnaissance and leaks host data off-box.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022953",
            "import_time": "2026-11-20T19:10:12.035489985Z",
            "modified_time": "2026-11-20T18:56:11Z",
            "sha256": "fa4ad4604b2f07da32d5dd7355090d0941d2b03799c5ccd4e6040d2638b5b63c",
            "source": "amazon-inspector",
            "versions": [
                "1.0.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / identity-poc

Package

Affected ranges

Affected versions

1.*
1.0.3

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "cc468b1ece6fd35182e1f9d8a8e5d7d142662d8adcb0e8a6d5e245d3c177847a",
            "tlsh": "ba41421061f53a3413a674d0e15b641070d7d113bc2aec90b6de03992fcc96593b3bf9"
        }
    ],
    "package_integrity": [
        {
            "filename": "identity-poc-1.0.3.tgz",
            "hashes": {
                "sha1": "a1c5e6de0ef09ab9c45a8399556dd5392996f52f",
                "sha512_sri": "sha512-SmXKx1eYq68lBaLEuthBQ9pO2TmZxmISkzp6t3bzbJJ+RdzxqkaHSd/Y4yqp8mYF0pjMqEI6G3QbHDt0dtAE4A=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/identity-poc/MAL-2026-20303.json"