• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia
Tech

Elon Musk is hunting for the leaker who published Twitter’s source code online—and execs think it is an ex-employee

Eleanor Pringle
By
Eleanor Pringle
Eleanor Pringle
Senior Reporter, Economics and Markets
Down Arrow Button Icon
Eleanor Pringle
By
Eleanor Pringle
Eleanor Pringle
Senior Reporter, Economics and Markets
Down Arrow Button Icon
March 27, 2023, 7:28 AM ET
Elon Musk in a suit looking over his shoulder
One of the 75% of staffers who has left Twitter since its takeover may have sabotaged it on their way out. Dimitrios Kambouris—Getty Images for The Met Museum/Vogue

Since his controversial takeover of Twitter, Elon Musk has reportedly been paranoid about being sabotaged by disgruntled staff—and his suspicions might have just been proven correct.

An internal manhunt has been launched to find an individual who posted online parts of Twitter’s source code, which provides the basis for the entire platform to function. According to the New York Times, the social media platform posted a filing to the U.S. District Court for the Northern District of California on Friday, and also sent a copyright infringement notice to online collaboration platform GitHub, where the code was leaked.

The request received by Microsoft-owned GitHub from Musk’s Twitter was viewed by Fortune. The request, filed under the Digital Millennium Copyright Act (DMCA), is from an unnamed Twitter staffer who was asking for “proprietary source code for Twitter’s platform and internal tools” to be removed from the site.

The form goes on to add that it does not have any details of the person who posted the link. Instead it provides a URL link to a “public space” on GitHub with a profile named FreeSpeechEnthusiast. The name is arguably a jibe at Twitter’s CEO himself who has previously called himself a “free-speech absolutist,” saying his commitment to free speech is so strong he will tolerate threats to his personal safety.

My commitment to free speech extends even to not banning the account following my plane, even though that is a direct personal safety risk

— Elon Musk (@elonmusk) November 7, 2022

However, it seems copyright infringements are one step too far for the Tesla CEO, with the DMCA request also hinting that an in-house hunt is also on. The request to GitHub adds it wants to be provided with “copies of any related upload / download / access history (and any contact info, IP addresses, or other session info related to same), and any associated logs related to this repo or any forks thereof, before removing all the infringing content from Github.”

GitHub did not confirm to Fortune whether it either gathered or provided this information to Twitter. It also would not confirm how long the source code has been online, though some reports suggest it could have been a matter of months.

The New York Times reports that the subpoena to the district courts also requests that they force GitHub to turn over the information. The federal court filing seen by the Financial Times was submitted by Julian Moore, director of Twitter’s internal legal team, who said the post included “proprietary source code for Twitter’s platform and internal tools.”

The search is on

The potential ramifications of this leak could be massive, sources familiar with the investigation told the New York Times. Firstly, the executives handling the internal investigation fear that the code could be used to identify and exploit security vulnerabilities, which in turn could lead to user data breaches or even take down the site.

On top of that, the leaked code could give competitors a glimpse into the San Francisco–based company’s inner workings, with GitHub’s audience a hotbed of employees working for other cutting-edge enterprises. GitHub describes itself as a platform to promote collaboration among developers, 90% of whom work for Fortune 100 companies.

Two people briefed on the internal investigation say executives believe the individual who posted the code left the company last year, following Musk’s takeover in October. Unfortunately for investigators, that doesn’t really narrow the pool, with around 75% of Twitter staffers either resigning or being laid off since the SpaceX founder took it over.

According to figures Musk put forward in December, Twitter’s headcount now stands at around 2,000 from the 7,500 he had in November. Among the teams reportedly axed are human rights, communication, machine learning ethics, transparency and accountability, and accessibility experience.

Such moves haven’t made him popular, with former employees telling Insider the CEO has become obsessed with the fear of sabotage, while other reports emerged that two bodyguards follow Musk around the social media platform’s offices—even into the restrooms.

It’s been a tough few days at Twitter for employees and Musk alike. Over the weekend, the member of the so-called PayPal Mafia admitted he thinks the value of the platform has fallen by more than half since he took it over; days before, he launched a 2:30 a.m. tirade telling employees to return to the office.

Twitter under Musk has reportedly eliminated its communications team, and under a new policy, Fortune received a 💩 emoji back when it approached the company for comment.

