LWA-2026-10057 MAL-2026-11665 ↗ confirmed malware

@or-sdk/account-settings@1.3.8

Malicious code in @or-sdk/account-settings (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 and uses it to execute a bundled 727KB obfuscated script (math_init.js) at install time. The script is obfuscated with a large encoded string array and a custom decoder, hiding its behaviour. The package also depends on the known-malicious packages @or-sdk/base and @or-sdk/sdk-api. The shipped dist/ code is a benign-looking account-settings SDK, but the install-time payload is opaque and executes on every install.

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

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.