LWA-2026-8912 MAL-2026-11727 ↗ confirmed malware

@or-sdk/source@2.1.7

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

T1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1105 · Ingress Tool Transfer

Analysis

The package's preinstall hook (setup.mjs) downloads the Bun runtime from github[.]com/oven-sh/bun/releases and uses it to execute a bundled 727KB obfuscated script (math_init.js). The script is obfuscated with a custom base64-style decoder and a large encoded string array, concealing its payload. The package also depends on @or-sdk/base, a known-malicious package in the same namespace. Installing this package triggers execution of the obfuscated payload at install time.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:58 AM
analyzed
Aug 4, 2026, 03:47 PM

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.