Tech News

X Open Source: Elon Musk Says He’ll Release the Entire Codebase

Elon Musk has promised to open up all of X’s code, without exception, in a move meant to signal transparency for the social network. But in practice, the announcement should be taken with caution: no timeline has been shared, and the news comes just days after a data leak scandal involving Grok Build.

The owner of X (formerly Twitter) made the announcement in a simple post on his platform. In this message posted on July 15, 2026, he explains that the codebase will be opened once the security audit has been completed. The idea is to identify and patch any major security flaws before publishing the source code. Above all, it is a way to protect users.

"Once our security vulnerability review is complete, we will make the entire codebase of X open source, with no exceptions," Elon Musk wrote. He adds that third-party auditors will be invited to analyze the published code to confirm that it is indeed the code running in production.

Musk ends his message with a statement: "Trust through total transparency is the only thing we should believe in." - Still, the announcement is vague. No date, no license specified. What if this is just a way to put out the fire?

A promise that comes right after the Grok Build scandal

You have to look beyond the announcement and focus on the current context. It was posted on the same day that Grok Build, xAI’s coding agent, was opened up, and just a few days after a privacy controversy involving user data.

As a reminder, according to an analysis by a security researcher, Grok Build’s command-line tool (version 0.2.93) was sending entire Git repositories to a Google Cloud Storage bucket named grok-code-session-traces, without users knowing. This included the full Git history, untracked files, and secrets (such as .env files). I already wrote a full article about this case: Grok Build: SpaceXAI’s tool was shipping your code repositories to Google.

The security incident generated a lot of attention. It is hard not to see the promise to make X open source as an attempt to win back developers’ trust. More importantly, Elon Musk has made this kind of promise before, and has not always kept it.

DateMilestonePromise status
March 31, 2023Twitter publishes part of its recommendation algorithm (twitter/the-algorithm)Partially kept. The search algorithm, promised "for sure", was never released.
March 11 to 17, 2024xAI opens Grok 1Promise kept. Announced on March 11, delivered on March 17, just 6 days later.
August 23, 2025xAI publishes the Grok 2.5 weights (xai-org/grok-2, about 500 GB) on Hugging FaceKept for the weights, but this is not open source in the OSI sense
~February 2026Grok 3 expected (promise made on August 23, 2025: "in about 6 months")Promise not kept. No open-source Grok 3 has been released to date.
~January 10 to 20, 2026X opens its new full recommendation algorithm (xai-org/x-algorithm), Grok-type transformer architecturePromise kept, but with a caveat: auditable code, but the weights and production configs are missing (ranking not reproducible)
May 15, 2026Major update to x-algorithm (187 files, more than 18,000 lines)Kept. The "every 4 weeks" cadence promised in January, though with some nuance (see below)
July 15, 2026xAI opens Grok Build (a Rust coding agent plus terminal interface, about 844,500 lines)Release in a crisis context (mentioned above)
July 15, 2026Announcement that the entire X source code will be published.To be continued!

And you, do you believe X’s source code will actually be published?

author avatar
Florian Burnel Co-founder of IT-Connect
Systems and network engineer, co-founder of IT-Connect and Microsoft MVP "Cloud and Datacenter Management". I'd like to share my experience and discoveries through my articles. I'm a generalist with a particular interest in Microsoft solutions and scripting. Enjoy your reading.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.