node-sysmetrics (npm) · Malicious Code
Affects node-sysmetricsSource GCVE Database
Malicious package : remove node-sysmetrics and rotate any secrets on hosts that installed it.
Data as of 13 Jul 2026, 09:52 UTC
Malicious package
Published to npm · OSV MAL-2026-10216
What to do
Remove node-sysmetrics 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 |
|---|---|---|
| npmnode-sysmetrics | 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 node-sysmetrics npm package versions 1.0.0 and 1.0.1 contain malicious code that executes a post-install script dropping a persistent background process. This process polls the npm registry for base64-encoded commands, executes them on the host, and exfiltrates results by publishing throwaway npm packages. It also hijacks the installer's npm credentials by embedding a hardcoded auth token in the global npm config. Systems with this package installed should be considered fully compromised, and all secrets should be rotated from a separate machine.