A security glitch at Facebook has put the lives of its over 1,000 content moderators at risk by accidentally leaking their identities to suspected terrorists' accounts on the social media platform.

According to a report in The Guardian on Friday, the security lapse that was identified in November 2016 has affected more than 1,000 workers across 22 departments at Facebook who used the company's moderation software to review and remove inappropriate content, including sexual material, hate speech and terrorist propaganda. This all started after Facebook moderators started receiving friend requests from people affiliated with the terrorist organisations they were scrutinising.

"The security glitch, which lasted for a month before Facebook was able to correct it in November, made the moderators' profiles appear in the notifications of Facebook groups that are thought to be administrated by terrorists with ties to IS, Hezbollah and the Kurdistan Workers Party," the report quoted a moderator as saying.

It was later discovered by the company that the personal Facebook profiles of its moderators had been automatically appearing in the activity logs of the terror groups they were shutting down. Around 40 workers were affected in counter-terrorism unit based at Facebook's European headquarters in Dublin, Ireland while six of those were assessed to be "high priority" victims of the 'glitch'.

"Within the high-risk, six had their personal profiles viewed by accounts with ties to IS, Hezbollah and the Kurdistan Workers Party. Facebook complies with the US state department's designation of terrorist groups," the moderator added. A Facebook spokesperson told The Guardian it had made technical changes to "better detect and prevent these types of issues from occurring".

"We care deeply about keeping everyone who works for Facebook safe. As soon as we learned about the issue, we fixed it and began a thorough investigation to learn as much as possible about what happened," the spokesperson added. After the leak was detected, Facebook convened a "task force of data scientists, community operations and security investigators".

The internal emails of Facebook revealed that the company warned all the employees and contracted staff it believed were affected, and also set-up an email address, nameleak@fb.com, to field queries from those affected. "For those in the high-risk group, Facebook also offered to counsel through its employee assistance program, over and above counselling offered by the contractor, Cpl. It also offered to install a home alarm monitoring system and provide transport to and from work to the six," the report said.

However, one of the moderators who fled Ireland said that Facebook needed to do more to address their pressing concerns for their safety and families. The moderator has filed a legal claim against Facebook and Cpl, seeking compensation for the psychological damage caused by the leak.