Elon Musk Twitter account seen on Mobile with Elon Musk in the background on screen, seen in this photo illustration. On 19 February 2023 in Brussels, Belgium.
Jonathan Raa | Nurphoto | Getty Images

Pieces of the computer code used to run Twitter were leaked online, according to court filings, marking the social media site’s latest hurdle since Elon Musk’s tumultuous $44 billion takeover of the company late last year.

Twitter issued a subpoena on March 24 to the software collaboration platform GitHub, where a user identified as “FreeSpeechEnthusiast” shared excerpts of Twitter’s source code without permission, according to the filings. The purpose of the subpoena is to identify the person responsible for sharing the code, Twitter’s counsel said in the documents.

The documents were filed with the U.S. District Court for the Northern District of California.

GitHub complied with Twitter’s request and removed the code that same day, the company confirmed to CNBC. A spokesperson said that the company publicly shares all DMCA takedowns, which occur when content is removed from a website at the request of a copyright holder, in the interest of transparency.

Twitter did not immediately respond to requests for comment.

Musk has previously claimed that Twitter will open source the code used to recommend tweets on March 31. He said he expects people will find “silly” issues, and that providing code transparency will be “incredibly embarrassing” at first.

According to the DMCA request shared by GitHub, the company removed “proprietary source code for Twitter’s platform and internal tools.” It is unclear if the source code used to recommend tweets is part of the leak.

You May Also Like

These are the 2021 CNBC Disruptor 50 companies

In the ninth annual Disruptor 50 list, CNBC highlights the private companies…
Samsung Galaxy Tab S10 FE, Galaxy Tab S10 FE+ Display, RAM, Storage Details Tipped

Samsung Galaxy Tab S10 FE, Galaxy Tab S10 FE+ Display, RAM, Storage Details Tipped

Samsung might be preparing to unveil the Galaxy Tab S10 FE series comprising…
Meet Partiful, the Gen Z party-planning staple that’s taking on Apple

Meet Partiful, the Gen Z party-planning staple that’s taking on Apple

Partiful’s CEO, Shreya Murthy, and CTO, Joy Tao Courtesy: Partiful When Shreya…

J.D. Vance, an ally of tech investor Peter Thiel, made almost $1 million in the period before he launched his Ohio Senate campaign

JD Vance, the venture capitalist and author of “Hillbilly Elegy,” takes photos…