Hello everyone,
Recently, my store was the victim of a coordinated cyberattack. Malicious international bots and crawlers targeted the frontend maps scripts and forced an aggressive, automated external request loop to the Google Geolocation API. Even though I had standard HTTP domain restrictions active on Google Cloud, the attackers bypassed them using advanced referrer spoofing.
The result? In a matter of days, the bots generated over 6,000,000 requests, racking up a shocking fraudulent bill of $15,301.01 USD.
I found a temporary code workaround in a forum thread, where a user reported a invoice amount spike, and a developer suggested modifying design/backend/templates/addons/geo_maps/components/scripts.tpl by wrapping the provider scripts inside a crawler check.
If you use Google Maps / Geolocation, apply this patch to your .tpl file immediately, clear your cache, and set strict daily quota limits inside your Google Cloud Console so you don’t wake up to a financial nightmare like I did.
Best regards