The nation's leader Daniel Noboa came out without injury following his presidential convoy was attacked by rock-hurling protesters and what authorities described as potential gunfire.
Noboa was opening a water purification facility in the country's central region when his motorcade was attacked by a large group demonstrating against rising fuel prices.
About five hundred individuals appeared and were throwing stones at him, and there are obviously gunshot impacts on the president's car
commented Ecuador's environmental official.
Authorities confirmed that five people were arrested and would face court proceedings on terrorism charges – an crime carrying a highest penalty of 30 years in prison.
Recorded material released by the administration shows demonstrators standing in the street, draped in banners, scrambling to gather large stones and building blocks.
When the presidential SUV drove by, projectiles slammed into the exterior and broke glass.
Someone could be heard shouting: "Heads down! Get down!" as the car accelerated from the scene.
Authorities said they were continuing to examine whether some of the impact marks on Noboa's protected vehicle were resulted from bullet impacts.
The alleged attack came amid days of increasingly violent demonstrations sparked by a government decision to raise diesel prices.
Demonstrators have gone on strike, blocked roads and abducted 16 soldiers – who were subsequently released without injury.
The country's biggest native group reported that a protester had been killed by security personnel during a the rallies.
Over 100 people, including protesters and law enforcement, are believed to have been injured in the unrest.
The president has imposed a state of emergency across multiple provinces.
Noboa's office said on social media after the attack that "such actions will not stop" the leader.
A senior official of the Organization of American States commented that "such violent acts are an assault on democracy, stability, and the spirit of harmonious living that must dominate in our nations."
The recently re-elected president is trying to cut fuel support to conserve about $1bn in government spending, diverting much of the savings to security funding.
Ecuador, once considered one of Latin America's safest countries, has experienced a significant increase in criminal activity in recent years.
Positioned between two neighboring countries, both the world's largest drug manufacturers, Ecuador has become a major transportation center for illegal drugs.
Officials have accused cartels of fueling the protests, implying that criminal groups are taking advantage of the protests to destabilize the country.
It is estimated that 70% of the global cocaine supply passes through the country, a large portion of it headed for the United States.
The trade has attracted global crime syndicates, including Mexico's Sinaloa Cartel, Italy's 'Ndrangheta, and Albanian criminal networks.
The rivalry for dominance of trafficking routes has turned the nation into one of the area's highest-risk locations.
The president has proposed a public vote to allow the presence of US troops to the country, overturning a previous restriction on international military installations.
A seasoned casino analyst with over a decade of experience in gaming strategy and industry trends.