# SpaceXAI’s Grok Tool Was Uploading Users’ Codebases to Cloud Storage

Developer code was uploaded to the cloud without permission, company disabled the feature.

- **Source:** [The Verge](https://www.theverge.com)
- **Published:** 2026-07-14
- **Topic:** [Data & AI](https://brifing.si/c/data-ai)
- **Original article:** <https://www.theverge.com/ai-artificial-intelligence/965600/spacexai-grok-build-repository-upload>
- **On Brifing:** https://brifing.si/s/f2d23a5d-b681-4a90-bbb4-12ec15ed5c01

## Developer Code Uploaded to Cloud Without Permission

SpaceXAI’s Grok Build AI coding tool was found to upload users’ entire code repositories to Google Cloud. This included sensitive information and deleted files, leading to a significant data breach.

## Researchers Uncovered the Issue

Research by Cereblab revealed that Grok Build CLI packaged and uploaded users’ code to the cloud. This represented much greater data retention compared to similar tools.

## SpaceXAI Disabled the Feature

The company, upon discovering the issue, disabled the code upload feature. Researchers confirmed that servers no longer execute this function.

## Statement from Elon Musk

Elon Musk stated on X that all data previously uploaded by Grok Build would be completely deleted. He also emphasized that privacy settings are always respected.

## Concerns Over Data Privacy Violation

Independent security researcher Dr. Lukasz Olejnik noted that such extensive data retention is excessive and could include proprietary source code, security vulnerabilities, and personal information.

## A Crucial Warning for Developers

This incident highlights the need for caution regarding data privacy in AI tools. Developers should carefully review the data retention policies of the tools they use.

## Sources covering this story

- https://www.theverge.com/ai-artificial-intelligence/965600/spacexai-grok-build-repository-upload — 

---

_Summary written by Brifing from the original reporting. Copyright in the original article belongs to its publisher; read the full piece at the link above._
