@ornikar/typed-css-modules-loader@0.8.7
Malicious code in @ornikar/typed-css-modules-loader (npm)
Analysis
@ornikar/typed-css-modules-loader@0.8.7 is a trojanized clone of the legitimate typed-css-modules-loader. The package ships a preinstall hook (setup.mjs) that downloads the Bun JavaScript runtime binary from github[.]com/oven-sh/bun/releases/download/bun-v1.3.13/ and executes a 727KB obfuscated Bun-compiled payload (math_init.js). The legitimate webpack loader code in index.js is a decoy. The actual payload in math_init.js is compiled with Bun and heavily obfuscated, making its behaviour opaque to static analysis. The package has no repository and no verifiable publisher identity.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:16 AM
- analyzed
- Aug 4, 2026, 11:18 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/babel-preset-react@6.1.6
- @ornikar/eslint-config-node@12.2.2
- @ornikar/apollo-link-timeout@1.4.3
- @ornikar/eslint-config-babel-use@13.2.4
- @onereach/ts-memoize@1.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.