Skip to main content

Is your Firebase app's data exposed?

Firebase lets an app talk to its database straight from the browser or phone, which is why it's quick to build with. The only thing deciding who can read and change that data is your Security Rules. If the project started in test mode, or the rules only check that someone is logged in, your customers' records may be readable by people who were never meant to see them. AI tools and tutorials often leave the rules exactly that way.

$495 fixed price · written report within 3 business days · no obligation to continue

In short

A Firebase app's data is exposed when its Security Rules allow open access, as test mode does, or let any logged-in user read and write everything. The API key in your app is meant to be public; the rules are the protection. PixelApps checks and rewrites Firestore, Realtime Database and Storage rules, starting with a $495 fixed-price audit.

Sound familiar?

If you recognise two or three of these, an audit will pay for itself.

  • The project started in test mode

    Firebase suggests test mode for getting started, so you picked it to get going and never came back to the rules.

  • The rules say 'if true' or 'auth != null'

    The first opens the data to anyone. The second lets any logged-in user read and change every record, including other customers' records.

  • You've had an alert about insecure rules

    Firebase's guide to insecure rules is written for people who have received an alert that their data isn't properly secured. If you've had one, treat it as urgent.

  • The app hides data, the database doesn't

    Customers only see their own records on screen. Whether the database would hand over someone else's records to a direct request is a separate question nobody has tested.

  • Uploads sit in an open bucket

    Photos, documents or ID images in Storage with rules that let anyone read or overwrite any file.

What are Firebase Security Rules?
Rules stored with your Firestore database, Realtime Database or Storage bucket that decide which users can read and write which data. Firebase's documentation says API keys for Firebase services only identify your project, and that data is protected by Security Rules and App Check, not by keeping the key secret. Test mode, which Firebase offers when you create a database, "allows anyone to read and overwrite your data" (Firebase, checked November 2026).

What we actually do

  1. We read every rule set

    Firestore, Realtime Database and Storage, as deployed. The console shows the most recently deployed rules, which aren't always the ones in your code.

  2. We test them, not just read them

    Using the Firebase emulator and the Rules Simulator, we try to read and write as a signed-out visitor, as one customer reaching for another's data, and as each role your app has.

  3. We write rules that match your business

    Content-owner rules for personal records, role-based rules for staff, and public read only where data is meant to be public. Realtime Database rules cascade from parent paths, so we structure them so a broad rule can't undo a narrow one.

  4. We check the keys and back-end code

    We confirm no admin credentials or service account keys sit in the app or the repository, and that Cloud Functions check who is calling before they act.

  5. We leave tests behind

    The rules are kept in your repository with automated tests run against the emulator, so the next change can't quietly reopen the data.

What it costs

Everything is quoted at a fixed price before it starts. No hourly surprises.

Rescue audit

$495

fixed price

A senior developer reviews your codebase, database and deployment, and sends a written report within 3 business days.

Rescue sprint

$2,500 – $8,000

typical range

We fix what the audit found: security holes closed, the app stabilised, deployment sorted, and the parts that stopped you shipping actually finished.

Ongoing care

$750

from, per month

A monthly retainer: hosting, updates, security patches, backups, monitoring, an agreed block of development time, and a human who answers when something breaks. We also work ad-hoc — just ask.

What the $495 audit includes

  • A plain-English summary of what you have and what state it is in
  • Security review — database access rules, exposed keys, login and permissions
  • A prioritised list of what is broken, what is risky and what is merely untidy
  • A fixed-price quote for the work, and an honest view on rebuild vs repair
  • The report is yours to keep and take to any developer

When you don't need us

If your Firebase project holds nothing but test data, lock it down with Firebase's own guide and carry on building. If you write rules yourself and test them with the emulator, you're doing what we'd do. Call us when real customer records are in the database and nobody has tested who can reach them. A rules review lowers the risk; it isn't a penetration test.

Send us your app

$495 fixed price. Written report within 3 business days.

Only if a quick call would be easier than email.

What do you need?(optional)
Where you're at(optional)

A range is enough. It helps us recommend the right approach, not the biggest one.

No obligation, and we never share your details.

Common questions

Open your project in the Firebase console, go to Firestore, Realtime Database or Storage, and select Rules. Look for 'allow read, write: if true', '.read': true, or rules that only check 'request.auth != null'. Then test real scenarios in the Rules Simulator or the local emulator, signed out and as different users.

No. Firebase's documentation says API keys for Firebase services identify your project and aren't secrets, and that it's safe to include them in your code. Your data is protected by Security Rules and App Check. A visible key with open rules is the problem; a visible key with good rules is normal.

They let anyone who can sign in read and write all the data the rule covers. If your app allows public sign-up, that's anyone at all. Firebase's own guidance is to narrow access with conditions on the user's ID, role or attributes.

Treat it as urgent. Check which database or bucket it refers to, replace open rules with rules based on who is signed in, test them, and deploy. If customer data may have been read already, look at what you can establish from your logs, and read about your obligations under the notifiable data breaches scheme.

The audit is $495 fixed, with a written report within 3 business days rating each finding by risk. Writing and testing new rules is usually a small, defined job after that. Most rescue work lands between $2,500 and $8,000, quoted at a fixed price.