Critical Malicious Code Vulnerability in rollup-plugin-polyfill-helper Package
Summary
MAL-2026-11478: Malicious code in rollup-plugin-polyfill-helper (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The rollup-plugin-polyfill-helper is an npm package designed to assist developers in polyfilling JavaScript features for older environments. It simplifies the process of ensuring compatibility across different browsers and environments. However, this package has been found to contain malicious code, posing a significant security risk to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the rollup-plugin-polyfill-helper package. This code can compromise any computer where the package is installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The ramifications are severe, as it may grant full control of the affected system to an external entity, making it imperative for users to act swiftly to mitigate the risks associated with this vulnerability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rollup-plugin-polyfill-helper
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, the best workaround is to uninstall the rollup-plugin-polyfill-helper package entirely. You can do this by running the following command in your terminal: npm uninstall rollup-plugin-polyfill-helper. This action will help prevent further exploitation of the malicious code.
Conclusion
The discovery of malicious code within the rollup-plugin-polyfill-helper package highlights the importance of vigilance in managing open-source dependencies. Immediate action is required to mitigate risks associated with this vulnerability, including uninstalling the package and rotating sensitive information.
See every vulnerability recorded for rollup-plugin-polyfill-helper →
FAQ
You should immediately uninstall the package and rotate any sensitive information stored on your system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities. Visit Vulert Scanner to check your application without needing to sign up.
As of now, there is no patched version available. The best course of action is to remove the package.
Failing to address this vulnerability could lead to unauthorized access to your system, data breaches, and loss of sensitive information.
While most npm packages are safe, it's essential to regularly monitor and audit your dependencies for vulnerabilities using tools like Vulert.