LWA-2026-5750 MAL-2026-6456 ↗ confirmed malware

stitch-design@0.1.0

Malicious code in stitch-design (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1059 · Command and Scripting InterpreterT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1005 · Data from Local SystemT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 Channel

Analysis

During npm install, the preinstall script (scripts/preinstall.js) automatically executes and performs reconnaissance on the developer's machine. It reads sensitive files including ~/.gitconfig, ~/.config/git/config, ~/.git-credentials, ~/.ssh/*.pub, ~/.npmrc, and ~/.docker/config.json. It also runs git config, npm config get email, gh api user, and claude auth status commands. All email addresses extracted from these files and commands are exfiltrated via HTTPS GET requests to stitch-design[.]ai/api/v1 with query parameters src and user. The install exits with code 1 to obscure the activity. The same harvesting payload is also present in the CLI binary (bin/cli.js).

analyzed by
Leitwacht
first seen
Jun 19, 2026, 06:31 AM
analyzed
Jun 19, 2026, 06:32 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.