analytics-web-client (npm) · Malicious Code
Affects analytics-web-clientSource GCVE Database
Malicious package : remove analytics-web-client and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 21:08 UTC
Malicious package
Published to npm · OSV MAL-2026-15526
What to do
Remove analytics-web-client 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 |
|---|---|---|
| npmanalytics-web-client | 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 'analytics-web-client' version 30.0.0 contains a malicious self-referential dependency that points to an external URL rather than a versioned registry source. This design allows arbitrary code from the external source to execute during installation, potentially compromising the host system. The package's shipped code is inert, but the dependency resolution mechanism enables execution of attacker-controlled code. 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 does not guarantee elimination of the compromise.