@or-sdk/library-types-v1@9.0.3
Malicious code in @or-sdk/library-types-v1 (npm)
T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or Information
Analysis
The package's preinstall hook (node setup.mjs) downloads the Bun JavaScript runtime from GitHub releases and then executes a bundled 727KB obfuscated script (math_init.js) at install time. The package is a types library with no legitimate need to download a runtime or run an opaque, string-array-obfuscated payload during installation; the payload's actual behaviour is not statically analyzable. Installing this package triggers remote binary download plus execution of an obfuscated script on the installer's machine.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 01:01 PM
- analyzed
- Aug 4, 2026, 02:35 PM
- weekly installs
- 330
Related advisories
- @or-sdk/base@0.44.6
- @or-sdk/sdk-api@0.29.4
- @or-sdk/providers@0.3.8
- @onereach/orest-vue-demi-vue3@0.0.6
- @onereach/si-root@0.9.6
- @servicetitan/startup-mfe-compat@0.5.3
- @servicetitan/carto-charts-core@0.0.6
- @onereach/step-run-snowflake-query@0.1.3
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.