@ornikar/eslint-config-typescript-nestjs@24.0.1
Malicious code in @ornikar/eslint-config-typescript-nestjs (npm)
Analysis
The package @ornikar/eslint-config-typescript-nestjs@24.0.1 is a trojanized version of a legitimate ESLint configuration package. Version 24.0.1 introduces a preinstall hook (setup.mjs) that downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases/ and executes a 728KB heavily obfuscated script (math_init.js) through it. The obfuscated script uses custom encoding and function-constructor/eval patterns that prevent static analysis of its true behaviour. An ESLint config package has no legitimate reason to download a JavaScript runtime and run obfuscated code on install. The payload's behaviour cannot be determined from static analysis alone due to the obfuscation.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 10:19 AM
- analyzed
- Aug 4, 2026, 10:21 AM
- weekly installs
- 359
Related advisories
- @ornikar/prismic-components@0.0.8
- @ornikar/rollup-plugin-postcss@2.0.10
- @ornikar/react-native-svg-transformer@1.0.10
- @ornikar/eslint-config-typescript-react@24.0.1
- bigops-create-manifest@35.2.4
- bigops-cobrowsing-client@35.1.9
- bigops-chat-transfer@35.3.6
- bigops-informer@35.4.8
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.