@withgoogle/stitch-sdk: Scope Squat Harvests Developer Credentials A malicious npm package named @withgoogle/stitch-sdk impersonates Google's Stitch AI design tool by squatting the @withgoogle scope, harvesting developer credentials from eight sources via a preinstall hook and CLI binary, and exfiltrating them to an attacker-controlled domain. The package recorded 87 downloads on its first day, targeting credentials from Claude Code, git config, SSH keys, GitHub CLI, npm config, and Docker config. @withgoogle/stitch-sdk: Scope Squat Harvests Developer Credentials Table of Contents TL;DR A malicious npm package published under @withgoogle/stitch-sdk impersonates Google’s Stitch AI design tool https://stitch.withgoogle.com by squatting the @withgoogle npm scope. On install, the package silently harvests developer credentials from eight sources and exfiltrates them to an attacker-controlled domain. The credential harvester runs via a preinstall hook triggered by npm install and is duplicated in the CLI binary bin/cli.js , giving the attacker two independent execution paths. The code is clean, readable JavaScript with no obfuscation. The attacker relies entirely on the trust implied by the @withgoogle scope name rather than hiding the payload. Impact: - Credentials harvested from Claude Code, git config, ~/.git-credentials , SSH public keys, GitHub CLI, npm config, ~/.npmrc , and ~/.docker/config.json - All stolen data exfiltrated via HTTPS GET to hxxps://stitch-production . org/api/v1 - TLS certificate validation disabled on all outbound requests - 87 downloads recorded on the first day of publication June 19, 2026 Indicators of Compromise IoC : | Indicator | Value | |---|---| | Package | @withgoogle/stitch-sdk v0.1.1, v0.1.2 | | npm maintainer | maximus-mcmillan | | C2 domain | stitch-production.org | | C2 IPs Cloudflare | 172.67.189.185, 104.21.65.94 | | Exfil pattern | GET /api/v1?src=