LWA-2026-10049 MAL-2026-11678 ↗ confirmed malware

@or-sdk/bots@1.7.3

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

T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or InformationT1195.002 · Compromise Software Supply Chain

Analysis

The package's preinstall hook (setup.mjs) downloads the Bun runtime from github[.]com/oven-sh/bun and uses it to execute a bundled 727KB heavily-obfuscated script (math_init.js) at install time. The script uses a custom string-array decoder and contains eval/Function-constructor and child_process calls, so its behaviour is hidden behind obfuscation. The package also depends on @or-sdk/base, @or-sdk/data-hub-svc, and @or-sdk/tags, which are part of a known-malicious dependency chain. Installing this package executes the obfuscated payload automatically.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:59 AM
analyzed
Aug 4, 2026, 05:23 PM
weekly installs
228

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.