LWA-2026-7704 MAL-2026-11749 ↗ confirmed malware

@ornikar/eslint-config-node@12.2.2

Malicious code in @ornikar/eslint-config-node (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool Transfer

Analysis

The package @ornikar/eslint-config-node@12.2.2 is a trojanized version of a legitimate ESLint configuration package. The preinstall hook (setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases, extracts it, and executes a 727KB obfuscated Bun-compiled blob (math_init.js) at install time. The package had been dormant for approximately 5 years before this version was published, indicating an account takeover of the original maintainer's npm credentials. The payload in math_init.js is heavily obfuscated and compiled for the Bun runtime, making its specific behaviour unreadable from static analysis alone, but the attack pattern is a remote code execution at install time via a compromised package.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 10:41 AM
analyzed
Aug 4, 2026, 11:12 AM

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.