Some of Twitter's source code was apparently posted online

Keep it secret, keep it safe.
 By 
Alex Perry
 on 
Twitter logo on phone screen over red background
Things are going great for Twitter. Credit: Jaap Arriens/NurPhoto via Getty Images

Twitter went public in a very unexpected way recently after company officials discovered a significant leak of the social media platform's source code.

A new report from The New York Times found that an unspecified part of that source code (the code that makes the site work, basically) had been publicly posted on Github.

Twitter filed a copyright claim and had the code taken down last Friday, but according to the Times, it had been public on the site for "several months," posted by a mysterious, unidentified user named "FreeSpeechEnthusiast."


You May Also Like

The big concern here for Twitter, both as a company and as a social platform, is that public source code could make it easier for ne'er-do-wells to exploit the service. Twitter has already been rife with high-profile hacks over the last couple of weeks, as accounts belonging to the dude from Duck Dynasty and the band Smash Mouth were stolen and used for MacBook sale scams.

Between that and Twitter turning off text-based two-factor authentication last week, it hasn't been a banner month for security on the site.

Twitter asked a U.S. District Court in northern California to force Github to identify whoever posted the code to its site. Company executives handling an internal investigation of the leak believe it was possibly someone who left the company recently, The New York Times reports. With Twitter layoffs impacting thousands of employees since Elon Musk bought the company last year, it doesn't seem to be a massive leap in logic.

journalist alex perry looking at a smartphone
Alex Perry
Tech Reporter

Alex Perry is a tech reporter at Mashable who primarily covers video games and consumer tech. Alex has spent most of the last decade reviewing games, smartphones, headphones, and laptops, and he doesn’t plan on stopping anytime soon. He is also a Pisces, a cat lover, and a Kansas City sports fan. Alex can be found on Bluesky at yelix.bsky.social.

Mashable Potato

Recommended For You
Google launches Gemma 4, a new open-source model: How to try it
Google Gemma

AI chatbots like ChatGPT are using info from Elon Musk's Grokipedia, report reveals
Grokipedia logo on mobile device


Prime members can get $5 off Grubhub right now (here's the code)
Amazon prime boxes sitting next to a grubhub bag.

Score the Amzmerit smart scale for its best-ever price on Amazon — save $50 with this handy coupon code
Amzmerit smart scale with blue abstract background

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

Google launches Gemma 4, a new open-source model: How to try it
Google Gemma

NYT Strands hints, answers for April 3, 2026
A game being played on a smartphone.

The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!