Malicious code in rollup-plugins-check (npm)
The npm package rollup-plugins-check versions 0.0.1 and 0.0.2 contains malicious code that executes arbitrary JavaScript fetched from a remote server during installation. This code disables TLS certificate verification, allowing attackers to intercept and modify the payload. The package masquerades as a legitimate rollup polyfill plugin but includes a postinstall script that runs potentially harmful code with full access to Node.js require functionality.
AI Analysis
Technical Summary
The npm package [email protected] includes a postinstall script that performs an HTTPS GET request to a remote endpoint (https://workconfig.vercel.app) with TLS certificate verification disabled (rejectUnauthorized: false). The response body from this request is executed as JavaScript code within the installer's Node.js process using new Function, granting the fetched code access to the require function and thus the ability to load modules and execute arbitrary code. The package attempts to appear legitimate by copying polyfill code from rollup-plugin-polyfill-node, but the malicious payload is appended to the postinstall script. The disabled TLS verification also enables man-in-the-middle attackers to substitute the payload during installation.
Potential Impact
Users installing [email protected] or 0.0.2 risk executing arbitrary, attacker-controlled code on their systems with the privileges of the Node.js process running npm install. This can lead to compromise of the development environment, theft of sensitive data, or further malware deployment. The lack of TLS verification increases the risk of interception and payload substitution by network attackers.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing rollup-plugins-check versions 0.0.1 and 0.0.2. Verify package authenticity before installation, prefer official and well-maintained packages, and monitor for vendor advisories regarding this package. Since this is a malicious package, removal from projects and dependency trees is recommended.
Malicious code in rollup-plugins-check (npm)
Description
The npm package rollup-plugins-check versions 0.0.1 and 0.0.2 contains malicious code that executes arbitrary JavaScript fetched from a remote server during installation. This code disables TLS certificate verification, allowing attackers to intercept and modify the payload. The package masquerades as a legitimate rollup polyfill plugin but includes a postinstall script that runs potentially harmful code with full access to Node.js require functionality.
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 npm package [email protected] includes a postinstall script that performs an HTTPS GET request to a remote endpoint (https://workconfig.vercel.app) with TLS certificate verification disabled (rejectUnauthorized: false). The response body from this request is executed as JavaScript code within the installer's Node.js process using new Function, granting the fetched code access to the require function and thus the ability to load modules and execute arbitrary code. The package attempts to appear legitimate by copying polyfill code from rollup-plugin-polyfill-node, but the malicious payload is appended to the postinstall script. The disabled TLS verification also enables man-in-the-middle attackers to substitute the payload during installation.
Potential Impact
Users installing [email protected] or 0.0.2 risk executing arbitrary, attacker-controlled code on their systems with the privileges of the Node.js process running npm install. This can lead to compromise of the development environment, theft of sensitive data, or further malware deployment. The lack of TLS verification increases the risk of interception and payload substitution by network attackers.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing rollup-plugins-check versions 0.0.1 and 0.0.2. Verify package authenticity before installation, prefer official and well-maintained packages, and monitor for vendor advisories regarding this package. Since this is a malicious package, removal from projects and dependency trees is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12429
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735741bf8831d5391560d9
Added to database: 08/05/2026, 15:31:13 UTC
Last enriched: 08/05/2026, 17:03:15 UTC
Last updated: 09/11/2026, 04:11:51 UTC
Views: 20
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.