LWA-2026-10070 MAL-2026-11674 ↗ confirmed malware

@or-sdk/base@0.44.6

Malicious code in @or-sdk/base (npm)

T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or InformationT1082 · System Information Discovery

Analysis

The package's preinstall hook (setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun and uses it to execute a bundled 727KB obfuscated script (math_init.js) during npm install. The script is obfuscated with a large encoded string array and a custom decoder, so its logic is not readable; it runs automatically on every install. The hook also probes the host (ldd --version, /etc/os-release) to select a platform-specific runtime build before executing the payload.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 12:01 PM
analyzed
Aug 4, 2026, 05:50 PM
weekly installs
7,719

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.