MAL-2026-14173

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

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

Source: amazon-inspector (3532b684cf99d23e6ab89c60fef9f2af5b1bfe36f4d793fcaf6bcf3f718903ab)

The postinstall script in commandor-core@1.0.0 (scripts/postinstall.js) contains XOR-obfuscated byte arrays that decode at runtime (unpackSegment with key 'stf2026') to a download URL at giphub.com — a typosquat of github.com — pointing at https://giphub.com/bebraz1/PzM50V1AKG0rVlH/releases/download/null/main.exe. On Windows the script fetches main.exe into %TEMP% and spawns it detached; on WSL it decodes and invokes a PowerShell bridge command to execute the fetched binary on the Windows host. The same postinstall unconditionally POSTs a JSON body describing the host platform to a hardcoded bare-IP endpoint at http://193.70.34.101:20099/vote (assembled from a four-element array to defeat literal-IP scans) over plain HTTP. The main entry index.js is empty; the package provides no library functionality, and the sole effect of npm install commandor-core is beaconing the host and dropping and executing an attacker-controlled Windows executable.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-018243",
            "import_time": "2026-08-19T00:21:12.403369384Z",
            "modified_time": "2026-08-18T23:58:12Z",
            "sha256": "3532b684cf99d23e6ab89c60fef9f2af5b1bfe36f4d793fcaf6bcf3f718903ab",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / commandor-core

Package

Name
commandor-core
View open source insights on deps.dev
Purl
pkg:npm/commandor-core

Affected ranges

Affected versions

1.*
1.0.0

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": "scripts/postinstall.js",
            "sha256": "4f512d415af57f24a4bddc03c85da557c1b8c78ad054cadca3a9b73e4442b034",
            "tlsh": "17d13fc61ef59035874bf96884cf9d13b2a6c207330e4a65fb8f42107f5792c85a69d6"
        }
    ],
    "package_integrity": [
        {
            "filename": "commandor-core-1.0.0.tgz",
            "hashes": {
                "sha1": "c0e0ed6c21a3ee41da28578a7639dd90ff7f64cf",
                "sha512_sri": "sha512-eE14osp4ygQ5yf9VS9E9JBDUkGCBwk2YaiRbw1FoTOtHe4/Ld+1omZbbGyboo2b/FZfwgyUTahiMxCm+TaWHGw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/commandor-core/MAL-2026-14173.json"