Grok Build CLI Leaks Private Repositories

rickasaurus · x · 2026-07-14

xAI's Grok Build CLI was found to upload entire Git repositories to a Google Cloud bucket, including private codebases and unmasked API keys.

After researchers disclosed this through line-level analysis, the upload behavior appeared to be disabled via a hidden server-side switch. However, xAI has yet to clarify the scope of impact, data retention policies, or a deletion timeline. Even if the data is eventually deleted, credentials that have already left the local machine need to be rotated immediately.

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

Original post →

More from coding & agent

coding & agent channel →