LWA-2026-10040 MAL-2026-11680 ↗ confirmed malware

@or-sdk/cards@1.2.7

Malicious code in @or-sdk/cards (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 runtime from a GitHub release URL and uses it to execute a 727KB obfuscated script (math_init.js) bundled in the package. The script is obfuscated with a large encoded string array and a custom decoder, concealing its behaviour. The package also depends on three sibling packages (@or-sdk/base, @or-sdk/data-hub-svc, @or-sdk/tags) that are known-malicious. Installing this package runs the obfuscated payload at install time via a downloaded runtime.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:59 AM
analyzed
Aug 4, 2026, 04:53 PM
weekly installs
92

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.