Skip to main content
MalwarePublished

commandor-lib (npm) · Malicious Code

Affects commandor-libSource GCVE Database

0

Malicious package : remove commandor-lib and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:31 UTC

Classification

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

ProductAffectedFixed in
npmcommandor-libAffected
  • =1.0.0
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.

References

Community reviews

Loading reviews…