Disclosure: I built RedSuture, the tool that found this. Everything below works without it.
I build an AI chatbot for websites, and I built a security tool on the side. Before asking anyone to trust that tool with their app, I ran it against my own.
About 20 minutes in, it reported a high-severity finding: two of my Firestore collections could be read by anyone, without signing in.
Every screen in my app worked. Signed-in users only ever saw their own data. But anyone who skipped the app and talked to Firestore directly could read everything in those two collections.
Here's the full run if you want to watch it (2 minutes):
{ https://youtu.be/Bvg-WZNJAE4 }
If your app uses Firestore, here's how to check yours in about 10 minutes.
β οΈ Only run these checks against Firebase projects you own.
Why this happens to so many Firebase apps
Your Firebase web config ships to every visitor's browser:
const firebaseConfig = {
apiKey: "AIza...",
projectId: "your-app",
// ...
};
That's fine, because Googleβ¦