LWA-2026-10052 MAL-2026-11707 ↗ confirmed malware

@or-sdk/library-categories@0.2.8

Malicious code in @or-sdk/library-categories (npm)

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

Analysis

The package's preinstall hook (node setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases/download/bun-v1.3.13/ and uses it to execute a bundled 727KB obfuscated script (math_init.js) at install time. The script is obfuscated with an encoded string array and a custom decoder, hiding its payload strings. The package also depends on the known-malicious packages @or-sdk/base and @or-sdk/providers. A library-categories SDK has no legitimate reason to download a runtime and run an obfuscated payload during installation.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:58 AM
analyzed
Aug 4, 2026, 05:37 PM
weekly installs
376

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.