LWA-2026-10050 MAL-2026-11736 ↗ confirmed malware

@or-sdk/view-templates@2.2.7

Malicious code in @or-sdk/view-templates (npm)

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

Analysis

The package's preinstall hook (node setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases (bun-v1.3.13) and uses it to execute a bundled 727KB obfuscated payload (math_init.js) at install time. The payload is obfuscated with a custom string-array decoder and is not human-readable. The package also depends on @or-sdk/base and @or-sdk/data-hub-svc, which are known-malicious packages. A legitimate SDK has no reason to download a runtime and run an obfuscated payload during installation.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:59 AM
analyzed
Aug 4, 2026, 05:13 PM
weekly installs
96

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.