polyfill-es-shims npm package is malware — full machine compromise, no safe version
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
The npm package polyfill-es-shims has been identified as malware in GitHub Advisory GHSA-3mw8-6wmm-xvmw, published 2026-12-01. All versions (= 0) are affected and no patched version exists. The advisory states any computer with the package installed or running should be considered fully compromised, meaning attackers may have obtained full control, including access to secrets and keys. The package sees roughly 268 downloads per month, so exposure is limited but real. Because full machine control may have been handed to an outside entity, removing the package alone cannot be assumed to remove all malicious software. There is no fix; remediation is removal plus credential rotation and system rebuild.
What to do
- Rotate all secrets and keys stored on affected machines immediately, from a different, uncompromised computer
- Remove polyfill-es-shims from all projects and lockfiles
- Rebuild or reimage affected machines; do not assume removal of the package eliminates the malware
- Audit systems for signs of compromise and block the package in dependency policies
Sources
All live incidents on Threat Watch