Grok Build CLI Suspected of Uploading Entire Repos

Tiancaixinxin · x · 2026-07-13

Packet sniffing reveals that Grok Build CLI appears to bundle entire repositories (including full Git history) into a git bundle and uploads them to xAI's Google Cloud Storage.

More critically, files read by the CLI are also transmitted, potentially exposing .env secrets. Even when explicitly prompted "not to read any files" or when "Improve the model" is disabled, the uploading behavior persists.

The original post notes that there is no clear explanation for this mechanism in official announcements or changelogs, advising against using it for sensitive repositories until an update clarifies the issue.

Related event: xAI's Grok Build CLI Allegedly Uploads Entire Repos and Secrets(5 posts)→

Original post →

More from coding & agent

coding & agent channel →