LWA-2026-10031 MAL-2026-11705 ↗ confirmed malware

@or-sdk/knowledge-models@0.25.7

Malicious code in @or-sdk/knowledge-models (npm)

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

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) at install time. The script is obfuscated with a large encoded string array and a custom decoder, and contains eval/Function/child_process references. The package also depends on @or-sdk/base, a known-malicious package. Installing this package runs the obfuscated payload on the victim's machine during npm install.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:56 AM
analyzed
Aug 4, 2026, 04:06 PM
weekly installs
77

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.