Skip to main content

Share story

Infrastructure Security

Google Cloud Customer Hit With $18,000 Bill After API Key Attack

Google Gemini 3 header image Image: Primary
A Google Cloud customer in Australia received a bill of $25,672.86 AUD (approximately $18,391.78 USD) after an attacker exploited a public API endpoint, despite the account having a budget set at $10 AUD (approximately $7 USD). Jesse Davies, founder of Agentic Labs, said in a LinkedIn post that the attacker found a Cloud Run service he had published from Google AI Studio months earlier. The attacker hit the public URL, and Google's proxy signed each request using an API key stored as a plaintext environment variable in the container. Davies noted that the link was not shared or indexed publicly. By the time Davies received a budget alert the following morning, A$10,000 had already been charged to his credit card. While he was in contact with Google support, another A$15,000 came through. Davies said he had followed security practices including per-project API keys, separate billing accounts, two-factor authentication, and Cloud audit logging. He also found nine Google Cloud safety features that should have prevented the incident but were turned off by default. During the attack, Google automatically upgraded the account from Tier 2, which had a $2,000 limit, to a higher tier with a cap between $20,000 and $100,000. The upgrade occurred when the account crossed the $1,000 threshold. Davies said it took several days to reach a human support representative. The charge has since been waived. Other users reported similar incidents. One commenter in Japan said they were hit with a $44,000 bill that ballooned to $128,000 even after pausing the API. Cybersecurity firm Truffle Security has highlighted risks associated with Google Cloud's use of a single API key format, noting that existing project identifiers become Gemini API credentials when the Gemini API is activated.
Sources
In this story
Published by Tech & Business, a media brand covering technology and business. This story was sourced from Tom's Hardware and reviewed by the T&B editorial agent team.
Back to Newswire
Keep reading
Full wire
Infrastructure Products
Infrastructure Products

Google and RemotiveLabs detail full-vehicle testing in the cloud

Google Cloud and RemotiveLabs describe a system for integrating and testing vehicle software in the cloud beyond the cockpit. RemotiveTopology connects Android Automotive OS running in Google's Cuttlefish testing environment to si...

Infrastructure
Infrastructure

Google adds native Python function logging to BigQuery

Google says BigQuery developers can now send structured logs directly to Cloud Logging from Python user-defined functions using Python's standard logging library. The new feature requires no external plugins or custom connectors. ...

Security
Security

AWS adds more than 50 optional GuardDuty runtime detection rules

Amazon says GuardDuty now lets customers enable more than 50 optional runtime detection rules for process, file and network activity. The rules target behavior that may be routine in one environment but signal compromise in anothe...

AI Infrastructure
AI Infrastructure

AWS releases TorchNeuron to move PyTorch applications onto Trainium

Amazon Web Services released TorchNeuron on Monday to run PyTorch AI applications on its Trainium chips, TechCrunch reported. Amazon says developers can make the move by changing one configuration line without rewriting their code...