The nation's president Daniel Noboa emerged without injury after his presidential convoy was targeted by rock-hurling demonstrators and what officials described as possible gunfire.
Noboa was opening a water treatment plant in central Ecuador when his convoy was set upon by a large group protesting against rising fuel prices.
About five hundred individuals appeared and were throwing stones at him, and there are clearly gunshot impacts on the official vehicle
commented Ecuador's environmental official.
Officials confirmed that five people were arrested and would face court proceedings on terrorism accusations – an offense carrying a maximum punishment of three decades in jail.
Recorded material released by the administration shows protesters positioned in the road, draped in flags, scrambling to collect large stones and building blocks.
As the official vehicle drove by, projectiles slammed into the paneling and shattered glass.
A voice could be heard shouting: "Duck! Heads down!" as the vehicle sped away.
Officials said they were still investigating whether some of the damage on Noboa's armored vehicle were caused by bullet impacts.
The alleged incident occurred amid days of progressively aggressive demonstrations sparked by a government decision to increase fuel costs.
Protesters have gone on strike, blocked roads and taken sixteen military personnel – who were subsequently released unharmed.
The country's largest Indigenous organization reported that a protester had been fatally injured by security personnel during a the rallies.
More than 100 people, including protesters and law enforcement, are thought to have been injured in the unrest.
The president has imposed a state of emergency across several regions.
The presidential administration said on digital platforms following the attack that "cowardly acts will not deter" the leader.
The head of the Organization of American States said that "these actions are an assault on democratic principles, peace, and the spirit of peaceful coexistence that must prevail in our nations."
Noboa is attempting to cut diesel subsidies to save about $1bn in public expenditure, diverting a significant portion of the savings to security funding.
Ecuador, previously regarded one of Latin America's most secure countries, has experienced a dramatic surge in violence in recent years.
Positioned between Colombia and Peru, two of the planet's biggest cocaine producers, the country has transformed into a significant transportation center for narcotics.
Authorities have accused drug gangs of fueling the unrest, implying that criminal groups are taking advantage of the protests to destabilize the country.
Reports indicate that seventy percent of the global illegal drug market passes through the country, much of it destined for the US.
The trade has attracted international criminal organizations, including Mexico's Sinaloa Cartel, Italy's 'Ndrangheta, and Albania's mafia.
Their competition for dominance of trafficking routes has transformed Ecuador into one of the area's most dangerous places.
Noboa has proposed a referendum to permit the return of American military to the country, overturning a 2009 ban on foreign bases.
A passionate writer and editor with a background in contemporary literature, dedicated to sharing the joy of storytelling.