MAL-2026-11191

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zer0code/MAL-2026-11191.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11191
Aliases
  • GHSA-frrq-7m67-mgxg
Published
2026-07-29T10:28:01Z
Modified
2026-08-05T06:36:22.561953627Z
Summary
Malicious code in zer0code (npm)
Details

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

Source: amazon-inspector (8f11a39a2be94308e553081d26ba71cf416858053c84e52674666ba6f4acbf0f)

Package ships Python files under skills/pentesting.py and tools/security/exploit.py that reference ping commands and shell-spawning primitives (require('child_process'), exec("/bin/sh"), spawn("/bin/bash")). Pattern matches fired on these constructs, but the files are Python source inside an offensive-security/pentesting toolkit — the shell and ping references are consistent with the package's stated security-tooling purpose rather than a hidden install-time exfiltration or dropper path. There is no evidence of lifecycle scripts (preinstall/install/postinstall) invoking these code paths, no hardcoded attacker C2, no credential or env-var scraping, and no install-time network beacon. Routing to human review so a reviewer can confirm the package's purpose and whether the offensive tooling, when invoked by a user, behaves as documented.

Source: ghsa-malware (9c32ce60d9046922be517ee944ce40573a0679fa0dcbef26fe8d97916281ffef)

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": [
        {
            "import_time": "2026-07-30T03:51:56.477297Z",
            "modified_time": "2026-07-29T10:28:01Z",
            "sha256": "9c32ce60d9046922be517ee944ce40573a0679fa0dcbef26fe8d97916281ffef",
            "source": "ghsa-malware",
            "id": "GHSA-frrq-7m67-mgxg",
            "versions": [
                "0.2.0"
            ]
        },
        {
            "modified_time": "2026-08-05T05:20:14Z",
            "source": "amazon-inspector",
            "sha256": "8f11a39a2be94308e553081d26ba71cf416858053c84e52674666ba6f4acbf0f",
            "import_time": "2026-08-05T06:00:30.117330638Z",
            "id": "IN-MAL-2026-013005",
            "versions": [
                "0.2.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / zer0code

Package

Affected ranges

Affected versions

0.*
0.2.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zer0code/MAL-2026-11191.json"
indicators
{
    "evidence_files": [
        {
            "tlsh": "a5229653ea610ef246cf835ae8a75361a73c410b35701c18b9ec06dc5f894ec96777a6",
            "sha256": "7ca08edf52ef5cd31f69d046e4664f37558c9228010c233505e5c1cacd538ece",
            "path": "zer0code/skills/pentesting.py"
        },
        {
            "tlsh": "b192c520c467ac6257a2a12de05ad098b72475472f007da5fbdc879c4f4de6f62b07bc",
            "sha256": "ef8ee5e84c0bae9b96fd0e9f9a3d64830a716e5f5dfb021320f890c6614f8277",
            "path": "zer0code/tools/security/exploit.py"
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]