@onereach/idw-apps@0.1.5
Malicious code in @onereach/idw-apps (npm)
Analysis
The package's preinstall hook (node setup.mjs) downloads the Bun runtime from github[.]com/oven-sh/bun/releases and executes a 727KB obfuscated JavaScript payload (math_init.js) at install time. The payload uses a custom base64-style string decoder and invokes eval/Function and child_process. The package's documented purpose is an MCP Apps adapter and its shipped dist/ code is a thin wrapper over @modelcontextprotocol/ext-apps; the install-time execution of the obfuscated math_init.js payload is undocumented and unrelated to that purpose. The payload's behaviour could not be statically determined due to obfuscation.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 12:18 PM
- analyzed
- Aug 4, 2026, 02:08 PM
- weekly installs
- 81
Related advisories
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @onereach/si-list@0.7.6
- @onereach/si-step-chooser@0.4.6
- @onereach/si-dropdown-simple@0.4.7
- @onereach/si-divider@0.4.13
- @onereach/si-a-button@0.0.5
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.