Skip to main content
MalwarePublished Updated

rollup-packages-node-polyfills (npm) · Malicious Code

Affects rollup-packages-node-polyfillsSource GCVE Database

0

Malicious package : remove rollup-packages-node-polyfills and rotate any secrets on hosts that installed it.

Data as of 21 Aug 2026, 16:28 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12428

What to do

Remove rollup-packages-node-polyfills 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

ProductAffectedFixed in
npmrollup-packages-node-polyfillsAffected
  • 0.0.1 – 0.13.2
4 affected builds
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 'rollup-packages-node-polyfills' is a typosquatting malicious package that executes hidden code upon import. It decodes and runs a base64-encoded command to silently install another malicious package 'cors-update', then dynamically loads and executes code from that package. This behavior is unexpected and unrelated to its advertised functionality as a Rollup Node polyfills plugin. Systems with this package installed should be considered fully compromised, and all secrets and keys on those systems should be rotated immediately.

References

Community reviews

Loading reviews…