2026 xAI Grok Build CLI — full Git repos uploaded to cloud; privacy toggle ineffective (Jul)
Data compromised
Wire-level analysis (Cereblab, July 12, 2026): full tracked repository contents and Git history including canary files never read by the model, .env credentials, and deleted-but-historical secrets; 5.1 GiB uploaded from a 12 GiB test repo vs ~192 KB model traffic—no public count of affected developers
Technical writeup
Root cause
Grok Build CLI v0.2.93 background POST /v1/storage channel packaged entire workspace Git bundles to Google Cloud (grok-code-session-traces) regardless of user "Improve the model" privacy toggle—xAI disabled uploads server-side July 13; Musk pledged deletion of prior uploads July 14
References
- https://gist.github.com/cereblab/dc9a40bc26120f4540e4e09b75ffb547
- https://thehackernews.com/2026/07/grok-build-uploads-entire-git.html
- https://www.theregister.com/ai-and-ml/2026/07/14/musk-promises-purge-after-grok-build-caught-sending-entire-repos-to-the-cloud/5271123
- https://databreaches.net/2026/07/14/elon-musk-promises-to-delete-all-data-following-a-leak-of-users-confidential-information/
- https://x.com/elonmusk/status/2076739687658496209