An investigation published on Sunday by 17 media organizations, led by the Paris-based non-profit journalism group Forbidden Stories, said the spyware, made and licensed by Israeli company NSO, had been used in attempted and successful hacks of 37 smartphones belonging to journalists, government officials and human rights activists.
Mediapart said in a series of tweets on Monday that Morocco's secret services had used Pegasus to spy on the mobile phones of two of its reporters.
"The only way to get to the bottom of this is for judicial authorities to carry out an independent investigation on widespread spying organized in France by Morocco," Mediapart said in one of its tweets.
How Morocco spied on Mediapart journalists using Pegasus spyware via @MediapartEN https://t.co/JI3outys45
— Mediapart in English (@MediapartEN) July 19, 2021
Morocco has published an official statement rejecting what it called "unfounded and false allegations."
The Paris prosecutor's statement does not mention Morocco but simply says it has decided to open the probe after receiving the complaint by Mediapart and its reporters.
It is looking into a series of potential crimes related to cyber-spying.
The Guardian, one of the media outlets involved in the investigation, said the investigation suggested "widespread and continuing abuse" of NSO's hacking software, described as malware that infects smartphones to enable the extraction of messages, photos and emails, record calls and secretly activate microphones.
NSO said its product was intended only for use by vetted government intelligence and law enforcement agencies to fight terrorism and crime. It issued a statement denying the reporting by Forbidden Stories and its partners.
The published list of alleged Pegasus targets "is not linked to NSO," NSO Group founder Shalev Hulio told Tel Aviv radio station 103 FM on Tuesday.
"The platform we produce prevents terrorist attacks and saves lives," he said in a rare interview.
Hulio said that over its 11-year existence, NSO has worked with 45 countries and turned down almost 90 countries. He declined to name any of them.
"I think that, ultimately, this will end up in the courts, with a legal ruling in our favor, after we file defamation suits, because we won't have any other choice," he said.