gear-composer (npm) · Malicious Code
Affects gear-composerSource GCVE Database
Malicious package : remove gear-composer and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 13:57 UTC
Malicious package
Published to npm · OSV MAL-2026-14299
What to do
Remove gear-composer 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 |
|---|---|---|
| npmgear-composer | 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 gear-composer version 1.0.126 contains malicious code that executes during installation. It includes a postinstall lifecycle script that performs host identification and outbound network communication. The package implements secret scanning and exfiltration mechanisms, decoding base64-encoded content and credentials, and sending collected data to external services such as Discord and HuggingFace. This behavior indicates an active credential harvesting and covert data relay operation embedded within what appears to be a normal build tool.