Home / patterns

Firebase/Firestore rules left in test mode

Quick answer: Test-mode rules allow open reads and writes. Production rules should require auth and match the document owner.

Last updated November 12, 2026

Steps

  1. Open the Firebase console and check Firestore and Storage → Rules.
  2. Look for allow read, write: if true or a time-based test rule.
  3. Require request.auth != null and match request.auth.uid to the owner.
  4. Test the rules in the Rules Playground.

Why it matters

This is a common failure pattern in apps built quickly with AI coding tools. The steps above check your own app only. Never test apps you don't own.

Found a problem you'd rather not fix yourself?

Tell us what's wrong. A StorenTech engineer reviews your app and replies with a fixed quote, so you know the cost before any work starts.

Get it fixed by StorenTech

Vibe Security Weekly

One email a week with new failure patterns and how to fix them.

By joining you agree we may email you this newsletter. See our privacy policy. Free. Unsubscribe anytime. We'll never sell your email.