{"id":110394,"date":"2026-07-18T08:51:07","date_gmt":"2026-07-18T08:51:07","guid":{"rendered":"https:\/\/www.europesays.com\/ai\/110394\/"},"modified":"2026-07-18T08:51:07","modified_gmt":"2026-07-18T08:51:07","slug":"spacexai-open-sources-grok-build-after-users-found-it-secretly-uploaded-their-codebases","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ai\/110394\/","title":{"rendered":"SpaceXAI Open-Sources Grok Build After Users Found it Secretly Uploaded Their Codebases"},"content":{"rendered":"\n<p>TL;DR<\/p>\n<p>   Open Code: SpaceXAI has opened Grok Build\u2019s coding-agent harness and terminal-interface code under Apache 2.0. Local Control: Developers can inspect the agent loop and compile the harness for a user-selected model endpoint. Upload Response: Tests documented repository transmission, while SpaceXAI disabled uploads and committed to deleting retained coding data. History Limit: The public repository appears to have begun with one commit, limiting scrutiny of earlier upload behavior.    <\/p>\n<p>SpaceXAI has made Grok Build\u2019s coding-agent harness publicly auditable under Apache 2.0 on July 15. Grok Build\u2019s harness gathers context, interprets model responses, and dispatches tools through a terminal user interface. Opening the code followed a\u00a0<a href=\"https:\/\/winbuzzer.com\/2026\/07\/15\/grok-build-uploaded-repositories-before-remote-fix-xcxwbn\/\" target=\"_blank\" rel=\"nofollow noopener\">Grok Build repository-upload incident<\/a>, in which version 0.2.93 secretly transmitted complete Git bundles, portable packages of repository files and commit histories, to an xAI-controlled storage bucket.\u00a0<\/p>\n<p>SpaceXAI also <a href=\"https:\/\/x.com\/SpaceXAI\/status\/2077494535387828644\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">reset usage limits<\/a> after attributing unusually fast depletion to caching inefficiencies. It previously reset beta limits after caching improvements on May 26, making the new reset a separate action rather than part of the code license.<\/p>\n<p>Public repository history appears to have contained <a href=\"https:\/\/github.com\/xai-org\/grok-build\/commit\/b189869b7755d2b482969acf6c92da3ecfeffd36\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">one initial release commit<\/a> when checked on July 16. Developers can inspect the current implementation, but that snapshot cannot reveal how SpaceXAI introduced, reviewed, or changed the upload path during private development.<\/p>\n<p>SpaceXAI <a href=\"https:\/\/x.com\/SpaceXAI\/status\/2077494536788664782\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">disabled the secret repository uploads<\/a> after changing the default on July 12. Two server-side flags then changed, and six July 13 retests produced no storage uploads.<\/p>\n<p>SpaceXAI CEO\u00a0 Elon Musk <a href=\"https:\/\/x.com\/elonmusk\/status\/2076739687658496209\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">committed to deleting the data<\/a>, but completion still requires independent confirmation.<\/p>\n<p> What the Open Code Lets Developers Control <\/p>\n<p>SpaceXAI publishes its coding-agent harness and terminal interface in the <a href=\"https:\/\/github.com\/xai-org\/grok-build\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Grok Build repository<\/a>. Its agent loop assembles context and handles model responses. Adjacent components execute commands, render the terminal, review plans, and display inline code differences.<\/p>\n<p><a href=\"https:\/\/docs.x.ai\/build\/overview\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Interactive and headless modes<\/a> let developers work in a terminal or invoke the same tool layer through scripts and bots. Model Context Protocol servers, which use a standard for connecting agents to tools and data, join skills, plugins, hooks, and subagents in extending the harness. SpaceXAI has presented <a href=\"https:\/\/winbuzzer.com\/2026\/07\/09\/grok-45-targets-coding-workflows-with-lower-api-pricing-xcxwbn\/\" target=\"_blank\" rel=\"nofollow noopener\">Grok 4.5 for coding-agent workflows<\/a>, while the open harness makes one layer around the still-closed model inspectable.<\/p>\n<p>Developers who compile Grok Build can select a model endpoint through a local configuration file instead of relying only on SpaceXAI\u2019s hosted inference. Both interactive and automated routes expose the same dispatch logic for inspection. Teams can examine which commands the agent invokes, how it assembles workspace context, and which external services receive requests.<\/p>\n<p>Local compilation does not make every setup private by itself. Data handling still depends on the chosen endpoint, enabled tools, network settings, and installed extensions. Interactive mode keeps a person in the terminal for plan review and inline code differences, while headless mode lets scripts or bots invoke the tool layer without that continuous interface.<\/p>\n<p><a href=\"https:\/\/winbuzzer.com\/2026\/03\/24\/anthropic-claude-code-subagent-mcp-advanced-patterns-xcxwbn\/\" target=\"_blank\" rel=\"nofollow noopener\">Claude Code\u2019s subagents and Model Context Protocol integrations<\/a> illustrate how comparable extension systems can broaden an agent\u2019s access beyond its core runtime. Operators will still need to review permissions, network access, and the directories exposed to each Grok Build plugin, hook, or Model Context Protocol server.<\/p>\n<p>First-party modules use Apache 2.0, while <a href=\"https:\/\/github.com\/xai-org\/grok-build\/blob\/b189869b7755d2b482969acf6c92da3ecfeffd36\/crates\/codegen\/xai-grok-tools\/THIRD_PARTY_NOTICES.md\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">third-party components retain their licenses<\/a>. Simon Willison\u2019s count suggests the codebase includes <a href=\"https:\/\/simonwillison.net\/2026\/Jul\/15\/grok-build\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">844,530 lines of Rust<\/a> excluding whitespace and comments, with about 3% appearing to be vendored code.<\/p>\n<p>Developers can now inspect, compile, and adapt the published material, but the repository <a href=\"https:\/\/github.com\/xai-org\/grok-build\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">does not accept outside contributions<\/a>. SpaceXAI directs vulnerability reports to <a href=\"https:\/\/hackerone.com\/x?type=team\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">its HackerOne program<\/a> rather than accepting community patches. This means that SpaceXAI still retains control over merged fixes and future changes.<\/p>\n<p> The Upload Mechanism and Open-Source Alternatives <\/p>\n<p>A Grok Build user posting as @a_green_being had discovered that running the tool in a home directory <a href=\"https:\/\/x.com\/a_green_being\/status\/2076598897779020159\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">uploaded Secure Shell keys and personal files<\/a>, including a password-manager database, documents, photos, and videos. The listed files illustrate what can be exposed when a coding agent scans the wrong directory.<\/p>\n<p>The 12 GB proxy run of version 0.2.93 sent the transfer in 73 chunks. Model-turn traffic totaled about 192 KB, while a separate storage channel carried 5.10 GiB. Turning off model improvement did not stop the repository uploads because training consent and code transmission used separate controls.<\/p>\n<p>Published code for Grok Code still contains Google Cloud Storage plumbing, although the upload function now returns a <a href=\"https:\/\/github.com\/xai-org\/grok-build\/blob\/b189869b7755d2b482969acf6c92da3ecfeffd36\/crates\/codegen\/xai-grok-shell\/src\/upload\/trace.rs\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">hard-coded unavailable error<\/a>. Developers can audit that current state, but the one-commit history does not reconstruct the private code that produced the earlier behavior.<\/p>\n<p>OpenCode, Aider, and Cline give developers three shipping open-source alternatives for comparing model choice, local operation, extension design, contribution rules, and observable data paths. SpaceXAI\u2019s <a href=\"https:\/\/winbuzzer.com\/2026\/06\/16\/spacexs-60b-cursor-deal-puts-xai-in-ai-coding-race-xcxwbn\/\" target=\"_blank\" rel=\"nofollow noopener\">$60 billion acquisition of Cursor<\/a> also ties its coding-agent push to a previously rival development platform.\u00a0<\/p>\n<p>Future commits and independent transmission tests can clarify whether the current safeguards introduced in Grok Build will endure. As independent confirmation most probably will not be made available for whether SpaceXAI deleted coding data collected before uploads were disabled, users of Grok Build will just have to trust Elon Musk\u2019s promise.<\/p>\n","protected":false},"excerpt":{"rendered":"TL;DR Open Code: SpaceXAI has opened Grok Build\u2019s coding-agent harness and terminal-interface code under Apache 2.0. Local Control:&hellip;\n","protected":false},"author":2,"featured_media":106634,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[405,635,24500,1710,1998,111,638,140,17176,6364,24313,2415,658,19549,2899],"class_list":["post-110394","post","type-post","status-publish","format-standard","has-post-thumbnail","category-xai","tag-ai-agents","tag-ai-coding","tag-ai-privacy","tag-ai-security","tag-ai-tools","tag-artificial-intelligence-ai","tag-code-generation","tag-elon-musk","tag-elon-musk-companies","tag-grok","tag-grok-build","tag-open-source-ai","tag-spacex","tag-spacexai","tag-xai"],"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/110394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/comments?post=110394"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/110394\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media\/106634"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media?parent=110394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/categories?post=110394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/tags?post=110394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}