LWA-2026-10072 MAL-2026-11724 ↗ confirmed malware

@or-sdk/sdk-api@0.29.4

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

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or Information

Analysis

The package's preinstall hook (node setup.mjs) downloads the Bun runtime and uses it to execute a 727KB obfuscated script bundled as math_init.js. The script is obfuscated with a large encoded string array and a custom decoder (javascript-obfuscator signature) and contains eval/Function-constructor and child_process calls, so its runtime behaviour is concealed. The package also depends on @or-sdk/base, which is itself flagged 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:49 PM
weekly installs
2,074

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.