@or-sdk/lookup@1.25.3
Malicious code in @or-sdk/lookup (npm)
T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1195.002 · Compromise Software Supply Chain
Analysis
The @or-sdk/lookup package runs a preinstall hook (node setup.mjs) that downloads the Bun runtime from github[.]com/oven-sh/bun and uses it to execute a 727KB obfuscated script (math_init.js) bundled in the package. math_init.js is obfuscated with a string-array decoder and array-shuffle (javascript-obfuscator signature) and contains eval/Function/child_process calls. This install-time payload is unrelated to the package's declared functionality (a Lookup/Weaviate SDK client). The package also declares a dependency on @or-sdk/base, a known-malicious package.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:58 AM
- analyzed
- Aug 4, 2026, 04:53 PM
- weekly installs
- 122
Related advisories
- @or-sdk/base@0.44.6
- @or-sdk/sdk-api@0.29.4
- @or-sdk/providers@0.3.8
- @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
- @or-sdk/deployments@2.1.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.