LWA-2026-7965 MAL-2026-11621 ↗ confirmed malware

@onereach/pnpm-audit-junit@1.0.5

Malicious code in @onereach/pnpm-audit-junit (npm)

T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or Information

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

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.