Skip to main content

Malicious code in babel-polyfill-plugin-corejs2 (npm)

0
High
Published: 08/24/2026 (08/24/2026, 16:45:38 UTC)
Source: GCVE Database
Product: babel-polyfill-plugin-corejs2

Description

The npm package babel-polyfill-plugin-corejs2 version 1.0.1 contains malicious code disguised as a Babel core-js 2 polyfill plugin. Instead of the advertised functionality, it executes a large obfuscated JavaScript payload at import time, which may compromise the host system. The package should be considered fully malicious, and any system with it installed is likely compromised.

Affected software

npmghsa
babel-polyfill-plugin-corejs2
Affected versions
=1.0.1

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: 10/14/2026, 22:57:09 UTC

Technical Analysis

The package babel-polyfill-plugin-corejs2 version 1.0.1 advertises itself as a Babel core-js 2 polyfill plugin but contains unrelated web3-core-subscriptions boilerplate and a ~110KB obfuscated JavaScript payload executed immediately upon require(). The obfuscation includes random identifiers, numeric offset arrays, a TEA-like mixing routine, and unicode-escape string literals. This payload's purpose is opaque and unrelated to the declared functionality, indicating malicious intent. The presence of this package on a system implies full compromise, with potential unauthorized control and data exposure.

Potential Impact

Any computer with this package installed or running should be considered fully compromised. Secrets and keys stored on the affected system are at risk and should be rotated immediately from a secure, unaffected machine. Removing the package alone may not eliminate all malicious software or backdoors installed by this payload, as full control may have been granted to an attacker.

Defensive Guidance

Remove the babel-polyfill-plugin-corejs2 package version 1.0.1 immediately. Rotate all secrets and keys stored on the affected system from a different, secure computer. Because the system may be fully compromised, consider rebuilding or thoroughly cleaning the system to ensure removal of all malicious components. No official patch or fix is available; the package itself is malicious.

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-14426
Osv Schema Version
1.7.4
Aliases
["GHSA-9g6r-83hw-6cq2"]
Ecosystems
["npm"]

Threat ID: 6ad0088b2cdf04f656b90c7d

Added to database: 10/14/2026, 22:56:11 UTC

Last enriched: 10/14/2026, 22:57:09 UTC

Last updated: 10/14/2026, 22:57:09 UTC

Views: 4

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