LWA-2026-10061 MAL-2026-11690 ↗ confirmed malware

@or-sdk/druid@1.4.9

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

T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or Information

Analysis

The package's preinstall hook (setup.mjs) downloads the Bun runtime from the official oven-sh/bun GitHub release and uses it to execute a bundled 727KB obfuscated JavaScript payload (math_init.js). The payload is obfuscated with a custom string-array decoder and contains eval, Function, and child_process calls, running arbitrary code at install time. The package also depends on two sibling packages (@or-sdk/base, @or-sdk/providers) that carry the same malicious payload family. The obfuscated payload's network endpoints are encoded and not recoverable from the shipped source.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:57 AM
analyzed
Aug 4, 2026, 05:45 PM
weekly installs
1,066

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.