@or-sdk/apps@1.2.8
Malicious code in @or-sdk/apps (npm)
T1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1105 · Ingress Tool Transfer
Analysis
The package's preinstall hook (node setup.mjs) downloads the Bun runtime from github[.]com/oven-sh/bun releases and uses it to execute a bundled 727KB script (math_init.js). That script is obfuscated with a large encoded string array and a custom decoder, concealing its behaviour. The package also depends on @or-sdk/base and @or-sdk/providers, which are flagged as malicious. The install-time execution of a large obfuscated payload via a downloaded runtime is a multi-stage dropper pattern; the payload's network behaviour is concealed inside the obfuscation.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:59 AM
- analyzed
- Aug 4, 2026, 04:56 PM
- weekly installs
- 311
Related advisories
- @or-sdk/base@0.44.6
- @or-sdk/sdk-api@0.29.4
- @or-sdk/providers@0.3.8
- @or-sdk/cards@1.2.7
- @or-sdk/data-hub@0.26.7
- webdev-conf@5.0.0
- @or-sdk/library-source@0.4.7
- @or-sdk/knowledge-models@0.25.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.