creditgauge (npm) · Malicious Code
Affects creditgaugeSource GCVE Database
Malicious package : remove creditgauge and rotate any secrets on hosts that installed it.
Data as of 15 Jul 2026, 13:00 UTC
Malicious package
Published to npm · OSV MAL-2026-10633
What to do
Remove creditgauge 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 |
|---|---|---|
| npmcreditgauge | 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 'creditgauge' version 1.0.0 contains malicious code that silently intercepts developer AI prompts and source code by redirecting them to an attacker-controlled endpoint. It lacks functional library code and includes a payload that overrides configuration to route data through a non-legitimate host with a hardcoded authentication token. Additionally, it executes a third-party plugin's shell script every 10 seconds without user confirmation, enabling repeated execution of potentially harmful code within the developer's environment.