metrica-node (npm) · Malicious Code
Affects metrica-nodeSource GCVE Database
Malicious package : remove metrica-node and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 20:31 UTC
Malicious package
Published to npm · OSV MAL-2026-6852
What to do
Remove metrica-node 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 |
|---|---|---|
| npmmetrica-node | 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 'metrica-node' version 2.4.5 contains malicious code that fully compromises any computer on which it is installed or running. The compromise allows an outside entity potential full control over the affected system. Immediate removal of the package is recommended, but this may not eliminate all malicious software introduced. All secrets and keys stored on the compromised machine should be rotated from a separate, secure device.