@onereach/orest-input-cli@1.18.3
Malicious code in @onereach/orest-input-cli (npm)
T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or InformationT1195.002 · Compromise Software Supply Chain
Analysis
The package's preinstall hook (node setup.mjs) downloads the Bun JavaScript runtime and executes a 727KB heavily-obfuscated script (math_init.js) at install time. The obfuscated payload uses the javascript-obfuscator pattern (large constant array plus string-decoder) and is unrelated to the CLI's declared function. The package also depends on the known-malicious package @or-sdk/store, which it imports in lib/api/storeApi.js. Installing this package runs the obfuscated payload on the victim's machine.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:59 AM
- analyzed
- Aug 4, 2026, 03:06 PM
Related advisories
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @onereach/or-browser-next@0.0.13
- @onereach/or-file-uploader-next@0.0.10
- @onereach/types-contacts-api@9.0.10
- @onereach/orest-cli@2.4.3
- @onereach/lambda-invocation@1.2.3
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.