Skip to main content

Malicious code in rollup-plugins-check (npm)

0
High
Published: 08/05/2026 (08/05/2026, 13:03:49 UTC)
Source: GCVE Database
Product: rollup-plugins-check

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

npmghsa
rollup-plugins-check
Affected versions
=0.0.1=0.0.2

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

AILast updated: 08/05/2026, 17:03:15 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses