LWA-2026-2439 MAL-2026-7242 ↗ confirmed malware

chai-chain-test@1.3.5

Malicious code in chai-chain-test (npm)

T1059 · Command and Scripting Interpreter

Analysis

chai-chain-test@1.3.5 is a remote-code-execution dropper. index.js spawns a detached background process (detached:true, unref'd) running lib/caller.js, which fetches code from hxxps://jsonkeeper[.]com/b/EXSIF via axios and executes it via new Function.constructor("require", body) — giving the attacker full access to Node modules. The jsonkeeper endpoint is attacker-controlled and can serve any payload; the description mismatches the content and the declared deps (axios, sqlite3) enable the fetched payload.

analyzed by
Leitwacht
first seen
Jun 1, 2026, 08:42 PM
analyzed
Jun 1, 2026, 08:45 PM

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.