NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

babel-preset-lib-clientnpm

Advisory published Updated

babel-preset-lib-client is a confirmed malicious npm package (MAL-2026-10214) that typosquats a legitimate package to trick installs (malicious versions 1.0.0, 4.9.9, 4.9.10…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in babel-preset-lib-client (npm)

MAL-2026-10214
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall babel-preset-lib-client

What this malware does

index.js, the package main, runs a load-time IIFE that collects OS platform and architecture, hostname, username, private and public IP (via https://api.ipify.org), current working directory, the full output of printenv (base64-encoded), and the base64-encoded output of tree../, then POSTs the aggregated payload to a hardcoded Discord webhook at https://discord.com/api/webhooks/1524917003394089029/. The package name mimics the babel-preset naming convention but the code implements no Babel functionality; author, description, and keywords are empty. Any consumer that installs and requires this package leaks its full process environment (typically including NPM_TOKEN, AWS_*, GITHUB_TOKEN, and other CI/developer secrets) plus a listing of the parent directory to the attacker-controlled Discord channel.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

4 flagged
1.0.04.9.94.9.104.9.11

Indicators of compromise (SHA-256)

0d431b31c9452f93b0f7bfff6f4c64c494f94f91dbbbe9597e10e4d85ea92f63
4274de0136aa69f8b0f4eba03412c7809a1b8c2446bb3ed7f6de1333475aa4c4
c8b10075493fc1ec7728f152149bae784dc2ad5e03872ddac4d345abb2c9bd19
fea0fc558d775f5f0b5312b5d3f5ead65a9b5963916fc1c4193b84fc66f3f7d9
fa115dbec651ac8e32091abb3efedf78a8f6f8b32583ace30013a8045757681c

Detection & response playbook

Typosquat
  1. Find it

    Search your lockfiles and build artifacts for babel-preset-lib-client (4 malicious versions).

  2. If you installed it — respond

    babel-preset-lib-client is a typosquat — you almost certainly intended a legitimately-named package. Remove babel-preset-lib-client, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.

  3. Did it already run?

    If babel-preset-lib-client was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. babel-preset-lib-client on npm has been identified as a malicious package (versions 1.0.0, 4.9.9, 4.9.10, 4.9.11 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-009783IN-MAL-2026-009784IN-MAL-2026-009782GHSA-wxh7-fh8g-5j3mIN-MAL-2026-010477

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks babel-preset-lib-client-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

babel-preset-lib-client (npm) malicious package — MAL-2026-10214 | O3 Security