Skip to main content

Twitter braces itself after source code leaked online

Parts of Twitter’s source code have been leaked online, according to a legal filing with the U.S. District Court of the Northern District of California.

First reported by the New York Times, the contents of Twitter’s source code — the all-important software that powers the platform and makes it work — showed up on GitHub, an internet hosting service for software development.

When it learned on Friday that its source code was on GitHub, Twitter sent it a copyright infringement notice that demanded the code’s immediate removal.

GitHub complied with the removal request, but the Times suggests the code may have already been exposed on the site for “at least several months.”

Twitter is also trying to get the court to order GitHub to reveal the identity of the person who leaked the source code, along with the names of anyone who may have downloaded it.

The fear is that the code could reveal vulnerabilities in the platform, making it easier for hackers to exploit those weaknesses for nefarious purposes. Outcomes could include the site being knocked offline or user being data stolen and sold.

Citing two individuals with knowledge of the matter, the Times said that Twitter executives believe that whoever leaked the code likely departed the company last year as part of sweeping cuts made by the new owner, Elon Musk, who acquired the platform in October 2022 in a deal worth $44 billion.

Considering the upheaval Twitter has undergone in recent months, the incident suggests a disgruntled former employee may have been involved in the potentially damaging transgression.

Due to its huge importance, source code is a prime target for hackers. Despite companies’ best efforts to protect it, there have been plenty of incidents where perpetrators have managed to nab the precious code. Microsoft, Samsung, and LastPass, to name just a few, have all seen source code taken by hackers in just the last year or so.

But in Twitter’s case, parts of its source code were simply uploaded to the web, making it easy for anyone to access.

Twitter, and its community of more than 230 million daily active users globally, will now be watching and waiting to see if the incident leads to any major trouble for the social media platform.

Editors' Recommendations

Trevor Mogg
Contributing Editor
Not so many moons ago, Trevor moved from one tea-loving island nation that drives on the left (Britain) to another (Japan)…
Twitter’s SMS two-factor authentication is having issues. Here’s how to switch methods
A person's hands holding a smartphone as they browse Twitter on it.

It might be a good idea to review and change your two-factor authentication options for Twitter. Elon Musk's Twitter has another issue for its users to worry about.

Twitter has reportedly been having issues with its SMS two-factor authentication feature (2FA). According to Wired, beginning as early as this past weekend, some Twitter users have reported difficulties logging in to their Twitter accounts due to the app's SMS 2FA feature not working properly. Essentially, the feature relies on the app sending users an authentication code via text message, which they can then enter as a second step in the login process.

Read more
Twitter has reportedly suspended signups for Twitter Blue
Twitter Blue menu option on a white screen background which is on a black background.

The start of Elon Musk's tenure as owner of Twitter has not been without its struggles and chaos. And so far, the chaos Twitter currently finds itself in shows no signs of letting up anytime soon.

So it seems fitting that the latest news on the Twitter front is that signups for the microblogging platform's $8-per-month Twitter Blue subscription have reportedly been suspended. On Friday, Forbes reported that new signups for Twitter's newly revamped Blue subscription have apparently been disabled, having "verified that users have not been able to sign up to the service for more than an hour," and also citing that the option to sign up for Blue on the iOS app had disappeared as further proof of the suspension. The Verge also noted that some users may still see the option to subscribe, only to then be met with an error message. One of the editors at Digital Trends said the option to sign up for the service is just missing from his iOS app's menu, noted that it had been like that "since at least 8 p.m. PT last night," and shared the following screenshot:

Read more
Twitter begins rollout of new gray check marks only to abruptly remove them
Elon Musk.

In the middle of writing an article about Twitter's initial rollout of a new gray check mark verification badge, we noticed something odd: Twitter accounts that had the new gray check marks only minutes earlier were suddenly without them again. So what happened?

Elon Musk apparently happened. Mere hours after his newly purchased social media platform began its rollout of a new gray check mark in an effort to help clarify which high-profile accounts were actually verified, the new gray check marks began disappearing from various accounts, evidently at Musk's behest. Just take a look at this tweet conversation between web video producer Marques Brownlee and Musk:

Read more