WASHINGTON: Parts of Twitter’s source code were publicly available online for several months, Sputnik quoted The New York Times report citing a legal filing.

GitHub, an online platform for software developers where the code was posted, took down the code on Friday, upon Twitter’s request, the newspaper reported on Sunday.

The source code, the underlying computer code on which Twitter runs, was likely public online for at least several months, The New York Times said.

Sources told the newspaper that it was likely that the person responsible for the leak of the code left Twitter last year.

Twitter has asked the US District Court for the Northern District of California to order GitHub to identify the person who shared the code, as well as those who have downloaded it.

According to The New York Times, the source code includes certain security vulnerabilities that could allow hackers to attack Twitter, extract user data, or shut down the site. - Bernama