Part of Twitter\u2019s source code has been leaked and posted on GitHub by an unknown user. GitHub took down the post after the social media platform\u00a0requested\u00a0it to do so on Friday.Twitter has also filed a case in the US District Court for the Northern District of California seeking to order GitHub to identify the person who shared the code and any other individuals who downloaded it, according to The\u00a0New York Times.\u00a0The code could have been on Github for several months, according to The New York Times report.The Twitter court filing further said that a user by the name \u201cFreeSpeechEnthusiast\u201d posted the code on GitHub, which is an infringement of its intellectual property rights, according to the NYTimes report.\u00a0The leaked source code is said to contain security vulnerabilities that could allow attackers to extract user data or take down the site.\u00a0Internal investigations have begun and employees familiar with the matter say the person responsible for the leak left the company last year, according to sources cited by the publication. Since last year, about 75% of employees, or 7,500 employees have either been laid off or resigned from the company.Tweet recommendation code to be made public\u00a0Twitter will open source all code used to recommend tweets on March 31st, Billionaire Elon Musk, who is also the CEO of Twitter, said on March 18.\u201cOur algorithm is overly complex & not fully understood internally. People will discover many silly things, but we\u2019ll patch issues as soon as they\u2019re found,\u201d Musk said in his chain of Tweets adding that a simplified approach to serving more compelling tweets is being developed and that\u2019ll also be open source.\u201cProviding code transparency will be incredibly embarrassing at first, but it should lead to rapid improvement in recommendation quality. Most importantly, we hope to earn your trust,\u201d Musk added. It is currently not clear if the leaked code contained the recommending code as well.\u00a0Series of problems with TwitterMusk bought\u00a0Twitter for $44 billion in October. Since then, the company has been facing several problems, which include mass layoffs, outages, changes to content moderation, and debates over creating a balance between free speech and online safety.A large number of outages has made advertisers skeptical about posting their ads on the platform. On Friday, Musk also sent an email to employees saying that Twitter was worth about $20 billion, less than half of what he bought the company for.\u00a0To avoid bankruptcy and streamline operations, the company will undergo radical changes including mass layoffs and cost cutting, Musk said in his mail. From April 1, the company will also be charging users $7 per month for getting blue tick verification.