@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
- @ornikar/prismic-components@0.0.8
- @ornikar/rollup-plugin-postcss@2.0.10
- @ornikar/react-native-svg-transformer@1.0.10
- @ornikar/apollo-link-timeout@1.4.3
- @onereach/ts-memoize@1.0.2
- @ornikar/eslint-config-typescript-nestjs@24.0.1
- @ornikar/eslint-config-typescript-react@24.0.1
- bigops-create-manifest@35.2.4
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.