xAI’s Grok Build uploaded users’ entire codebases to cloud storage before being disabled
Third-party researchers found the CLI tool sent full repositories—including files explicitly excluded—to Google Cloud; xAI says all previously uploaded data will be deleted.
2 sources · cross-referenced
- xAI disabled its Grok Build CLI tool after researchers found it uploading entire user codebases to Google Cloud, including files users instructed it not to open.
- Cereblab’s report alleged the upload included secrets deleted from history, exceeding data retention seen in comparable tools like Claude Code.
- xAI initially suggested users could disable data retention via a /privacy command, but researchers disputed that as the effective fix.
- Elon Musk said all previously uploaded data will be ‘completely and utterly deleted’ and asked users to allow xAI to retain data for debugging.
- An independent security researcher characterized the volume of retained data as ‘excessive’ and potentially exposing proprietary code, security details, and credentials.
Third-party research group Cereblab reported that xAI’s Grok Build CLI tool was automatically packaging and uploading users’ entire code repositories to Google Cloud storage before the feature was disabled. According to Cereblab’s findings, the uploads included files that users had explicitly instructed the tool not to open, as well as secrets that had been deleted from repository history, indicating broader data collection than comparable developer tools such as Anthropic’s Claude Code.
Cereblab said its tests as of the report’s publication showed xAI servers returning a ‘disable_codebase_upload: true’ flag and confirmed the codebase upload mechanism was no longer active. The researchers characterized the amount of data retained by default as ‘excessive’ and warned it could encompass proprietary source code, information about security vulnerabilities, personal data, infrastructure details, and credentials.
xAI initially responded by stating that users could disable data retention via a ‘/privacy’ command in the CLI, asserting that enabling this setting would also delete previously synced data. Cereblab disputed this characterization, saying the ‘/privacy’ flag is a per-session toggle and was not the mechanism that disabled the upload behavior.
Elon Musk posted on X that all data Grok Build had previously uploaded would be ‘completely and utterly deleted.’ He also asked users to allow xAI to retain their data, asserting it is ‘helpful for debugging issues,’ and reiterated that ‘privacy settings are always respected.’ An independent security researcher at King’s College London, Dr. Lukasz Olejnik, separately told The Verge the volume of retained data was excessive given the sensitivity of codebase contents.
- Jul 15, 2026 · The Verge — AI
Leaked files show Suno trained AI music models on scraped songs from YouTube, Deezer, and Genius
Trust76 - Jul 14, 2026 · The Verge — AI
Meta sued over alleged use of AI to target employees on leave in layoffs
Trust74 - Jul 14, 2026 · The Verge — AI
Apple’s Siri AI beta in iOS 27 delivers onscreen task handling but still struggles with precise intent parsing
Trust71