LWA-2026-10059 MAL-2026-11703 ↗ confirmed malware

@or-sdk/key-value-storage@0.28.8

Malicious code in @or-sdk/key-value-storage (npm)

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

Analysis

The preinstall hook (setup.mjs) downloads the Bun runtime from github[.]com/oven-sh/bun releases and executes a bundled 727KB obfuscated script (math_init.js) at install time. math_init.js is obfuscated with a custom string-array decoder and contains eval/Function/child_process calls, forming a multi-stage dropper that runs arbitrary code during npm install. The package also depends on @or-sdk/base and @or-sdk/sdk-api, which are separately flagged as malicious. The legitimate SDK code in dist/ is intact, but the install-time payload is obfuscated and executes on every install.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:57 AM
analyzed
Aug 4, 2026, 05:41 PM
weekly installs
760

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.