@onereach/orest-cli@2.4.3
Malicious code in @onereach/orest-cli (npm)
T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or Information
Analysis
The package's preinstall hook (node setup.mjs) downloads the Bun runtime from github[.]com/oven-sh/bun and executes a bundled 727KB obfuscated payload (math_init.js) at install time. The payload uses a custom string-array/base64 decoder to hide its logic. The package also declares dependencies on known-malicious packages @or-sdk/files, @or-sdk/library, and @or-sdk/sdk-api. Installing this package runs the obfuscated payload before any of the CLI's legitimate code executes.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:59 AM
- analyzed
- Aug 4, 2026, 02:38 PM
Related advisories
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @onereach/lambda-invocation@1.2.3
- @onereach/phonenumber-interpreter@0.0.20
- @or-sdk/library-types-v1@9.0.3
- @onereach/orest-vue-demi-vue3@0.0.6
- @onereach/si-root@0.9.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.