Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10214: Malicious code in babel-preset-lib-client (npm)

0
Critical
Published: 07/12/2026 (07/12/2026, 21:32:17 UTC)
Source: GCVE Database
Product: babel-preset-lib-client

Description

The npm package babel-preset-lib-client versions 4.9.9, 4.9.10, and 4.9.11 contains malicious code that exfiltrates sensitive environment data. Upon loading, it collects system information including OS platform, architecture, hostname, username, IP addresses, current working directory, environment variables (base64-encoded), and a directory tree listing. This data is then sent to a hardcoded Discord webhook controlled by the attacker. The package mimics a Babel preset but provides no legitimate Babel functionality. Any user installing and requiring this package risks leaking secrets such as NPM_TOKEN, AWS credentials, GitHub tokens, and other CI/developer secrets.

Affected software

npmghsa
babel-preset-lib-client
Affected versions
=4.9.10=4.9.9=4.9.11

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: 07/13/2026, 09:57:02 UTC

Technical Analysis

The malicious npm package babel-preset-lib-client (versions 4.9.9, 4.9.10, and 4.9.11) executes a load-time Immediately Invoked Function Expression (IIFE) that gathers extensive system and environment information, including sensitive environment variables and directory listings. This aggregated data is exfiltrated via an HTTP POST request to a hardcoded Discord webhook URL. The package falsely presents itself as a Babel preset but contains no Babel-related functionality, indicating its sole purpose is data theft. This behavior exposes any consuming environment to significant information disclosure risks.

Potential Impact

Sensitive environment variables and system information are leaked to an attacker-controlled endpoint, potentially exposing credentials such as NPM_TOKEN, AWS keys, GitHub tokens, and other secrets used in continuous integration or development environments. This can lead to unauthorized access, privilege escalation, and compromise of related infrastructure or services.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately remove and avoid installing or requiring the babel-preset-lib-client package versions 4.9.9, 4.9.10, and 4.9.11. Review and revoke any potentially exposed secrets and rotate credentials that may have been compromised. Monitor for any unauthorized access resulting from leaked credentials. Check vendor advisories or trusted sources for updates or official fixes.

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-10214
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a54ae0668715ace438f82dd

Added to database: 07/13/2026, 09:21:10 UTC

Last enriched: 07/13/2026, 09:57:02 UTC

Last updated: 07/13/2026, 22:22:40 UTC

Views: 5

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