Subscribe to Well Adjusted, our newsletter full of simple strategies to work smarter and live better, from the Fortune Well team. Sign up today.
About the Author
Eleanor Pringle
By Eleanor PringleSenior Reporter, Economics and Markets
LinkedIn icon

Eleanor Pringle is an award-winning senior reporter at Fortune covering news, the economy, and personal finance. Eleanor previously worked as a business correspondent and news editor in regional news in the U.K. She completed her journalism training with the Press Association after earning a degree from the University of East Anglia.

See full bioRight Arrow Button Icon

Latest in Tech

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • World's Most Admired Companies
  • See All Rankings
  • Lists Calendar
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
  • Group Subscriptions
About Us
  • About Us
  • Lists Calendar
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • About Us
  • Lists Calendar
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Tech

Jensen Huang stands smiling with his arms outstretched.
Big TechBillionaires
‘Don’t leave’: Jensen Huang challenges billionaire class as he insists ‘highest taxes in the world’ are OK with him
By Jacqueline MunisApril 23, 2026
3 hours ago
Tesla stock dives on news that it earned next to nothing on cars in Q1, and plans to spend $25 billion in CapEx anyway
Big TechFinance
Tesla stock dives on news that it earned next to nothing on cars in Q1, and plans to spend $25 billion in CapEx anyway
By Shawn TullyApril 23, 2026
3 hours ago
Spotify just turned 20. Here’s how founder Daniel Ek built it into a $100 billion music empire by being the ‘least powerful person’ at the company
Big TechSpotify
Spotify just turned 20. Here’s how founder Daniel Ek built it into a $100 billion music empire by being the ‘least powerful person’ at the company
By Marco Quiroz-GutierrezApril 23, 2026
4 hours ago
anirudh
Conferencesdisruption
Cadence CEO on the AI boom and human nature: ‘there are more tools, but the human part is not different’
By Nick LichtenbergApril 23, 2026
5 hours ago
Meta, Microsoft look to trim workforces amid heavy AI spending
Big TechMeta
Meta, Microsoft look to trim workforces amid heavy AI spending
By Kurt Wagner, Brody Ford and BloombergApril 23, 2026
5 hours ago
A trader works at the New York Stock Exchange in New York on April 22, 2026.
Big TechMarkets
Stocks retreat from record highs as Tesla weighs on Wall Street and oil jumps on Iran uncertainty
By Stan Choe and The Associated PressApril 23, 2026
6 hours ago

Most Popular

When interest on national debt overtook military spending, it triggered a limit where the U.S. may ‘cease to be a great power,’ warns Hoover historian
Economy
When interest on national debt overtook military spending, it triggered a limit where the U.S. may ‘cease to be a great power,’ warns Hoover historian
By Eleanor PringleApril 23, 2026
13 hours ago
Officials will flush 50,000 toilets to flood a Utah lake in order to generate electricity
Environment
Officials will flush 50,000 toilets to flood a Utah lake in order to generate electricity
By Mead Gruver, Dorany Pineda and The Associated PressApril 22, 2026
1 day ago
Cursor’s 25-year-old CEO is a former Google intern who just inked a $60 billion deal with SpaceX
AI
Cursor’s 25-year-old CEO is a former Google intern who just inked a $60 billion deal with SpaceX
By Marco Quiroz-GutierrezApril 22, 2026
1 day ago
Craving work-life balance is a huge red flag, says Fortune 500 Europe CEO—and like Barack Obama, he happily works through weekends
Success
Craving work-life balance is a huge red flag, says Fortune 500 Europe CEO—and like Barack Obama, he happily works through weekends
By Orianna Rosa RoyleApril 22, 2026
2 days ago
'Something sinister could be happening': FBI looks into dead or missing nuclear and space defense scientists tied to NASA, Blue Origin, and SpaceX
Politics
'Something sinister could be happening': FBI looks into dead or missing nuclear and space defense scientists tied to NASA, Blue Origin, and SpaceX
By Catherina GioinoApril 21, 2026
2 days ago
The Iran war is pushing Southeast Asia to debate the once unthinkable: Whether ships will need to pay to transit the Strait of Malacca
Economy
The Iran war is pushing Southeast Asia to debate the once unthinkable: Whether ships will need to pay to transit the Strait of Malacca
By Angelica AngApril 23, 2026
13 hours ago

© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.