LWA-2026-10047 MAL-2026-11704 ↗ confirmed malware

@or-sdk/keys@1.2.8

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

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

Analysis

The package runs a preinstall hook (setup.mjs) that downloads the Bun runtime from github[.]com/oven-sh/bun and uses it to execute a 727KB obfuscated payload bundled as math_init.js. The payload is encoded with a custom base64-variant decoder and a large encoded string array, concealing its behaviour. The package also depends on @or-sdk/sdk-api, a package previously identified as malicious. Installing this package executes the obfuscated payload at install time.

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

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.