The nation's president Daniel Noboa came out without injury following his presidential convoy was attacked by rock-hurling demonstrators and what officials described as possible gunfire.
The president was opening a water treatment plant in central Ecuador when his motorcade was attacked by a large group demonstrating against increasing energy costs.
About 500 people showed up and were hurling rocks at him, and there are clearly gunshot impacts on the president's car
commented Ecuador's environment minister.
Officials confirmed that five people were arrested and would stand court proceedings on terrorism charges – an offense carrying a highest penalty of 30 years in jail.
Video footage released by the administration depicts demonstrators positioned in the street, covered in banners, rushing to gather large stones and building blocks.
When the official vehicle passed, projectiles thudded into the paneling and broke glass.
Someone could be heard shouting: "Duck! Get down!" as the car accelerated from the scene.
Officials said they were still investigating whether certain of the damage on the president's protected vehicle were resulted from gunfire.
The alleged attack occurred amid days of increasingly violent protests triggered by a government decision to increase fuel costs.
Protesters have initiated work stoppages, blocked roads and abducted sixteen military personnel – who were eventually freed unharmed.
Ecuador's biggest Indigenous organization reported that a demonstrator had been killed by security personnel during a the rallies.
Over one hundred individuals, including protesters and law enforcement, are thought to have been injured in the violence.
Noboa has declared a state of emergency across several provinces.
The presidential administration said on social media following the attack that "such actions will not deter" the leader.
The head of the regional organization commented that "these actions are an assault on democratic principles, stability, and the spirit of harmonious living that must dominate in our societies."
Noboa is attempting to reduce fuel support to conserve about $1bn in public expenditure, redirecting much of the funds to safety initiatives.
The nation, once considered one of Latin America's most secure countries, has seen a dramatic surge in violence in recent years.
Strategically located between Colombia and Peru, both the planet's biggest drug manufacturers, Ecuador has transformed into a significant transit hub for illegal drugs.
Officials have accused drug gangs of exacerbating the protests, implying that criminal groups are taking advantage of the protests to destabilize the country.
It is estimated that 70% of the global illegal drug market passes through the country, much of it headed for the US.
This business has attracted global crime syndicates, including Mexican drug cartels, Italian mafia groups, and Albania's mafia.
Their competition for control of trafficking routes has turned the nation into one of the region's highest-risk locations.
Noboa has called for a public vote to permit the presence of American military to the nation, repealing a 2009 ban on foreign bases.