# Filing: some Twitter source code was leaked by user “FreeSpeechEnthusiast” on GitHub, which removed the code to comply with Twitter's DMCA notice on March 24

GitHub removed leaked Twitter source code after a DMCA notice as Twitter sought to identify the uploader and other downloaders.

Record as of 27 March 2023. Labels written by Codex, for review. JSON: <https://texxr.com/v3/article/838426.json>

## Filing: some Twitter source code was leaked by user “FreeSpeechEnthusiast” on GitHub, which removed the code to comply with Twitter's DMCA notice on March 24

*as of 27 March 2023; judged by one reader, needs review*

**In one line:** The publisher’s headline and the coverage around it.

New York Times · [27 March 2023](/2023/03/27) · [Read original](https://www.nytimes.com/2023/03/26/technology/twitter-source-code-leak.html)

The leak adds to the challenges facing the [Elon Musk](/entity/elon-musk)-owned company, which is trying to unmask the person responsible and any other people who downloaded the code.

**Context**

The leak landed amid unusually visible scrutiny of [Twitter](/entity/twitter)'s internal engineering practices, following reports that engineers had been asked to print and then shred recent code. The episode tests the company's control over proprietary software as ownership and internal processes were changing.

Related coverage shows two distinct responses: Twitter obtained a [court order to seek identifying information from GitHub](/838529) and later published a limited portion of its recommendation code while keeping its ad-recommendation logic private in a [selective open-source release](/838609).

*First-order effects*

- [GitHub](/entity/github)'s [DMCA](/entity/dmca) removal takes the reported code out of the public repository, while Twitter shifts resources toward identifying the uploader and possible downloaders.
- Twitter must assess what the removed code exposed and distinguish it from code it may choose to disclose publicly.

*Second-order effects*

- The subpoena effort turns a repository-hosting takedown into an evidence and identity process, making GitHub a key intermediary in Twitter's response.
- The later selective code release creates a clearer boundary between transparency around user-facing recommendations and protection of commercially sensitive systems, particularly advertising logic.

*Third-order effects*

- If this pattern persists, major platforms may pair narrower public code disclosures with tighter provenance, access, and incident-response controls for the rest of their software estate.
- The case underscores that code-hosting platforms increasingly sit at the intersection of developer collaboration, intellectual-property enforcement, and investigations into unauthorized disclosure.

**The trend:** This is one instance of platforms pursuing controlled transparency while strengthening the software-delivery controls around proprietary code.

Related: [Software-delivery control plane](/concepts#software-delivery-control-plane) · [Provenance by design](/concepts#provenance-by-design) · [Twitter](/entity/twitter) · [GitHub](/entity/github) · [Twitter subpoena order for GitHub information](/838529) · [Twitter's selective open-source release](/838609)

**Entities**

- [DMCA](/entity/dmca)
- [GitHub](/entity/github)
- [Twitter](/entity/twitter)
- [Elon Musk](/entity/elon-musk)

**Related coverage**

- [dmca\|  /2023\|  /03\|  /2023-03-24-twitter.md  —  Are you the copyright holder or authorized …](https://github.com/github/dmca/blob/master/2023/03/2023-03-24-twitter.md) · GitHub
- [Leaked Twitter Source Code Was Available Online for Months](https://www.pcmag.com/news/leaked-twitter-source-code-was-available-online-for-months) · PCMag · Matthew Humphries
- [Twitter Hunts Down Github User Who Leaked Company's Source Code](https://torrentfreak.com/twitter-hunts-down-github-user-who-leaked-companys-source-code-230327/) · TorrentFreak · Andy Maxwell
- [The latest mass ransomware attack has been unfolding for nearly two months](https://www.washingtonpost.com/politics/2023/03/27/latest-mass-ransomware-attack-has-been-unfolding-nearly-two-months/) · Washington Post
- [Twitter source code leaked online, court filings show](https://www.cnbc.com/2023/03/26/twitter-source-code-leaked-online-court-filings-show-.html) · CNBC · Ashley Capoot
- [Twitter Source Code Leaked Online, Company Demands GitHub Reveal Leaker's Name](https://metacurity.substack.com/p/twitter-source-code-leaked-online) · Metacurity · Cynthia Brumfield
- [Some of Twitter's source code leaked, raising security concerns](https://9to5mac.com/2023/03/27/some-of-twitters-source-code-leaked-raising-security-concerns/) · 9to5Mac · Ben Lovejoy
- [Twitter hunts Github user who posted company's source code online](https://www.mercurynews.com/2023/03/27/twitter-hunts-github-user-who-posted-source-code-online/) · Associated Press · Anne D'Innocenzio
- [Gone in 120 seconds: Tesla Model 3 child's play for hackers](https://www.theregister.com/2023/03/27/in_brief_security/) · The Register · Iain Thomson
- [The Morning After: Some of Twitter's source code may have leaked online](https://www.engadget.com/the-morning-after-twitter-source-code-may-have-leaked-online-111545469.html) · Engadget · Mat Smith
- [Elon Musk Tells William Shatner Subscription-Only Twitter Blue Check-Marks Are ‘About Treating Everyone Equally’](https://variety.com/2023/digital/news/elon-musk-william-shatner-twitter-blue-check-marks-verified-1235565049/) · Variety · Todd Spangler
- [GitHub takes down repository containing Twitter's source code](https://techcrunch.com/2023/03/27/github-takes-down-repository-containing-twitters-source-code/) · TechCrunch · Ivan Mehta
- [Twitter says source code was leaked on GitHub, now it's trying to find the culprit](https://www.theverge.com/2023/3/27/23657928/twitter-source-code-leak-github) · The Verge · Jon Porter
- [Elon Musk: Twitter says parts of source code leaked online](https://www.bbc.com/news/business-65084254) · BBC
- [Elon Musk is hunting down a leaker who posted classified codes online](https://fortune.com/2023/03/27/elon-musk-hunting-twitter-employee-leaked-published-platform-source-code-online/) · Fortune · Eleanor Pringle
- [Twitter source code leaked online, court filings show](https://techstartups.com/2023/03/27/twitter-source-code-leaked-online-court-filings-show/) · Tech Startups · Nickie Louise
- [Twitter Source Code Leak Turns Into Hunt for the Perpetrator](https://www.bloomberg.com/news/articles/2023-03-27/twitter-source-code-leak-turns-into-hunt-for-perpetrator) · Bloomberg · Dana Hull
- [Part of Twitter's source code was apparently leaked by a disgruntled programmer](https://www.techradar.com/news/part-of-twitters-source-code-was-leaked-by-a-disgruntled-programmer-apparently) · TechRadar · Luke Hughes
- [Twitter takes legal action over source code leak](https://www.ft.com/content/49c06996-f5be-4580-b723-7ff7c012902b) · Financial Times
- [GitHub Suspends Repository Containing Leaked Twitter Source Code](https://www.securityweek.com/github-suspends-repository-containing-leaked-twitter-source-code/) · SecurityWeek · Ionut Arghire
- [Twitter wants to know who leaked parts of its code on GitHub](https://qz.com/twitter-code-leaker-github-freespeechenthusiast-1850267822) · Quartz · Ananya Bhattacharya
- [Twitter files complaint against source code leak](https://www.techcircle.in/2023/03/27/twitter-files-complaint-against-source-code-leak) · TechCircle · Sohini Bagchi
- [Twitter code leak raises red flags for African tech founders](https://techcabal.com/2023/03/27/twitter-code-leak-raises-red-flags-for-african-tech-founders/) · TechCabal · Ngozi Chukwu
- [Paid Accounts Will Be The Only Social Media That Matters: Twitter's Elon Musk](https://watcher.guru/news/paid-accounts-will-be-the-only-social-media-that-matters-twitter-elon-musk) · Watcher Guru · Sahana Kiran
- [Some of Twitter's Source Code Apparently Leaked Months Ago](https://www.newser.com/story/333200/some-of-twitters-source-code-apparently-leaked-months-ago.html) · Newser · Evann Gastaldo
- [Twitter meltdown: Musk's top-secret code goes public](https://www.ghacks.net/2023/03/27/twitter-meltdown-elon-musks-top-secret-code-goes-public/) · gHacks Technology News · Onur Demirkol
- [Twitter Source Code Leaked Online, Adding to the Company's Challenges](https://www.socialmediatoday.com/news/twitter-source-code-leaked-online-adding-to-the-companys-challenges/646009/) · Social Media Today · Andrew Hutchinson
- [Twitter braces itself after source code leaked online](https://www.digitaltrends.com/social-media/twitter-braces-itself-after-source-code-leaked-online/) · Digital Trends · Trevor Mogg
- [Parts of Twitter source code leaked online, company takes legal action: report](https://nypost.com/2023/03/26/parts-of-twitters-source-code-leaked-online-report/) · New York Post · David Propper
- [Parts of Twitter's source code were leaked and posted on GitHub](https://www.neowin.net/news/parts-of-twitters-source-code-were-leaked-and-posted-on-github/) · Neowin · John Callaham
- [Elon Musk values Twitter at $20bn in staff email](https://www.siliconrepublic.com/business/elon-musk-twitter-valuation-source-code) · Silicon Republic · Leigh Mc Gowran
- [Twitter reports some of its source code is leaked](https://wraltechwire.com/2023/03/26/twitter-reports-some-of-its-source-code-is-leaked/) · WRAL TechWire
- [Elon Musk says Twitter is worth $24bn less than when he bought it](https://www.telegraph.co.uk/technology/2023/03/27/elon-musk-twitter-takes-legal-action-source-code-leaked-online/) · Telegraph · Matthew Field
- [Legal Filing Reveals Someone Posted Twitter Source Code On GitHub](https://www.slashgear.com/1239429/legal-filing-reveals-someone-posted-twitter-source-code-on-github/) · SlashGear · Nadeem Sarwar
- [Parts of Twitter source code leaked online, court filing shows](https://www.reuters.com/legal/parts-twitter-source-code-leaked-online-court-filing-shows-2023-03-27/) · Reuters · Maria Ponnezhath
- [Parts of Twitter's source code reportedly posted online, putting site at risk](https://www.marketwatch.com/story/parts-of-twitters-source-code-reportedly-posted-online-putting-site-at-risk-523a5e17?mod=technology) · MarketWatch · Mike Murphy
- [Twitter takes legal action after source code leaked online](https://www.databreaches.net/twitter-takes-legal-action-after-source-code-leaked-online/) · DataBreaches.net
- [Elon Musk puts Twitter's value at just $20 billion](https://www.techlusive.in/news/elon-musk-puts-twitters-value-at-just-20-billion-1367013/) · Techlusive · Md Waquar Haider
- [Elon Musk's Twitter Takes Legal Action Over Source Code Leak](https://coingape.com/web-stories/elon-musks-twitter-takes-legal-action-over-source-code-leak/) · CoinGape · Jai Pratap
- [Twitter Is Now Worth $20B, Less Than Half Its Purchase Price, Elon Musk Claims](https://deadline.com/2023/03/twitter-now-worth-20b-less-than-half-its-purchase-price-elon-musk-claims-1235310380/) · Deadline · Bruce Haring

**Discussion**

- @kateconger Kate Conger x · Parts of Twitter's source code were leaked online. The company suspects a former employee is behind the breach. Scoop w/@RMac18 https://www.nytimes.com/...
- @rmac18 Ryan Mac x · Twitter says its source code was posted online and worked to get it taken down from GitHub on Friday. Now it's trying to unmask the anonymous user behind the leak. Our sources say that the person is a former Twitter employee who left last year. https://nytimes.com/...
- @keithboykin Keith Boykin x · While Washington is focused on TikTok, Twitter's source code has been leaked online, which could enable hackers to extract user data. The news comes as 75 percent of the company's 7,500 employees have been laid off or resigned since Elon Musk took over. https://www.nytimes.com/..…
- @penamerica @penamerica x · Parts of Twitter's source code were leaked online and appear to have been public for at least several months, raising fears that hackers or other motivated parties could exploit security vulnerabilities to extract user data or take down the site. https://www.nytimes.com/...
- @zoeschiffer @zoeschiffer x · I really hate getting scooped but this is true and this story is great. https://twitter.com/...
- @joshchafetz Josh Chafetz x · ngl, at this point who thinks this code is worth stealing? https://www.nytimes.com/...
- @cubicleapril April King x · I for one am SHOCKED that a company which yanked around ex-employees for severance and then failed to collect their laptops for months has leaked a copy of their source code. https://twitter.com/...
- @carnage4life Dare Obasanjo x · What happened to Open Sourcing the algorithm? https://twitter.com/...
- @karaswisher Kara Swisher x · No shit Sherlock quote: “One of the best ways to mitigate insider risk is to keep your employees happy and that certainly hasn't been the case at Twitter.”
- @rmac18 Ryan Mac x · The user who Twitter says posted the source code had the username “FreeSpeechEnthusiast” an apparent allusion to Elon Musk. GitHub has since taken down the code under threat of a DMCA violation. (w/ @kateconger) https://www.nytimes.com/... https://twitter.com/...
- @peterjukes Peter Jukes x · Since Mr. Musk bought Twitter in October for $44 billion, about 75 percent of the company's 7,500 employees have been laid off or resigned. https://www.nytimes.com/...
- @gergelyorosz Gergely Orosz x · Things that make this source code leak dangerous for Twitter: 1. Regulators can inspect, and potentially find cases when Twitter told them A, when the source code says B 2. IP and patent challenges could come from third parties examining it 3. Business logic exploits https://twit…
- @goldman Jason Goldman x · Maybe someone was just taking initiative to deliver on the promise to open source it https://twitter.com/...
- @danielraffel Daniel Raffel x · I wonder what GitHub actively monitors for in all checked in repos. Based on this article I presume they “keep it really simple” and rely on external reports to avoid liability they don't want or need. https://www.nytimes.com/...
- @cmclymer Charlotte Clymer x · Oh, awesome. “It was unclear how long the leaked code had been online, but it appeared to have been public for at least several months.” Twitter Says Parts of Its Source Code Were Leaked Online https://www.nytimes.com/...
- @rvawonk Caroline Orr Bueno, Ph.D x · Oh wow. Twitter says parts of its source code have been leaked online, likely by an ex-employee. The code was posted to GitHub by someone who goes by the name “FreeSpeechEnthusiast.” Hey, Elon *did* promise to make more of the code open source, so... 🤷‍♀️ https://www.nytimes.com/…
- @peterjukes Peter Jukes x · “Twitter is being reshaped rapidly,” Mr. Musk wrote in the email seen by The New York Times. He added that the company could be thought of as “an inverse start-up” and that he believed Twitter could someday be worth $250 billion. https://www.nytimes.com/...
- @jeffmacishere Jeff Mac x · but why would they do this after he treated them so poorly oh wait hang on a second I get it https://twitter.com/...

**Relationships**

- [Twitter](/entity/twitter) controversy FreeSpeechEnthusiast, [GitHub](/entity/github), source code · confirmed · Filing alleges some Twitter source code was leaked on GitHub by user "FreeSpeechEnthusiast", and GitHub removed the code after Twitter's DMCA notice on March 24.
- [Twitter](/entity/twitter) regulatory FreeSpeechEnthusiast, people who downloaded the code · confirmed · Twitter is trying to unmask the user responsible and identify any other people who downloaded the leaked source code.

**Similar stories**

- [Filing: Twitter wins an order from a California court to subpoena GitHub for information on FreeSpeechEnthusiast, the alleged leaker of some Twitter source code](https://texxr.com/838529/twitter-wins-order-to-subpoena-github-leaker) · Bloomberg, 29 March 2023 · [publisher](<https://www.bloomberg.com/news/articles/2023-03-28/twitter-wins-order-for-github-to-share-code-leak-culprit-data>) · 70%
- [Twitter open sources a portion of its code on GitHub, including its algorithm for recommending tweets in For You but excluding its ad recommendation algorithm](https://texxr.com/838637/twitter-open-sources-for-you-recommendation-code) · TechCrunch, 2 April 2023 · [publisher](<https://techcrunch.com/2023/03/31/twitter-reveals-some-of-its-source-code-including-its-recommendation-algorithm/>) · 59%
- [Was Twitter Document Theft and Publication by TechCrunch Legal?](https://texxr.com/1271915/twitter-document-theft-faces-legal-questions) · MediaShift, 26 August 2009 · [publisher](<http://www.pbs.org/mediashift/2009/08/was-twitter-document-theft-and-publication-by-techcrunch-legal237.html>) · 58%
- [The “Twitter Files” are a peek at moderation at scale and a win for transparency, despite failing to show systemic bias and the opaque way they were released](https://texxr.com/985707/musk-twitter-files-peek-into-moderation) · TechCrunch, 11 December 2022 · [publisher](<https://techcrunch.com/2022/12/09/musks-twitter-files-offer-a-glimpse-of-the-raw-complicated-and-thankless-task-of-moderation/>) · 58%
- [In a SEC filing, Elon Musk accuses Twitter of “resisting and thwarting” his right to information about bots, calling it a “clear material breach” of the deal](https://texxr.com/979553/musk-accuses-twitter-of-breach-over-bot-data) · CNBC, 6 June 2022 · [publisher](<https://www.cnbc.com/2022/06/06/musk-says-twitter-is-refusing-to-share-data-on-spam-accounts.html>) · 58%
- [Twitch acknowledges a “breach” after a 4chan user leaks its source code, creator payouts from 2019-2021, proprietary SDKs, internal AWS services, and more](https://texxr.com/971472/twitch-breach-leaks-source-code-payouts) · Video Games Chronicle, 6 October 2021 · [publisher](<https://www.videogameschronicle.com/news/the-entirety-of-twitch-has-reportedly-been-leaked/>) · 57%
- [The New York Times confirms its internal source code and data leaked on 4chan after being stolen using an exposed GitHub token in January 2024](https://texxr.com/867091/new-york-times-source-code-leaked-online) · BleepingComputer, 10 June 2024 · [publisher](<https://www.bleepingcomputer.com/news/security/new-york-times-source-code-stolen-using-exposed-github-token/>) · 56%
- [Court filing: Twitter's lawyers say the “Twitter Files” show no government interference at the company, implying Elon Musk lied about what the files revealed](https://texxr.com/840788/twitter-lawyers-say-no-government-interference-found) · Techdirt, 6 June 2023 · [publisher](<https://www.techdirt.com/2023/06/05/twitter-admits-in-court-filing-elon-musk-is-simply-wrong-about-government-interference-at-twitter/>) · 54%
- [Twitter's automated copyright strike system appears to be broken, as users upload full movies; some accounts with viral tweets were later suspended](https://texxr.com/985068/twitter-automated-copyright-system-fails) · Forbes, 21 November 2022 · [publisher](<https://www.forbes.com/sites/paultassi/2022/11/20/twitters-broken-its-copyright-strike-system-users-are-uploading-full-movies/>) · 54%
- [Unsealed court docs: Peiter Zatko said he burned 10 handwritten notebooks and deleted 100 files at the behest of Twitter managers to get his severance package](https://texxr.com/983696/zatko-says-twitter-ordered-destroy-evidence) · Bloomberg, 11 October 2022 · [publisher](<https://www.bloomberg.com/news/articles/2022-10-10/musk-alleges-twitter-ordered-whistle-blower-to-destroy-evidence>) · 54%
- [Elon Musk fired at least two Twitter engineers who publicly criticized him on the social network, in one case announcing the firing in a now-deleted tweet](https://texxr.com/984847/musk-fires-twitter-engineers-who-criticized-him) · Bloomberg, 15 November 2022 · [publisher](<https://www.bloomberg.com/news/articles/2022-11-14/musk-publicly-punishes-twitter-engineers-who-call-him-out-online>) · 54%
- [Sources: on October 28, Twitter engineers were told to print out their last 30 to 60 days of code for Elon Musk to review, and then told to shred the printouts](https://texxr.com/984320/twitter-engineers-ordered-print-code-for-musk-review) · Platformer, 30 October 2022 · [publisher](<https://www.platformer.news/p/elon-takes-over-twitter>) · 53%
- [Facebook Source Code Leaked](https://texxr.com/1179536/facebook-source-code-leaks) · TechCrunch, 12 August 2007 · [publisher](<http://www.techcrunch.com/2007/08/11/facebook-source-code-leaked/>) · 53%
- [Apple files DMCA notice to remove apparent iOS 9 “iBoot” source code, parts of which are likely used in iOS 11, from GitHub; experts say the code is authentic](https://texxr.com/926497/apple-files-dmca-to-remove-iboot-source-code) · Motherboard, 8 February 2018 · [publisher](<http://motherboard.vice.com/en_us/article/a34g9j/iphone-source-code-iboot-ios-leak>) · 53%
- [Elon Musk countersues Twitter over the merger agreement in a confidential filing in a Delaware court](https://texxr.com/981324/elon-musk-countersues-twitter-over-merger) · CNBC, 30 July 2022 · [publisher](<https://www.cnbc.com/2022/07/29/elon-musk-countersues-twitter-over-merger-filing-confidential.html>) · 53%
- [Source: Elon Musk scheduled a deposition with Peiter Zatko before the complaint became public; Zatko's complaint accuses Twitter of “lying” to Musk about bots](https://texxr.com/982053/musk-scheduled-deposition-with-twitter-whistleblower) · Washington Post, 23 August 2022 · [publisher](<https://www.washingtonpost.com/technology/2022/08/23/twitter-musk-trial-whistleblower/>) · 53%
- [A hacker leaks a dataset allegedly containing the email addresses of 200M+ Twitter users, claimed to be a cleaner version of the 400M dataset from December 2022](https://texxr.com/833056/hacker-leaks-200m-twitter-email-addresses) · BleepingComputer, 5 January 2023 · [publisher](<https://www.bleepingcomputer.com/news/security/200-million-twitter-users-email-addresses-allegedly-leaked-online/>) · 53%
- [Twitter sues four unnamed entities in Texas for “unlawfully scraping data” and seeks $1M+ in relief; Elon Musk links the move to recent rate limit rules](https://texxr.com/842079/twitter-sues-entities-for-unlawful-data-scraping) · Reuters, 14 July 2023 · [publisher](<https://www.reuters.com/business/media-telecom/musk-reaffirms-tweet-reading-limits-put-due-data-scraping-2023-07-13/>) · 53%
- [In Our Inbox: Hundreds Of Confidential Twitter Documents](https://texxr.com/1271440/twitter-documents-leak-online) · TechCrunch, 15 July 2009 · [publisher](<http://www.techcrunch.com/2009/07/14/in-our-inbox-hundreds-of-confidential-twitter-documents/>) · 53%
- [Elon Musk claims Substack links were never blocked and Substack tried to “download a massive portion of the Twitter database to bootstrap their Twitter clone”](https://texxr.com/838857/elon-musk-denies-substack-links-blocking-claims) · Forbes, 9 April 2023 · [publisher](<https://www.forbes.com/sites/mattnovak/2023/04/08/elon-musk-denies-substack-links-are-blocked-on-twitter-a-claim-thats-very-misleading/>) · 53%

- **Judged:** Scribe wrote the corpus context.

## Sources

### The TEXXR article archive

*Section `articles`, as of 27 March 2023; judged by one reader, needs review*

The archive supplies the article and its links. Similar stories use the saved text vectors.

**Method**

- The archive holds the headline, publisher excerpt, coverage and discussion.
- Relationships use the article ID. Similar stories use the archive’s stored text vectors.

**Limits**

- Some articles have no Scribe context, recorded tags or relationships.
