Skip to contentLockpick
How it worksPricingDocs

Read

  • BlogPlain answers to common security questions
  • GuidesStep by step fixes for common setups
  • Security checksEvery check we run, explained

Learn

  • Learn with PickTwo-minute lessons on how sites get attacked
  • Lockpick for ClaudeCheck sites from Claude and other assistants
  • GlossaryThe words we use, in plain words

Company

  • ChangelogWhat changed, newest first
  • StatusWhether scans are running right now
  • Security and trustHow we check and what we never do
Sign inCheck it
Checks

Can anyone read your Firebase Realtime Database?

By Mark KashefPublished October 8, 2026

This check sends one shallow public read to the Firebase Realtime Database your site uses, and flags it when entries come back. Only the number of top-level entries is kept.

What does this check look at?

It looks at whether a Firebase Realtime Database your site uses answers a public read. Firebase says its security rules are the only safeguard blocking access for malicious users, and that by default your rules do not allow anyone access to your database.

Only a Deep scan runs it, after you prove you own the site. It applies only when the site code talks to a Firebase Realtime Database.

See whether your site has this. A Deep scan walks the whole site, the scripts it loads and your API surface.

Run a Deep scan

What does a result mean?

What the report showsWhat it meansWhat to do
Medium findingA public read listed entries.Require sign-in in the database rules, then read again.

Only how many top-level entries answered is kept, so it cannot say what the data holds. Rules left open from test mode are the usual cause. A clean result means nothing was found in what the scan read. It does not prove the problem is absent from parts the scan never sees.

How serious is a finding?

Fix this first when it is confirmed. Anyone could use a finding of this kind on their own, with no victim and no second step. Confidence starts high, because a response from your site shows the thing itself. The report lists what to fix by how directly someone could use it, not by the severity label.

What does a confirmed finding have to show?

PartFor this check
Where it startsAnyone on the internet, with no account, cookie or credential
The protection that should stop itDatabase rules allowed a public read
What is reachedA shallow read listed entries
What followsWhatever those entries hold

Fix it with your AI

Change the rules in the Firebase console or your rules file, then test them before deploying.

Fix prompt for any coding agent
My Firebase Realtime Database answers public reads. Rewrite my database rules so reads and writes require a signed-in user ("auth != null"), and scope each path to the user who owns it (for example data under users/$uid readable only when auth.uid === $uid). Keep public read only on paths that hold data meant for everyone, and list them for me. Show me the rules and how to test them in the rules simulator.

How to check

Say Atlas, our example app at atlas.example, started its database in test mode. A Deep scan sends one shallow read, counts the top-level entries and flags it.

Deep scans come with the Deep plan, and pricing shows what it includes. Pulse or Deep explains what each scan reads, and the full list of checks shows the rest.

Questions people ask

Did the scan read my data?

Only enough to count top-level entries. Their names and values are never kept, and nothing is written.

Does this check Cloud Firestore too?

No. It covers the Realtime Database a site uses. Firestore rules need their own review.

Run this check on your site

Only a Deep scan runs this check, once you prove you own the site. Deep walks your whole site, the scripts it loads and your API surface.

Run a Deep scan

Related pages

  • Can anyone read your Supabase tables with the public anon key?
  • Do your Convex functions return data to anyone who calls them?
  • Does an API route on your site answer without signing in?

Sources

  1. Basic Security Rules Firebase docs, read on October 7, 2026
  2. How we rate findings Lockpick docs, read on October 7, 2026
  3. Understand Firebase Realtime Database Security Rules Firebase docs, read on October 7, 2026

About the author

Mark Kashef, Founder of Lockpick

I'm Mark, and I build Lockpick. I write these pages, and each one is checked against its sources before it goes live. The Updated date changes only when the page itself does.

Lockpick
PricingMethodologyDocsBlogGuidesSecurity checksLearn with PickSecurity and trustLockpick for ClaudeChangelogStatusFacts for AI assistants

Lockpick is a security scanner for vibe-coded apps. It checks what your live site exposes and what a GitHub repo or AI skill would do before you install it, then gives you a fix prompt for Lovable, Bolt, Replit, Cursor or Claude Code.

Lockpick assesses public pages you are authorized to test, and public GitHub code it never runs.

© 2026 LockpickTermsPrivacyContactSign in