Skip to content
OpenAdvisories
Malicious MAL-2026-11479 GHSA-7p2c-jxw4-jxvv

rollup-plugin-polyfill-hold

npm package · versions 1.0.5

Reported Jul 31, 2026 · Updated Aug 4, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (57956044a2c40ab32e789cd46c26ab03304478179d15897f97c29d12cc838e8a)
The package presents itself as a rollup plugin / CDN icon-asset fetcher but its exported getPlugin, setPlugin, and getPluginExten functions issue HTTPS requests to a hardcoded endpoint at rest-icon-handler.store/icons/103 and /icons/389 and pass the JSON-parsed response body to eval(), giving the endpoint owner arbitrary JavaScript execution in the caller's Node process. The destination URL is assembled from split constants (protocol/separator/subdomain/domain/path) rather than appearing as a single string, while a decoy setDefaultModule references legitimate CDN providers (cloudflare/fastly/akamai) that are never contacted by the eval path. getPlugin additionally schedules getPluginExten via setTimeout so the fetch-and-eval recurs. The eval-of-remote-content behavior is not disclosed by the package's advertised purpose and the endpoint is unrelated to any documented CDN.

Source: ghsa-malware (55b9bd8da2181c7be27563d32bcd51eeda41395e0a1660c736840cc94e3613b1)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.