@ornikar/lerna-config@11.0.6
Malicious code in @ornikar/lerna-config (npm)
T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or Information
Analysis
The preinstall hook downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases and executes a 727KB obfuscated Bun-compiled bundle (math_init.js) at install time. The package is a trojanized version of the legitimate @ornikar/lerna-config monorepo tooling — the original lerna-config source files are present but the preinstall hook runs before any of them are loaded. The opaque binary payload cannot be statically verified; its execution is triggered automatically on npm install.
- 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/react-modern-calendar-datepicker@3.2.6
- @ornikar/babel-preset-react@6.1.6
- @ornikar/apollo-link-timeout@1.4.3
- @onereach/ts-memoize@1.0.2
- @ornikar/eslint-config-typescript-nestjs@24.0.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.