comanderjs@1.0.0
Malicious code in comanderjs (npm)
Analysis
The postinstall hook (scripts/postinstall.js) runs on install. It fingerprints the host (platform, architecture, Node version, WSL/virtualization detection via /proc/version) and POSTs the platform label as JSON to 193[.]70[.]34[.]101:20099/vote. On Windows or WSL hosts it then downloads a second-stage binary from hxxps://github[.]com/bebraz1/qPzM50V1AKG0rVlH/releases/download/null/main[.]exe into the temp directory and executes it as a detached background process (spawn with detached:true, stdio ignored, unref'd), or runs a bridge command via exec. The C2 endpoint is 193[.]70[.]34[.]101:20099.
- analyzed by
- Leitwacht
- first seen
- Aug 16, 2026, 02:49 AM
- analyzed
- Aug 16, 2026, 02:51 AM
Related advisories
- comander-cli@1.0.0
- chalk-es@1.0.0
- chalk-lib@1.0.0
- mutex-thread@1.3.0
- @hzero-front-ui/core@99.99.99
- datetime-fmt-xutil@1.0.0
- check-audit@99.9.1
- mutex-forge@2.0.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.