chart-data-utils (npm) · Malicious Code
Affects chart-data-utilsSource GCVE Database
Malicious package : remove chart-data-utils and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:15 UTC
Malicious package
Published to npm · OSV MAL-2026-12350
What to do
Remove chart-data-utils 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 |
|---|---|---|
| npmchart-data-utils | 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 chart-data-utils@1.0.0 contains malicious code that executes during installation. It runs a postinstall script that collects system information, environment variables containing sensitive tokens and credentials, and probes cloud instance metadata endpoints. The harvested data is encoded and exfiltrated via HTTP to a hardcoded external server. The package masquerades as a harmless chart utility but is designed for credential harvesting and reconnaissance.