LWA-2026-5155 confirmed malware

codyx-ai@1.14.42

Malicious code in codyx-ai (npm)

T1059 · Command and Scripting InterpreterT1059.007 · JavaScriptT1204 · User Execution

Analysis

Package codyx-ai@1.14.42 is a bootstrap for the "Codyx" coding-agent CLI. Its postinstall script resolves a platform-specific native binary from optionalDependencies (packages named codyx-ai-{platform}-{arch} covering 12 variants across linux, darwin, and windows on x64 and arm64) and writes it to a hardlinked location under bin/. On every CLI invocation via the codyx or cody commands, a launcher script spawns that binary, forwarding the user's command-line arguments. The JavaScript bootstrap code does not itself exfiltrate data or make network calls; the threat is in the platform-specific binary packages that are installed alongside it and executed on each run. When invoked, the native binary executes on the user's system with the full privileges of the calling user, inheriting stdin/stdout/stderr.

analyzed by
Leitwacht
first seen
Jun 13, 2026, 11:45 PM
analyzed
Jun 13, 2026, 11:49 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.