
xAI open-sources "Grok-Build" on GitHub after massive data breach
Quick Answer
xAI's Grok Build faced backlash for uploading sensitive user files to its servers, prompting Elon Musk to announce data deletion.
Quick Take
xAI's Grok Build faced backlash for uploading sensitive user files to its servers, prompting Elon Musk to announce data deletion. In response, xAI has open-sourced Grok Build on GitHub under the Apache 2.0 license, allowing local execution and ensuring transparency after disabling the upload feature.
Key Points
- Grok Build uploaded sensitive files, including SSH keys and password databases, to xAI's servers.
- Elon Musk confirmed that all uploaded user data would be deleted following the breach.
- The tool is now open-sourced on GitHub, with about 844,530 lines of Rust code.
- Grok Build can run locally and supports interactive and headless modes.
- Data storage has been off by default since July 12, 2023.
📖 Reader Mode
~1 min readxAI's AI coding agent "Grok Build" drew heavy criticism after users discovered it uploaded all files in a directory to xAI's Google Cloud servers. One user reported that SSH keys, password databases, documents, and photos were transferred. Elon Musk then announced that all uploaded user data would be fully deleted. xAI disabled the upload feature and published the full source code on GitHub under the Apache 2.0 license to rebuild trust.
Grok Build is a terminal-based coding agent invoked via the grok command. It can read and edit codebases, run shell commands, search the web, and manage long-running tasks, either interactively, headlessly for scripting and CI, or embedded in editors via the Agent Client Protocol (ACP).
By open-sourcing the tool, xAI wants to provide full transparency. Grok Build can now also run entirely locally. The codebase spans about 844,530 lines of Rust and covers the agent loop, tools, terminal UI, and an extension system for plugins and subagents. Remnants of the upload function are still in the code but disabled. According to xAI, data storage has been off by default since July 12.
— Originally published at the-decoder.com
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from The Decoder
See more →
An AI model programmed nonstop for 19 days on a single MirrorCode task that cost $2,600 to run
Epoch AI's MirrorCode benchmark reveals Claude Opus 4.7 as the leader with a 56% solve rate, reconstructing a 16,000-line toolkit in 14 hours. Despite this, all models tested struggle with the most complex tasks, highlighting limitations in current AI capabilities. The single task consumed $2,600 over 19 days, raising questions about cost-effectiveness in AI development.

