Grok uploaded my user directory to xAI's servers
TL;DR Highlight
A user claims running Grok in their home directory uploaded SSH keys and more to xAI
Who Should Read
Developers who run AI coding agents like Grok Build in local repos or their home directory
Core Mechanics
- Claim: whole home directory uploaded
- One user said grok uploaded their entire user directory to xAI's servers.
- They say it included SSH keys, a password manager database, documents, photos and videos.
- Check logs for repo_state.upload
- Another user told people to grep ~/.grok/logs/unified.json for repo_state.upload.
- The thread presents this as a way to find upload traces.
- Claim: 12GB repo data and git history uploaded
- The same user said Grok Build sent 12GB of untouched repo data and full git commit histories to GCP.
- They say this happened just to autocomplete a script.
- Running in home directory made it worse
- A quoted reply said running grok in the home directory was worse than the earlier case.
- Claim: kill switch contradicts behavior
- One user said settings returned disable_codebase_upload: true.
- They say Codex and Anthropic still found indirect evidence of 8 private repos uploaded.
Community Reactions
- Duplicate thread notice
- A moderator pointed to an earlier HN thread on the same topic.
- Mirror links shared
- Commenters shared xcancel and nitter links to read the post without logging in.
- No hands-on verification in comments
- There were no reproductions or xAI responses, only a flagged comment and a quip.
How to Apply
- Grep your logs for upload traces today
- If you used Grok Build, grep repo_state.upload in ~/.grok/logs/unified.json.
- Note the timestamps and paths of any hits.
- Run coding agents in an isolated folder
- Run them only in the project folder or a container, not your home directory.
- Keep SSH keys and password databases outside that path.
- Rotate secrets if you suspect uploads
- If you ran it in your home directory, reissue SSH keys and tokens.
- Tell your security owner if private repos are involved.
Try It
# Paste in terminal: check for Grok Build upload traces (command from the post)
cat ~/.grok/logs/unified.json | grep repo_state.upload
# If you get hits, check the timestamps and paths in those log lines.
# Next: run agents only in a project folder, not your home directory.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques