Twitter’s source code has partially leaked online, according to a legal filing by the social media giant.
Twitter asked GitHub, an online software development platform, to remove the code after it was posted online without permission earlier this month, the legal document filed in the US state of California showed on Sunday.
GitHub complied with Twitter’s request to remove the code after the social media company on March 24 issued a subpoena to identify a user known as “FreeSpeechEnthusiast”, according to the filing with the US District Court of the Northern District of California. San Francisco-based Twitter noted in the filing that the postings infringe on the platform’s intellectual property rights.
The filing was first reported by The New York Times.
The leak of the code is the latest hiccup at the social media giant since its purchase by Elon Musk, whose tenure has been marked by mass layoffs, outages, sweeping changes to content moderation and heated debate about the proper balance between free speech and online safety.
Musk, who bought Twitter for $44bn last October, said recently that Twitter would open the source code used to recommend tweets on March 31. Musk, who also runs Tesla and several other companies, said the platform’s algorithm was overly complex and predicted people would find “many silly things” once the code was made public. It is not clear if the leaked source relates to the code used to recommend tweets.
“Providing code transparency will be incredibly embarrassing at first, but it should lead to rapid improvement in recommendation quality,” he wrote on Twitter. “Most importantly, we hope to earn your trust.”