LWA-2026-5768 MAL-2026-6256 ↗ confirmed malware

@withgoogle/stitch-sdk@0.1.1

Malicious code in @withgoogle/stitch-sdk (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 Channel

Analysis

@withgoogle/stitch-sdk@0.1.1 is a combosquat package whose name implies Google affiliation. Its preinstall hook (runs automatically on npm install) and its CLI entry point both read sensitive local files — ~/.gitconfig, ~/.git-credentials, ~/.ssh/*.pub, ~/.npmrc, ~/.docker/config.json — and run git, gh (GitHub CLI), claude (Anthropic CLI), and npm commands to harvest email addresses. All collected email addresses are exfiltrated via HTTPS GET to stitch-production[.]org/api/v1 with TLS certificate validation disabled. The README boilerplate falsely claims the preinstall hook is benign.

analyzed by
Leitwacht
first seen
Jun 19, 2026, 01:26 PM
analyzed
Jun 19, 2026, 01:26 PM
weekly installs
87

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.