xAI Coding Tool Caught Uploading Entire Repository

OwariDa · x · 2026-07-14

According to retelling and cited content, xAI's Grok Build CLI was found to upload the entire Git repository it runs in to a Google Cloud bucket, potentially exfiltrating private codebases and unsanitized keys. After researchers performed link-layer analysis, these uploads were silently stopped via a hidden server-side switch.\n\nThe post mentions that in a 12GB test repo, the tool uploaded 5.1GB of data, while the actual coding task needed only 192KB; it grabbed the whole repo instead of the required files. The fix was implemented a day later via a hidden parameter disablecodebaseupload: true, and the "Improve the model" exit option did not prevent the upload.

Related event: Grok Build/CLI accused of silently uploading entire codebases; xAI promises to delete data(47 posts)→

Original post →

More from Safety

Safety channel →