Twitter Says Source Code Posted Online

Twitter has taken legal action to remove what it said was a portion of its source code that was posted online.

The code was posted on Microsoft-owned code-sharing site GitHub, according to Twitter, in a repository that has now been taken down.

The incident is the latest challenge for Twitter under Elon Musk’s ownership, which has seen mass layoffs, the flight of major advertisers and an increased frequency of technical outages.

Twitter notified GitHub of the code leak late on Friday in a Digital Millenium Copyright Act (DMCA) takedown notice, and the code was removed the same day.

Code theft

GitHub said it does not comment on decisions to remove content, but makes all DMCA takedown requests public in the interests of transparency.

The code appeared to have been public for several months.

The user account that posted it, FreeSpeechEnthusiast, shows a single contribution to the site in early January.

Twitter executives said they had only recently been made aware of the leak, according to unnamed sources cited by The New York Times.

The people also speculated that the code might have been stolen by a person who left Twitter last year.

Probe

Since Musk bought Twitter last October for $44 billion (£36bn) more than 75 percent of Twitter’s previous 7,500 staff have been laid off or resigned.

Twitter has started an investigation into the matter, and also asked the US District Court for the Northern District of California to order GitHub to identify the person who uploaded the code and any individuals who downloaded it, according to a legal filing.

Access to source code can help potential attackers to identify security vulnerabilities, although in many cases developers make the code freely available so that third-party developers can help locate bugs.

Musk himself said earlier this month he plans to make public the code used to recommend tweets at the end of March.

Twitter valuation

Separately, Musk told employees in an email on Friday he estimated Twitter is now worth about $20bn, or less than half what he paid for it last year.

The estimate was made in the context of Musk’s offer of stock grants to staff, according to multiple reports.

Musk also reportedly told staff in the email, “I see a clear, but difficult, path to a >$250B valuation,” suggesting a tenfold increase in the firm’s valuation.

Matthew Broersma

Matt Broersma is a long standing tech freelance, who has worked for Ziff-Davis, ZDnet and other leading publications

Recent Posts

Apple Announces Record Share Buyback, Amid iPhone Sales Decline

Investor appeasement? Apple unveils huge $110 billion share buyback program, as sales of iPhone decline…

3 hours ago

Tesla Backs Away From Gigacasting Manufacturing – Report

Tesla retreats from pioneering gigacasting manufacturing process, amid cost cutting and challenges at EV giant

20 hours ago

US Urges No AI Control Of Nuclear Weapons

No skynet please. After the US, UK and France pledge human only control of nuclear…

21 hours ago

LastPass Separates From Parent After Security Incidents

New chapter for LastPass as it becomes an independent company to focus on cybersecurity, after…

24 hours ago

US To Ban Huawei, ZTE From Certifying Wireless Kit

US FCC seeks to ban Chinese telecom firms at centre of national security concerns from…

1 day ago