LWA-2026-7999 MAL-2026-11682 ↗ confirmed malware

@or-sdk/chat@0.3.3

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

T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1195.002 · Compromise Software Supply Chain

Analysis

@or-sdk/chat@0.3.3, a chat-widget SDK, ships a preinstall hook (node setup.mjs) that downloads the Bun JavaScript runtime and then executes a bundled 727KB heavily-obfuscated script (math_init.js) at install time. The script uses a custom string-encoding scheme so its logic is opaque to inspection; the package's own source (dist/) is a plain chat helper with no lifecycle hook, and the changelog documents no such install behaviour. Installing this version runs an obfuscated payload on the machine with network access. The payload's exact actions could not be determined statically due to the obfuscation.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 01:03 PM
analyzed
Aug 4, 2026, 02:38 PM
weekly installs
741

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.