Twitter announced Tuesday that its server cabinet was exposed by hackers, prompting it to set up a new security team to help prevent such incidents from happening again.
The site has been hit by more than a dozen hacking attempts, most of them in recent weeks.
Twitter said it has not yet seen any evidence that a hacker had gained access to its servers or managed to change any of its settings.
The news comes as Twitter has also faced scrutiny for its use of a feature that lets users send messages from mobile devices to a computer, even when their devices are offline.
Twitter had been criticized for the move in the past.
In the past, the company has acknowledged that its system could be vulnerable to a hacker attack.
Twitter has taken steps to address the issue, but it has yet to identify any of the breaches that affected the last two years.
The latest attacks on Twitter came from a hacker calling himself “the Pope” who also said he was targeting the social network because it allowed him to monitor people’s whereabouts.
The hacker also posted a video that showed him entering the Twitter accounts of several people, including the president of the United States, and a female senator.
Twitter officials said they had alerted law enforcement agencies, including in Israel, and had launched an investigation.
Twitter also announced that it has hired a new cybersecurity manager, a former U.S. government official who has been working at the company for a decade.
The company also released a statement saying that it was taking steps to improve security.
“We’re making security improvements to help make Twitter a better place to be, and we’re constantly improving our security,” the statement said.