The nation's leader Daniel Noboa came out without injury after his presidential convoy was attacked by rock-hurling demonstrators and what authorities described as possible shots.
Noboa was opening a water treatment plant in central Ecuador when his motorcade was attacked by a large group protesting against increasing energy costs.
Approximately 500 people appeared and were throwing stones at him, and there are clearly bullet marks on the official vehicle
commented Ecuador's environmental official.
Officials reported that five individuals were detained and would stand court proceedings on terrorism accusations – an offense carrying a highest penalty of three decades in jail.
Recorded material made public by the government depicts demonstrators standing in the street, draped in flags, scrambling to gather large stones and building blocks.
As the official vehicle passed, objects slammed into the exterior and shattered windows.
Someone could be heard yelling: "Duck! Heads down!" as the vehicle accelerated from the scene.
Authorities indicated they were still investigating whether certain of the damage on the president's protected vehicle were resulted from bullet impacts.
This reported incident occurred amid several days of increasingly violent protests triggered by a administration's move to increase fuel costs.
Demonstrators have initiated work stoppages, obstructed highways and taken 16 soldiers – who were eventually released unharmed.
Ecuador's biggest Indigenous organization reported that a protester had been killed by armed forces during a the protests.
More than one hundred individuals, including protesters and law enforcement, are thought to have been injured in the unrest.
The president has declared a emergency measures across several regions.
Noboa's office said on digital platforms after the incident that "such actions will not deter" the leader.
The head of the Organization of American States said that "these actions are an attack on democracy, peace, and the principle of harmonious living that must dominate in our societies."
Noboa is attempting to cut fuel support to conserve about $1bn in public expenditure, diverting much of the funds to safety initiatives.
The nation, previously regarded one of Latin America's safest nations, has experienced a significant increase in violence in the past few years.
Positioned between two neighboring countries, both the world's largest cocaine producers, Ecuador has become a significant transportation center for narcotics.
Officials have alleged cartels of fueling the protests, suggesting that criminal groups are exploiting the demonstrations to disrupt the country.
Reports indicate that 70% of the global cocaine supply transits via Ecuador, a large portion of it destined for the United States.
The trade has attracted international criminal organizations, including Mexican drug cartels, Italian mafia groups, and Albania's mafia.
Their competition for dominance of smuggling corridors has turned Ecuador into one of the region's highest-risk locations.
Noboa has proposed a public vote to permit the presence of US troops to the country, repealing a previous restriction on foreign bases.