Malicious code in rollup-plugins-polyfills-rode (npm)
The npm package rollup-plugins-polyfills-rode versions 0.13.1, 0.13.2, and 0.13.3 is a typosquatted malicious package impersonating rollup-plugin-polyfill-node. When loaded, it executes hidden code that installs and runs an attacker-controlled package, enabling arbitrary code execution during the build process of any project that consumes this plugin.
AI Analysis
Technical Summary
The package [email protected] (and versions 0.13.2 and 0.13.3) is a typosquatting attack targeting the legitimate rollup-plugin-polyfill-node. Its dist/index.js contains top-level code that base64-decodes and executes a shell command to silently install an attacker-chosen npm package named 'cors-security'. It then requires this package and invokes a function from it, resulting in arbitrary code execution within the build environment. The malicious code is obfuscated using base64 encoding and includes a comment designed to mislead automated code reviewers. This behavior allows the attacker to execute arbitrary code on any machine that installs and uses this package as a Rollup plugin.
Potential Impact
Any developer or build system that installs and uses rollup-plugins-polyfills-rode versions 0.13.1, 0.13.2, or 0.13.3 will execute attacker-controlled code during the build process. This can lead to arbitrary code execution, compromising the build environment and potentially leading to further compromise of development infrastructure or software supply chain.
Mitigation Recommendations
Avoid using rollup-plugins-polyfills-rode versions 0.13.1, 0.13.2, and 0.13.3. Remove this package from your dependencies and replace it with the legitimate rollup-plugin-polyfill-node package. Since no official patch or fix is indicated, the safest mitigation is to cease usage of this typosquatted package. Review your build environment for any signs of compromise if this package was previously used.
Malicious code in rollup-plugins-polyfills-rode (npm)
Description
The npm package rollup-plugins-polyfills-rode versions 0.13.1, 0.13.2, and 0.13.3 is a typosquatted malicious package impersonating rollup-plugin-polyfill-node. When loaded, it executes hidden code that installs and runs an attacker-controlled package, enabling arbitrary code execution during the build process of any project that consumes this plugin.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The package [email protected] (and versions 0.13.2 and 0.13.3) is a typosquatting attack targeting the legitimate rollup-plugin-polyfill-node. Its dist/index.js contains top-level code that base64-decodes and executes a shell command to silently install an attacker-chosen npm package named 'cors-security'. It then requires this package and invokes a function from it, resulting in arbitrary code execution within the build environment. The malicious code is obfuscated using base64 encoding and includes a comment designed to mislead automated code reviewers. This behavior allows the attacker to execute arbitrary code on any machine that installs and uses this package as a Rollup plugin.
Potential Impact
Any developer or build system that installs and uses rollup-plugins-polyfills-rode versions 0.13.1, 0.13.2, or 0.13.3 will execute attacker-controlled code during the build process. This can lead to arbitrary code execution, compromising the build environment and potentially leading to further compromise of development infrastructure or software supply chain.
Mitigation Recommendations
Avoid using rollup-plugins-polyfills-rode versions 0.13.1, 0.13.2, and 0.13.3. Remove this package from your dependencies and replace it with the legitimate rollup-plugin-polyfill-node package. Since no official patch or fix is indicated, the safest mitigation is to cease usage of this typosquatted package. Review your build environment for any signs of compromise if this package was previously used.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12430
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735741bf8831d53915606f
Added to database: 08/05/2026, 15:31:13 UTC
Last enriched: 08/05/2026, 17:03:01 UTC
Last updated: 09/07/2026, 22:09:15 UTC
Views: 19
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.