Grok Build AI Coding Assistant Secretly Uploaded Entire User Repositories Including Git History and Secrets to Google Cloud
Grok Build, the command-line coding tool developed by Elon Musk’s xAI, was found transmitting complete Git repositories — including full commit history and previously deleted sensitive files — to Google Cloud storage even when users issued minimal commands such as “OK”. Security researcher Cereblab discovered that the tool ignored explicit instructions not to access files and packaged entire codebases regardless of the task. The behavior contrasted sharply with competing assistants like Claude Code, Gemini, and Codex, which transmit only the minimal files required. After public disclosure, xAI enabled a server-side disable_codebase_upload flag and promised to delete all previously collected data, while also open-sourcing the tool and disabling data retention by default from July 12. Cereblab criticized the lack of secure defaults, noting that users had to manually run a /privacy command that did not actually stop the uploads. The incident raises ongoing concerns about whether xAI has truly erased the large volumes of source code, SSH keys, password-manager databases, and other secrets that were collected without explicit consent.
securitylab_n•AI Security