-= Per source details. Do not edit below this line.=-
comander-lib@1.0.0 is a typosquat of commander with an empty index.js and no native sources. Its scripts/postinstall.js runs automatically on npm install and performs two hostile actions. First, it POSTs the installer's platform label as JSON to a hardcoded bare-IP C2 at http://193.70.34.101:20099/vote, with the host built via array-join (['193','70','34','101'].join('.')) to hide the literal. Second, it XOR-decodes (key stf2026) an attacker-controlled github.com URL and fetches an executable to %TEMP%/main.exe, then spawns it detached with windowsHide:true on Windows. On WSL/virtualized Linux it XOR-decodes a PowerShell bridge command and invokes it to execute the same payload on the Windows host, escaping the Linux sandbox. Addon URL, PowerShell launcher, and script fragments are all stored as XOR-encoded byte arrays decoded at runtime, concealing the destination and command surface. The package advertises itself as a native-addon mirror but ships no addon code, confirming a pure dropper cover story.
{
"malicious-packages-origins": [
{
"import_time": "2026-08-19T00:21:12.158540691Z",
"sha256": "19734d8bfb929b0c1049b6220271fabaa91603506cdcb6424e67988519da9a6e",
"modified_time": "2026-08-18T23:57:46Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-018240",
"versions": [
"1.0.0"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/comander-lib/MAL-2026-14171.json"
{
"evidence_files": [
{
"sha256": "501f55031e612035020ef78940d5dc8ae7e740511c18a3a5270bf2b8b9c24074",
"path": "scripts/postinstall.js",
"tlsh": "d6d130c61ef5a035874bf96884cf9d13b2a6c207330e4a65ff8f42107f5792c85a69d6"
}
],
"package_integrity": [
{
"filename": "comander-lib-1.0.0.tgz",
"hashes": {
"sha1": "491d99fa83e8311cc32e95784b7bc54b74204ad1",
"sha512_sri": "sha512-TW1DTke01wSBc2J1xFcW972cQJeibwNK7Z9thHi0HGIqTXOBrFsnPlmC3ZsjSNyly8La+m3q3EB+yHBFEj7h/Q=="
}
}
]
}
[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]