Security Scanner forGoogle AI Studio Apps
Google AI Studio's build mode (the successor to Firebase Studio) turns a prompt into a full-stack app on Cloud Firestore in minutes. But Firestore's own default leaves your data open to any anonymous request, and apps built before May 2026 may still carry a Gemini API key in the client bundle. ShipSafe checks both from the outside.
Why Google AI Studio Apps Need a Security Check
Google AI Studio's build mode is the fast lane for turning a prompt into a working app. Google is sunsetting Firebase Studio (usable through March 22, 2027) in favor of AI Studio, so a growing share of new Firebase-backed apps are being built here. The apps AI Studio generates are wired to Cloud Firestore and Firebase Authentication, not Supabase — so the security story is different too.
The first risk is Firestore's own defaults. When you create a Firebase project, you choose between Locked mode (deny everyone) or Test mode, which Firebase's own docs describe as rules that allow "anyone access." Test mode is convenient for a demo and easy to forget about once the app is live. ShipSafe reads your live Firestore and Cloud Storage rules and flags the exact "allow read, write: if true" pattern that leaves your database open to anyone on the internet.
The second risk is newer, with a clean before-and-after. Until May 14, 2026, apps built in AI Studio's build mode called the Gemini API directly from the browser, so the API key shipped inside the client bundle for anyone to copy out of DevTools. Google now configures new apps to keep the key server-side by default and auto-upgrades older apps the next time their Gemini integration is touched — but an app built before that date and left untouched can still be carrying a client-exposed key today.
ShipSafe doesn't structurally fingerprint "this app was built with AI Studio" the way it does for Lovable or Bolt.new — there's no AI-Studio-specific signature to detect. What it does do: point it at your live app URL or GitHub repo, and it checks your Firestore and Cloud Storage rules for public access and your client bundle for a Gemini key, or any other AI API key, that shouldn't be there.
Common Vulnerabilities in Google AI Studio Apps
AI Studio's Firebase backend introduces a different class of vulnerabilities than Supabase-based builders — centered on Firestore's rules and how the Gemini key gets wired in.
Firestore Security Rules Left in Test Mode
CriticalAI Studio wires new apps to Cloud Firestore, and Firebase's own default for a new project is "test mode" — rules that let any anonymous request read and write, which Firebase's own documentation describes as access for "anyone." It's meant to be temporary, but plenty of apps ship with it untouched. Anyone who pulls your Firebase config out of the bundle can read or overwrite every document in your database.
Firestore Rules That Check Login, Not Ownership
HighA tightened rule still isn't the same as a safe one. A common half-fix requires request.auth != null but never checks that the requester actually owns the document, so any signed-in user — not just the record's owner — can read or write every other user's data. The rule set looks locked down at a glance and fails the first real test.
Cloud Storage Rules With the Same Open Default
HighFirebase Storage runs on the identical rules language as Firestore, and the same "allow read, write: if true" pattern shows up just as often in storage.rules protecting uploaded files, avatars, and documents. It's the same mistake in a second place, and it's just as easy to miss when you've only checked the database rules.
Gemini API Key Shipped in the Client Bundle
CriticalApps built in AI Studio before May 14, 2026 called the Gemini API directly from the browser, which put the API key inside the client JavaScript for anyone to copy out of DevTools. Google now defaults new apps to a server-side key and auto-upgrades older apps the next time their Gemini integration is edited — but an app left untouched since before that date can still be exposing a live key today.
How ShipSafe Secures Your Google AI Studio App
Point ShipSafe at Your App
Give ShipSafe your live app URL or GitHub repo. There's no AI-Studio-specific setup required — it runs the same checks whether AI Studio built your app, another tool did, or you wrote it by hand.
Firestore and Storage Rules, Checked Live
ShipSafe reads your Firestore and Cloud Storage security rules, and, where it's safe to do so, makes a real read-only request to prove whether a collection or bucket is actually reachable by an anonymous visitor — not just a guess from the code.
Every Key, Traced to Its File and Line
ShipSafe scans your client JavaScript for a Gemini key, any other AI API key, or a Firebase config value that shouldn't be public, and shows you exactly which file it's in.
Frequently Asked Questions
Does ShipSafe auto-detect Google AI Studio apps?
Is Google AI Studio's Firestore backend secure by default?
Is my Gemini API key exposed if I built my app in AI Studio?
What's the difference between Firebase Studio and Google AI Studio?
How do I fix an open Firestore or Storage rule set?
Is Your Google AI Studio App Actually Secure?
Open Firestore rules mean your whole database is public. 2 minutes to find out. No card, no catch.
No credit card required. See all plans
This is an independent comparison provided for informational purposes. All product names, logos, and brands are the property of their respective owners; ShipSafe is not affiliated with, endorsed by, or sponsored by them. Statements about other products reflect publicly available information at the time of writing and may change, so please verify current details on each provider’s own website.
