Findings

MAL-2026-14426

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

Published Aug 24, 2026 · updated Oct 14, 2026

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (13878d994b01607c379e26646449b7cca95099f9b2eb5be2e1f8e19aeea32eb3) The package advertises itself as a Babel core-js 2 polyfill plugin, but the shipped lib/index.js contains unrelated web3-core-subscriptions boilerplate followed by a Function() invocation whose body is ~110KB of obfuscated JavaScript (random identifiers, numeric offset arrays, TEA-like mixing routine, unicode-escape string literals). The Function() call executes whenever a consumer require()s the package, running the opaque payload at import time. The declared purpose does not match the shipped code, and the obfuscation is confined to the appended payload rather than being a general minification artifact. ## Source: ghsa-malware (69ae525ab6e1ea4ee1d3d1cbb451a97e4e89072feb3df4c506f51eb14a34dd66) 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.

Timeline

Detection, updates, and resolution for this record.

  1. Aug 24, 2026 · CIRCL Vulnerability Lookup

    Detected

    --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (13878d994b01607c379e26646449b7cca95099f9b2eb5be2e1f8e19aeea32eb3) The package advertises itself as a Babel core-js 2 polyfill plugin, but the shipped lib/index.js contains unrelated web3-core-subscriptions boilerplate followed by a Function() invocation whose body is ~110KB of obfuscated JavaScript (random ide

  2. Oct 14, 2026 · CIRCL Vulnerability Lookup

    Updated

    --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (13878d994b01607c379e26646449b7cca95099f9b2eb5be2e1f8e19aeea32eb3) The package advertises itself as a Babel core-js 2 polyfill plugin, but the shipped lib/index.js contains unrelated web3-core-subscriptions boilerplate followed by a Function() invocation whose body is ~110KB of obfuscated JavaScript (random ide

  3. Oct 14, 2026 · GitHub Advisory Database

    Updated

    --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (13878d994b01607c379e26646449b7cca95099f9b2eb5be2e1f8e19aeea32eb3) The package advertises itself as a Babel core-js 2 polyfill plugin, but the shipped lib/index.js contains unrelated web3-core-subscriptions boilerplate followed by a Function() invocation whose body is ~110KB of obfuscated JavaScript (random ide

Affected

  • npm babel-polyfill-plugin-corejs21.0.1

Sources

References

MAL-2026-14426 · ZeroDay Findings