A stolen Gemini API key turned a $180 bill into $82,000 in two days
A stolen Gemini API key turned a $180 bill into $82,000 in two days
Google also changed the rules on API key security after years of precedent.
https://trufflesecurity.com/blog/google-api-keys-werent-secrets-but-then-gemini-changed-the-rules
I’m sure they have a reason for everything they do, but rarely are they good reasons.
The developers said they did not believe they made any “obvious” operational mistake. After discovering the compromised key, they attempted to secure their system by deleting exposed keys, disabling Google Gemini API access, and enabling two-factor authentication across their accounts.
I’m no “cloud developer”, but there seem to be a few obvious operational mistakes described just in that paragraph alone…
‘Turned $180 billion into $82,000 in two days’
Wait, I thought this story was about Google AI, not OpenAI.
One of the developers argued on Reddit that cloud providers should implement stronger safeguards
Uh, stronger safeguards like LIKE ENABLING TWO FACTOR AUTHENTICATION YOU FUCKING IDIOTS.
I wasnt aware of 2FA on API keys.
Is that something new?
And here I thought that’s why they tell you to never share it because the API key can’t be protected by 2FA (And no, IAM or SSO is not something I will count)
This is why I’ve never taken up the “free tiers” of these big cloud hosting. I looked in to it and there was absolutely no way to limit billing. There is reports and some people say, “setup automation,” but that is something they should have done. Why do I have to code features into their platform?
The lack of control is intentional, the business is happy when this happens as they can extract more money from people.