LWA-2026-10034 MAL-2026-11702 ↗ confirmed malware

@or-sdk/invitations@1.4.10

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

T1059.007 · JavaScriptT1027.001 · Obfuscated Files or InformationT1105 · Ingress Tool TransferT1195.002 · Compromise Software Supply Chain

Analysis

The package's preinstall hook (setup.mjs) downloads the Bun runtime from github[.]com/oven-sh/bun/releases 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 contains eval/Function/child_process calls, forming a multi-stage dropper that runs arbitrary code at install time. The package also depends on the sibling package @or-sdk/users. The legitimate SDK source is present but the injected install-time payload is not part of the documented SDK behaviour.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:59 AM
analyzed
Aug 4, 2026, 04:03 PM
weekly installs
95

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.