LWA-2026-7715 MAL-2026-11761 ↗ confirmed malware

@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

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.