Public Google API keys gain Gemini access after API enablement

Public Google API keys gain Gemini access after API enablement

Enabling an AI service quietly turned identifiers that had been treated as public into credentials for private AI data and paid usage.

25 February 2026HappenedBreaches and supply chain
Google Cloud API keys (AIza format); Gemini API · Google · Global
What happened
For years Google documentation described API keys for services such as Maps as safe to embed in public web pages. Truffle Security found that when the Gemini API was enabled on a Google Cloud project, those existing public keys could also authenticate to Gemini endpoints, including file and cached-content endpoints, without warning to the key owner. Scanning the November 2025 Common Crawl dataset, researchers verified 2,863 live keys vulnerable in this way, including keys on Google's own product sites. Anyone holding such a key could access data stored through Gemini and run up charges on the owner's account.
Response
Google initially treated the behaviour as intended, then reclassified it as a bug on 2 December 2025. It said it had implemented measures to detect and block leaked keys used against the Gemini API and committed to scoped defaults for new keys. Truffle published after the 90-day disclosure window.
Discovered by
Truffle Security, reported to Google's Vulnerability Disclosure Program on 21 November 2025.
Who was affected
2,863 verified live keys found in public web data, belonging to financial institutions, security firms, recruiters and Google itself
Patterns
Credentials exposed
Confidence: high · checked 24 September 2026. Published under CC BY 4.0: reuse it freely and credit the Future Skills Lab, Future Skills Academy. Seen an error or a newer development? Write to tellmemore@futureskills.academy.

Related

Incidents with the same pattern

What does this ask of people?

Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.

All 177 incidents →The Future Skills Lab

Learn with us

Learn the human skills that gain value

Future Skills 101: live online sessions of 90 minutes, open to anyone. Power Skills trainings for teams on request.