MAL-2026-10214: Malicious code in babel-preset-lib-client (npm)
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.
AI Analysis
Technical Summary
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.
MAL-2026-10214: Malicious code in babel-preset-lib-client (npm)
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
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 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.
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 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.