Grok Build uploaded whole codebases: privacy fix and /privacy
Melvin Vivas · X post · 2026-07-14 · Open on X
Topics: AI Safety, Security & Guardrails, AI Dev Tools & Productivity · Level: beginner
Summary
The creator quotes an xAI response about Grok Build's coding CLI. The CLI uploaded the full repository, including files it never read, to give the agent more context. After user reports, xAI turned the codebase bundle upload off by default on the server side. Users can run /privacy in the CLI to check and control data retention. The lesson: check what an agentic coding tool sends off your machine.
Key points
- Grok Build uploaded the whole repo bundle, including unread files, to support deep agentic coding.
- Many users saw this as crossing a privacy line.
- xAI disabled the codebase bundle upload on the server side; it is now off by default.
- Run
/privacyin the Grok Build CLI to check and control data retention. - Lesson: review the data-sharing defaults of any AI coding agent before pointing it at private code.
Resources mentioned
- Grok Build · tool · x.ai · free
xAI's agentic coding CLI; data sharing is on by default and can be turned off with /privacy.
Also in: Setting up Grok Bot for coding with Grok Build and Cursor CLI (Melvin Vivas on X · notes), Reusable GPU devbox: PyTorch/CUDA plus six coding agents (Melvin Vivas on X · notes), Handing off an unfinished Codex session to Grok Build (Melvin Vivas on X · notes), Grok Build finishes a task Codex left hanging (Melvin Vivas on X · notes) and 10 more
Try this
- Run `/privacy` in the Grok Build CLI to check and control data retention.
- Check what data your AI coding tools upload before using them on private repos.
More in AI Safety, Security & Guardrails
- Codex file deletions: why sandboxing matters for coding agents
- Keep Production .env Files Out of Your Coding-Agent Workspace
- Switching Agent Backends Over Zero Data Retention (ZDR) Concerns
- Turn off Grok Build's default data sharing with /privacy
- Coding Agent Risk: GPT 5.6 Sol Deleted a Mac User Directory
- Dario Amodei's Essay 'The Adolescence of Technology'