web-vitals-polyfill-core-v1 (npm) · Malicious Code
Affects web-vitals-polyfill-core-v1Source GCVE Database
Malicious package : remove web-vitals-polyfill-core-v1 and rotate any secrets on hosts that installed it.
Data as of 30 Sep 2026, 16:36 UTC
Malicious package
Published to npm · OSV MAL-2026-17303
What to do
Remove web-vitals-polyfill-core-v1 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 |
|---|---|---|
| npmweb-vitals-polyfill-core-v1 | 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 web-vitals-polyfill-core-v1 version 1.0.0 is a malicious package masquerading as a legitimate web-vitals polyfill. It contains obfuscated code designed to hijack end-user navigation by loading a service worker that redirects users to attacker-controlled destinations resolved dynamically via DNS-over-HTTPS and fallback paste sites. The package lacks any legitimate library code and is intended to compromise any system where it is installed. Systems with this package installed should be considered fully compromised.