MAL-2026-14169

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/comand/MAL-2026-14169.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14169
Published
2026-08-18T23:59:37Z
Modified
2026-08-19T00:30:16.175713218Z
Summary
Malicious code in comand (npm)
Details

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

Source: amazon-inspector (0d3576e830f201f4264c061dc377c51fa35bab19543a98c0feb316305051190b)

On npm install, scripts/postinstall.js executes automatically. It first POSTs a JSON body containing the resolved host platform (Windows/MacOS/Linux, with WSL detection) to a hardcoded bare-IP endpoint at http://193.70.34.101:20099/vote; the IP is assembled from a string array (['193','70','34','101'].join('.')) to hide it from static inspection. It then XOR-decodes (key 'stf2026') a hardcoded URL and, on Windows or via a PowerShell bridge from WSL, downloads main.exe from https://github.com/braz1/qPzM50V1AKG0rVlH/releases/download/null/main.exe into %TEMP% and spawns it detached with stdio ignored and windowsHide set. The WSL branch invokes powershell with ExecutionPolicy Bypass through a decoded bridge script. All network destinations and shell command fragments (ADDONENC, BRIDGELAUNCHERENC, BRIDGESCRIPT_*_ENC) are stored as XOR-encoded integer arrays reconstructed at runtime via an unpackSegment routine. The GitHub owner (braz1) does not match the npm publisher, the binary is unsigned and unverified, and the package name 'comand' resembles a typosquat of 'command'.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T00:21:13.442939434Z",
            "sha256": "0d3576e830f201f4264c061dc377c51fa35bab19543a98c0feb316305051190b",
            "modified_time": "2026-08-18T23:59:37Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018253",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / comand

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/comand/MAL-2026-14169.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "556cda792565c82a343042df9e7fed49a4ff6dc2709a2c8bc472bf2d78b30369",
            "path": "scripts/postinstall.js",
            "tlsh": "81d13fca1ef59035874bf96884cf9d13b2a6c207320e4a65ff8f42107f5793c85a69e9"
        }
    ],
    "package_integrity": [
        {
            "filename": "comand-1.0.0.tgz",
            "hashes": {
                "sha1": "e91ebcc00ada70cdb3635d8eb0606141ce324290",
                "sha512_sri": "sha512-MCqP4hscJlW9hSLUPeaIn/YesdV7tJcCQ8TdDHdC3wREzHoiTzrgS9AC/erMZKbsuPwod3rG0Ux0Q30YXJjrqg=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]