Source: The Verge | The Register | ThenextWeb

For End Users

If you used Grok Build this week, your code may have been copied to a remote server. The CLI sent complete Git repositories, including full history and secrets that were deleted from your local repo. That means API keys, passwords, and other credentials could be exposed. Stop using the tool immediately. Rotate any credentials that may have been in the uploaded repo. Delete the local copy of the code if you suspect it was sensitive, and consider switching to a more privacy‑focused coding assistant. The vendor says the uploads are now disabled, but there is no public proof that previously uploaded data has been erased.

For Engineers and Researchers

A wire‑level analysis by the security team at Cereblab captured the HTTP traffic of Grok Build version 0.2.93. When the CLI reads a file, it creates a Git bundle of the entire repository and streams it to a Google Cloud Storage bucket owned by xAI. The bundle includes the full commit graph and any files that were previously removed from the repository, such as secrets that were “git‑filtered” out. The privacy toggle in the CLI only controls a per‑session flag; it does not stop the bundle creation. After the issue was reported, xAI added a server‑side flag disablecodebaseupload: true which stops the upload. The fix is not exposed to users, and the /privacy command still only toggles the per‑session flag. Compared with other coding CLIs like Claude Code or Gemini, Grok Build’s default behavior is far more aggressive: it ships millions of bytes per request instead of just the files referenced in the prompt. The researchers published a reproduction repo on GitHub that includes a mitmproxy harness to capture the traffic and a script to reconstruct the uploaded bundle. The findings raise questions about the design of “zero data retention” policies in LLM‑backed developer tools.

The Skeptical Take

Elon Musk has promised a “complete and utter” deletion of all previously uploaded data, but no independent audit has verified the purge. The company’s public statements rely on a silent server flag rather than a transparent, user‑controllable setting. It is possible the data was retained only briefly for debugging and then deleted, but the lack of third‑party verification leaves a cloud of doubt. Moreover, Grok Build’s privacy toggle was always advertised as a safety feature, yet it never prevented the upload. The episode underscores a pattern of privacy oversights in newer AI coding tools, but the final impact on users’ secrets remains uncertain.

Word count: 434

Written at: 2026-07-15T01:08:00Z