Musk Steps In: Grok Build Deletes User Data After Privacy Scare
The Privacy Storm Around Grok Build
It started with a simple test. A security researcher, curious about how Grok Build handled user data, set up a fake repository with unique markers. What they found was alarming: even with the "help improve the model" option turned off, the AI coding tool silently packaged the entire repository—including modification history—and sent it to a third-party bucket. The data transfer reached several gigabytes, containing sensitive directories with keys and configuration files.

Developer Panic
For developers, code repositories are sacred. They hold intellectual property, trade secrets, and access credentials. The news spread like wildfire across forums and social media. Many developers spent sleepless nights changing access keys, some even uninstalled Grok Build entirely. The trust, once broken, seemed hard to rebuild.
Musk's Response
Elon Musk didn't stay silent. In a rare personal response, he assured users that "zero anything whatsoever will remain"—meaning every byte of collected data would be erased. The xAI team acted quickly, stopping the unauthorized uploads and rolling out a new privacy feature that lets users turn off data retention with one click and trace any uploaded data.
Crisis Resolved, But Questions Remain
The entire crisis unfolded and was resolved within 48 hours. But the damage to trust may take longer to heal. This incident serves as a wake-up call for the entire agentic coding industry. When an AI assistant has the highest level of computer permissions, how do you balance productivity with privacy? It's a question every developer tool vendor must now face.
Key Points
- Grok Build was caught uploading user code repositories without explicit consent.
- A security researcher's test revealed the data transfer, even with privacy settings enabled.
- Elon Musk personally promised to delete all user data.
- xAI introduced a new privacy feature for one-click data retention control.
- The incident highlights the ongoing tension between AI assistance and user privacy.