LWA-2026-10033 MAL-2026-11708 ↗ confirmed malware

@or-sdk/library-source@0.4.7

Malicious code in @or-sdk/library-source (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 JavaScript runtime from github[.]com/oven-sh/bun and uses it to execute a bundled 727KB obfuscated script (math_init.js) at install time. math_init.js is a single-line obfuscated payload built with a custom string-array decoder and constant table, and contains eval/Function/child_process usage, so its full behaviour is hidden behind the obfuscation. The package also depends on the @or-sdk/base and @or-sdk/library-types-v1 packages. Installing this package runs the obfuscated payload automatically via the preinstall lifecycle hook.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:58 AM
analyzed
Aug 4, 2026, 04:07 PM
weekly installs
111

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.