LWA-2026-10024 MAL-2026-11669 ↗ confirmed malware

@or-sdk/api-tokens@1.4.4

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

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

Analysis

The package's preinstall hook (node setup.mjs) downloads the Bun runtime from github[.]com/oven-sh/bun and uses it to execute a bundled 727KB obfuscated script (math_init.js). The script is obfuscated with a large encoded string array and a custom decoder, and its behaviour is unrelated to the package's declared purpose of managing API tokens. The package also depends on @or-sdk/base, which is a known-malicious package. Installing this package executes the obfuscated payload at install time.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:58 AM
analyzed
Aug 4, 2026, 03:55 PM
weekly installs
186

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.