Google API Keys Weren't Secrets. But then Gemini Changed the Rules.
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Google Maps API keys embedded publicly in web pages silently gained access to billable Gemini endpoints, so keys you published years ago may now drain your billing account.
Google uses one type of API key, a password-like code, for both its Maps service and its Gemini AI service. Maps keys are designed to be public, but Gemini keys can access private files and incur charges. Security firm Truffle Security found 2,863 leaked keys in public web data that could use Gemini, including some belonging to Google itself. Google is revoking the affected keys.
A privilege escalation affecting Google customers: keys published publicly for Google Maps can now authenticate billable Gemini API requests, since both services share the same key format. Truffle Security verified 2,863 exposed keys in the November 2025 Common Crawl. Google is revoking them, but companies should audit whether their own public Maps keys can reach Gemini billing.
The escalation mechanism is a change in privilege after key issuance: a key created for Maps, publicly embeddable by design, retains its value when Gemini is enabled on the same project, silently becoming a credential for sensitive Gemini endpoints and billable calls. Truffle Security found 2,863 valid keys via the /models listing endpoint in the November 2025 Common Crawl, including Google-owned keys predating Gemini itself (one live since February 2023). Google is revoking affected keys; no revocation date is given.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.