AI Pulse by Inblix

xAI open-sources Grok Build after it vacuumed up user SSH keys

The Decoder · Jul 16, 2026 · 2 min read · Read original article →

Curated by the Inblix editorial team


Featured image for article: xAI open-sources Grok Build after it vacuumed up user SSH keys

You can’t make this stuff up. xAI’s coding agent Grok Build landed in a privacy firestorm after users discovered it was silently uploading entire directory contents—SSH keys, password databases, personal documents, photos, the works—to the company’s Google Cloud servers. One user flagged the breach, and the backlash was immediate. Elon Musk responded by pledging all uploaded data would be deleted, and the upload feature was swiftly disabled.

Now xAI is trying to rebuild trust the hard way: radical transparency. The company has published the full Grok Build source code on GitHub under the permissive Apache 2.0 license. That’s roughly 844,530 lines of Rust, spanning the agent loop, terminal UI, shell command execution, and an extension system for plugins and subagents. For developers who want zero ambiguity about where their data goes, the tool can now run entirely locally. No cloud dependency.

Grok Build itself is a terminal-based coding agent invoked with the grok command. It reads and edits codebases, runs shell commands, searches the web, and handles long-running tasks. It can operate interactively, headlessly for scripting and CI pipelines, or embedded in editors through the Agent Client Protocol. The architecture is genuinely flexible—which makes the upload debacle all the more frustrating, because the tool underneath the privacy landmine is actually interesting.

I’m of two minds here. Open-sourcing is the right move, and doing it under Apache 2.0 rather than some restrictive license signals they’re serious. But remnants of the upload function are still visible in the codebase, just disabled. xAI says data storage has been off by default since July 12. The question isn’t whether the code is clean now—it’s whether developers who got burned will trust a Musk-led company with anything that touches their filesystem again. Trust like that doesn’t regenerate with a pull request.

💡 Key Takeaways

  1. Grok Build silently uploaded entire directories—including SSH keys and password files—to xAI's cloud servers before the feature was disabled and the code open-sourced.
  2. The full codebase, roughly 844,530 lines of Rust, is now on GitHub under Apache 2.0 and can run entirely locally with no cloud dependency.
  3. Remnants of the upload function remain in the code but are disabled; xAI claims data storage has been off by default since July 12.
  4. The tool supports interactive use, headless scripting for CI, and editor embedding via the Agent Client Protocol, making it architecturally versatile despite the privacy disaster.

Keep reading: See related articles below for more coverage on this topic.

Get smarter about AI

The sharpest AI news, curated daily. Delivered free to your inbox.

Learn more

Glossary terms

← Back to all articles