French electoral authorities have taken a hard line on a hacking attack targeting presidential frontrunner Emmanuel Macron's campaign, saying anyone who circulates the leaked information could be committing a "criminal offence".
The electoral commission met following the announcement by the pro-EU centrist's team that his campaign had been the target of a "massive and coordinated hacking attack" after a flood of internal documents were released online a day before the election.
"The dissemination of such data, which have been fraudulently obtained and in all likelihood may have been mingled with false information, is liable to be classified as a criminal offence," a commission statement said.
The documents spread on social media just before midnight on Friday - when 39-year-old Macron and his far-right rival Marine Le Pen officially wrapped up campaigning for Sunday's decisive run-off vote - with his aides calling the leak "unprecedented in a French electoral campaign".
Macron's team said the files were stolen weeks ago when several officials from his En Marche party had their personal and work emails hacked - one of "an intense and repeated" series of cyber-attacks against Macron since the launch of the campaign.
"On the eve of the most important election for our institutions, the commission calls on all those on websites and social media ... not to spread this information," the statement said.
The centrist candidate's furious staff said the release late Friday of thousands of emails, accounting documents and other files was an attempt at "democratic destabilisation, like that seen during the last presidential campaign in the United States".
Hillary Clinton has alleged Russian hacking of her campaign's emails was partly to blame for her defeat in last year's US presidential election to Donald Trump.
The leak, posted by someone calling themselves EMLEAKS, came as an 11th-hour twist in what has proved to be one of the most drama-packed elections in French history.
The WikiLeaks website posted a link on Twitter to the trove of documents, saying it was not responsible for the leak but that it was "examining" parts of the cache, amounting to around nine gigabytes of data in total.
WATCH: Who is Marine Le Pen?
Last month cybersecurity research group Trend Micro said Russian hackers called Pawn Storm had targeted Macron's campaign, using "phishing" techniques to try to steal personal data.
Senior Le Pen aide Florian Philippot suggested on Twitter that the leak might contain information that the media had deliberately suppressed.
France's presidential election commission advised media not to publish details of the documents, warning that publication could lead to criminal charges and that some of the documents were probably fake. The commission is due to meet later Saturday to discuss the hack.
Security jitters
The upset came at the end of a frantic final day of campaigning and as fresh security concerns emerged following the arrest of a suspected extremist.
Polls released earlier Friday had showed Macron gaining momentum, forecasting victory for the pro-European, pro-business former banker with around 62 per cent to 38 per cent for Le Pen.
He and Le Pen - who is hoping to ride a global wave of anti-establishment anger to the Elysee Palace - have offered starkly different visions for France during a campaign that has been closely watched in Europe and around the world.
After a policeman was shot dead in an Islamic State-claimed attack on Paris's Champs-Elysees three days before the first election round last month, jitters rose again when police arrested a suspected extremist near a military airbase on Friday.
WATCH: Who is Emmanuel Macron?
Guns were discovered as well as a pledge of allegiance to IS and several of the group's flags, sources close to the case told AFP after the arrest in Evreux, north of Paris.
The suspect, a 34-year-old Muslim convert, was arrested early Friday after police found his car near the base.
In another major security incident on Friday, Greenpeace activists partially scaled the Eiffel Tower to hang a giant anti-Le Pen banner saying "Liberty, Equality, Fraternity" and "#resist".
Paris police said the stunt exposed "flaws" in the security surrounding the world-famous monument, and city authorities announced immediate measures to reinforce patrols at the site.
Polar opposites
Le Pen has tried to portray Macron as being soft on security and Islamic fundamentalism, playing to the concerns of many of her supporters after a string of terror attacks in France that have killed more than 230 people since 2015.
She has said she wants to copy Britain's example and hold a referendum on France's EU membership, sending alarm bells ringing in capitals across the bloc.
Related reading
Le Pen, Macron clash in fiery final French debate
In the first round of the election, she finished second behind Macron on 21.3 percent after softening the FN's image over the past six years - but without fully removing doubts about the party's core beliefs.
A former economy minister under Socialist President Francois Hollande, Macron quit the government last August to concentrate on his new political movement En Marche, which has drawn 250,000 members in 12 months.
He won high-profile backing from former US president Barack Obama on Thursday, who said in a video that Macron "appeals to people's hopes and not their fears".