Menu

My own security agents found my Firestore data open to the internet. Here's how to check yours.
πŸ“°

My own security agents found my Firestore data open to the internet. Here's how to check yours.

DEV Community: firebaseΒ·NextAI Studios LimitedΒ·10 days ago
#bl0Uaa32
#devtofirebase#devto#dev#rules#anyone
Long article (845 words) β€” no AI summary yet.
Reading 0:00
15s threshold

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…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.