comander-lib@1.0.0
Malicious code in comander-lib (npm)
Analysis
The postinstall hook (scripts/postinstall.js) beacons host information to a remote C2 and, on Windows/WSL hosts, downloads and executes a second-stage binary. It POSTs a JSON payload with the host platform/architecture/node version to 193[.]70[.]34[.]101:20099/vote. On Windows and WSL it XOR-decodes an embedded download URL (key 'stf2026'), fetches a binary into %TEMP%\main.exe, and launches it as a detached background process (spawn with detached:true, stdio ignored, windowsHide:true); on WSL it also runs a shell bridge command via exec() to install the addon. The dropped main.exe runs independently of the installer.
- analyzed by
- Leitwacht
- first seen
- Aug 16, 2026, 02:50 AM
- analyzed
- Aug 16, 2026, 03:01 AM
Related advisories
- typscript-core@1.0.0
- typescipt-cli@1.0.0
- loadashjs@1.0.0
- lodahs-cli@1.0.0
- commandor-core@1.0.0
- ladash-cli@1.0.0
- comanderjs@1.0.0
- comander-cli@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.