LWA-2026-7752 MAL-2026-11967 ↗ confirmed malware

editable-contracts@0.0.23

Malicious code in editable-contracts (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1105 · Ingress Tool Transfer

Analysis

editable-contracts@0.0.23 is a trojanized clone of a legitimate React form library. The preinstall hook (setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases/download/bun-v1.3.13/ and executes a 727KB heavily obfuscated script (math_init.js) through it. The obfuscated file uses a custom string-decoder with a large constant array — a multi-stage dropper pattern. The legitimate-looking MobX form source code in src/ and dist/ is cover for the install-time payload delivery. The temp directory is cleaned up after execution to hide traces.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:29 AM
analyzed
Aug 4, 2026, 11:41 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.