@onereach/or-sdk-agent-cli@0.0.8
Malicious code in @onereach/or-sdk-agent-cli (npm)
Analysis
The package's preinstall hook (node setup.mjs) is obfuscated. On install it detects the platform/architecture, downloads the Bun JavaScript runtime zip from github[.]com/oven-sh/bun/releases/download/bun-v1.3.13/<platform>.zip, extracts it, and executes a bundled 727KB obfuscated script (math_init.js) under that runtime. The install-time code path is deliberately obfuscated and executes an opaque obfuscated bundle, and the package declares dependencies on a large set of @or-sdk/* packages. The obfuscated install-time execution chain is consistent with a multi-stage dropper; the executed bundle's network behaviour could not be statically determined.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 01:02 PM
- analyzed
- Aug 4, 2026, 02:41 PM
Related advisories
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @or-sdk/chat@0.3.3
- @onereach/orest-cli@2.4.3
- @onereach/lambda-invocation@1.2.3
- @onereach/phonenumber-interpreter@0.0.20
- @or-sdk/library-types-v1@9.0.3
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.