Nearly 2 dozen activists, lawyers and journalists were targeted in India according to reports.

India has demanded answers from WhatsApp over a snooping scandal after coming under fire from critics who accused authorities of using malware installed on the Facebook-owned messaging service to spy on citizens.

WhatsApp has filed a lawsuit in the United States against Israeli technology firm NSO Group, accusing it of using the hugely popular instant messaging platform to conduct cyberespionage on nearly 1,400 journalists, diplomats, dissidents and human right activists worldwide.

The Israeli firm has denied that journalists and activists were targeted and said that it only licenses its software to governments for “fighting crime and terror”.

Nearly two dozen activists, lawyers and journalists were targeted in India – WhatsApp’s biggest market with some 400 million active users – according to Indian media reports.

The Indian Express reported that WhatsApp confirmed that a number of Indian users had been targeted by the Pegasus spyware, which installed itself on their devices and relayed back data to the hackers.

New Delhi has asked WhatsApp to “explain the kind of breach and what it is doing to safeguard the privacy of millions of Indian citizens,” Minister of Law and Justice Ravi Shankar Prasad wrote on Twitter, denying the government had used the malware to spy on its citizens.

But opposition leaders accused the government of invading citizens’ privacy.

“A government that spies on journalists/activists/Opposition leaders and treats its own citizens like criminals has lost the right to lead in our democracy,” main opposition Congress party spokesman Randeep Surjewala said in a tweet.

‘Our right to privacy is violated’

Indian media reports said 20 activists, lawyers and journalists were informed by WhatsApp recently that their phones were compromised for two weeks in May.

Rights activists and dissidents in India have accused Prime Minister Narendra Modi‘s Hindu nationalist government of intimidating them over their criticism of policies.

Since Modi’s ascent to the top post in 2014, it has banned hundreds of non-government organisations and stopped funding of many more.

Rupali Jadhav, an activist, and one of those contacted by WhatsApp said she suspected that she was targeted for her work on caste, class and gender rights.

“We are told India is a democracy. But if our right to privacy is violated, doesn’t that raise questions?” she told an Indian online outlet.