Mentatcurated
Artificial Intelligence high · independent

Grok Build's open-source apology

xAI dumped the whole source of its coding agent into public view days after the tool was caught quietly uploading users' entire repositories to Google Cloud.

On July 15 xAI published the complete source of Grok Build, its terminal coding agent, under an Apache 2.0 licence. The gesture arrived days after security researchers found the same tool had been silently bundling users' repositories, one report listing SSH keys, a password-manager database, documents and photos, and shipping them to a Google Cloud bucket named grok-code-session-traces. Open-sourcing 844,530 lines of Rust is a striking act of contrition. The code is also the evidence.

The upload code is still compiled in. The only thing between your files and xAI's servers is a flag returned by a server xAI controls.

In one measured test, a task the model needed roughly 192 kilobytes of context for triggered 5.10 gigabytes of uploads, a 27,800-fold overreach; the same test through Anthropic's Claude Code and Google's Gemini CLI sent no repository bundles at all. So this was a design choice, not an industry habit. And the release confirms the upload path was never removed. It sits in the code still, switched off by a flag the server hands the client, which means xAI can turn it back on for anyone without shipping a new version.

The published repo answers a smaller question by accident: coding agents are not thin wrappers around an API. At 844,530 lines it is nearly the size of OpenAI's Codex CLI. It also arrived as a single squashed commit with no history, so you can read what the code does today but not what it did last week, or when the uploads began.

The lenses

Novelty 3
Impact · breadth 3
Impact · depth 3
Actionable 3
Delight 3
Substance 5
Hype 4

The facts

LicenseApache 2.0, source public on GitHub
The controversyCLI bundled entire user repos to a Google Cloud bucket without clear consent
The catchUpload code remains in the release, disabled only by a server-delivered flag
HistoryShipped as one squashed commit, so past behavior can't be audited
Open github.com →

How this connects

Tap a node to open it

How this connects