commandor-lib (npm) · Malicious Code
Affects commandor-libSource GCVE Database
Malicious package : remove commandor-lib and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:31 UTC
Malicious package
Published to npm · OSV MAL-2026-14234
What to do
Remove commandor-lib from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmcommandor-lib | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'commandor-lib' version 1.0.0 contains malicious code in its postinstall.js script that executes automatically during installation. This script spawns subprocesses and sends HTTP POST requests to an external endpoint, behavior consistent with unauthorized data exfiltration. There is no documented legitimate purpose for this network activity in the package. No patch or remediation information is currently available.