@ornikar/jest-config-react-native-web@12.0.8
Malicious code in @ornikar/jest-config-react-native-web (npm)
T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool Transfer
Analysis
The package @ornikar/jest-config-react-native-web@12.0.8 is a trojanized version of a legitimate jest configuration package. The preinstall hook (node setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases and executes a 727KB obfuscated Bun-compiled payload (math_init.js) at install time. The package's main entry point (jest-preset.js) simply throws an error telling users to use a different package, meaning the only purpose of installing this version is to execute the preinstall payload.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:16 AM
- analyzed
- Aug 4, 2026, 11:22 AM
- weekly installs
- 65
Related advisories
- @ornikar/prismic-components@0.0.8
- @ornikar/rollup-plugin-postcss@2.0.10
- @ornikar/react-native-svg-transformer@1.0.10
- @ornikar/lerna-config@11.0.6
- @ornikar/renovate-config@9.0.8
- @ornikar/react-modern-calendar-datepicker@3.2.6
- @ornikar/typed-css-modules-loader@0.8.7
- @ornikar/babel-preset-react@6.1.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.