LWA-2026-7703 MAL-2026-11742 ↗ confirmed malware

@ornikar/babel-preset-react@6.1.6

Malicious code in @ornikar/babel-preset-react (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or Information

Analysis

The preinstall hook (node setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases/download/bun-v1.3.13/, extracts it, and executes a 727KB heavily-obfuscated JavaScript bundle (math_init.js) at install time. The bundle is a Bun-compiled obfuscated payload with a custom decoder and large lookup table. A babel preset has no legitimate reason to download a runtime and run obfuscated code during installation.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 10:40 AM
analyzed
Aug 4, 2026, 11:14 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.