@or-sdk/views@3.1.7
Malicious code in @or-sdk/views (npm)
T1059.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/releases/download/bun-v1.3.13/ and uses it to execute a bundled 727KB obfuscated payload (math_init.js). The payload is obfuscated with a large encoded string array and a custom decoder. The package also depends on sibling packages (@or-sdk/base, @or-sdk/data-hub-svc, @or-sdk/tags) that are part of the same malicious campaign. Installing this package executes the obfuscated payload at install time.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:59 AM
- analyzed
- Aug 4, 2026, 03:55 PM
Related advisories
- @or-sdk/base@0.44.6
- @or-sdk/sdk-api@0.29.4
- @or-sdk/providers@0.3.8
- @or-sdk/tickets@1.9.7
- @or-sdk/mcp-tools@0.5.4
- @or-sdk/source@2.1.7
- @servicetitan/anvil-token@0.4.4
- @or-sdk/tags@1.1.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.