LWA-2026-8017 MAL-2026-11722 ↗ confirmed malware

@or-sdk/qna@3.4.4

Malicious code in @or-sdk/qna (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 and then executes a bundled 727KB obfuscated JavaScript payload (math_init.js) at install time. The payload is a custom-base64-decoded, dictionary-array-obfuscated loader using eval/Function constructors, unrelated to the package's declared QnA functionality. The package also depends on @or-sdk/base, which is known-malicious. Installing the package executes the obfuscated payload.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:58 AM
analyzed
Aug 4, 2026, 03:08 PM

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.