terminal-kleur (npm) · Malicious Code
Affects terminal-kleurSource GCVE Database
Malicious package : remove terminal-kleur and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:30 UTC
Malicious package
Published to npm · OSV MAL-2025-48950
What to do
Remove terminal-kleur 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 |
|---|---|---|
| npmterminal-kleur | 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 terminal-kleur contains malicious code that executes arbitrary commands from an attacker-controlled domain. Systems with this package installed should be considered fully compromised, and all secrets and keys on those systems must be rotated immediately. Removal of the package alone may not eliminate all malicious software introduced by it.