@onereach/pnpm-audit-junit@1.0.5
Malicious code in @onereach/pnpm-audit-junit (npm)
Analysis
The package's preinstall hook (setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases and then executes a 727KB heavily-obfuscated JavaScript bundle (math_init.js) with it. The bundle is obfuscated with a javascript-obfuscator dictionary-array scheme, making its behavior unreadable, and it is unrelated to the package's stated purpose (converting pnpm audit output to JUnit). The actual CLI logic ships separately in clean dist/ files; math_init.js is only invoked by the install hook. Installing this package executes an opaque, obfuscated payload at install time whose behavior cannot be statically determined.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 01:55 PM
- analyzed
- Aug 4, 2026, 02:09 PM
Related advisories
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @onereach/si-checkbox@0.6.7
- @onereach/idw-apps@0.1.5
- @onereach/si-list@0.7.6
- @onereach/si-step-chooser@0.4.6
- @onereach/si-dropdown-simple@0.4.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.