Twitter has sent a copyright infringement notice to GitHub after admitting that parts of its source code were leaked on the open-source coding platform, reports The New York Times. The social media giant has also asked the US District Court for the Northern District of California to order GitHub to identify the person who shared the code and anyone else who downloaded it.


The code has been taken down by GitHub and it is yet unclear how long the leaked code was posted online. 


The exposed source code has added to the challenges Twitter is facing, including issues of security and providing code transparency.


In a tweet earlier this month, Twitter CEO Elon Musk announced that the company will open source all code used for recommending tweets on March 31. Dorsey said that the company’s algorithm is “overly complex and not fully understood internally”. In a later tweet, he explained that Twitter was developing a simplified approach to serve more compelling tweets, and that would also be open source. Dorsey has previously said that the platform would make its algorithm open source and improve it rapidly.


ALSO READ: Twitter Users Can Get Verified Without Subscribing To Twitter Blue — Here’s How It Works


Musk tweeted: "Twitter will open source all code used to recommend tweets on March 31."






The billionaire entrepreneur added that the company is developing a simplified approach to "serve" more "compelling" tweets and that will also be open source.

The Twitter CEO said that in the coming months, the company will use artificial intelligence (AI) to "detect and highlight manipulation of public opinion on this platform."