The nation's president Daniel Noboa emerged without injury following his official convoy was targeted by rock-hurling demonstrators and what authorities described as potential shots.
Noboa was inaugurating a water purification facility in central Ecuador when his convoy was attacked by a sizeable crowd protesting against rising energy costs.
Approximately five hundred individuals appeared and were hurling rocks at him, and there are clearly gunshot impacts on the president's car
commented the country's environmental official.
Officials confirmed that five people were arrested and would face court proceedings on terrorism accusations – an offense carrying a highest penalty of 30 years in prison.
Video footage made public by the administration depicts demonstrators positioned in the street, covered in banners, rushing to gather sizeable rocks and building blocks.
As the presidential SUV drove by, objects thudded into the exterior and broke glass.
A voice could be audible shouting: "Duck! Get down!" as the car sped away.
Authorities said they were still investigating whether some of the damage on the president's armored vehicle were resulted from bullet impacts.
The alleged incident occurred amid days of progressively aggressive demonstrations sparked by a government decision to increase fuel costs.
Demonstrators have gone on strike, obstructed highways and abducted sixteen military personnel – who were subsequently freed without injury.
Ecuador's biggest Indigenous organization stated that a demonstrator had been fatally injured by armed forces during a the protests.
Over one hundred individuals, including protesters and security services, are believed to have been hurt in the violence.
Noboa has declared a emergency measures across several provinces.
The presidential administration stated on social media after the attack that "such actions will not deter" the president.
The head of the regional organization commented that "such violent acts are an assault on democratic principles, stability, and the spirit of peaceful coexistence that must dominate in our societies."
The recently re-elected president is attempting to reduce diesel subsidies to conserve about $1bn in government spending, diverting a significant portion of the savings to security funding.
Ecuador, once considered one of Latin America's most secure nations, has seen a significant increase in criminal activity in the past few years.
Strategically located between Colombia and Peru, two of the world's largest drug manufacturers, the country has become a significant transit hub for narcotics.
Officials have accused cartels of exacerbating the unrest, suggesting that criminal groups are taking advantage of the protests to disrupt the nation.
It is estimated that 70% of the world's cocaine supply transits via Ecuador, much of it destined for the United States.
The trade has drawn international criminal organizations, including Mexico's Sinaloa Cartel, Italy's 'Ndrangheta, and Albanian criminal networks.
The rivalry for dominance of trafficking routes has turned Ecuador into one of the area's most dangerous places.
Noboa has proposed a public vote to permit the return of American military to the country, repealing a previous restriction on foreign bases.
Elara is a seasoned gaming journalist with over a decade of experience covering slot machines and casino trends across the UK.