Skip to content

Free Firebase rules checker

Short answer

Short answer: check public Firebase rule behavior for overly broad access, then test the intended roles with Firebase's rules emulator. This guide explains what to verify and what the public scan cannot prove, without logging in, changing records, or treating an inconclusive response as a pass.

Check yours now
Read-only. No writes or row contents.

What the Firebase Security Rules checker check covers

The checker probes public Firebase endpoints and looks for signals consistent with open rules. It cannot enumerate every collection, query, Storage object, or authenticated role in a project.

This free checker is an entry point into a broader read-only scan. Its output is evidence about a specific public response or browser asset, not a guarantee that the application, provider account, or private backend is safe.

Firebase's client configuration can be public, while Security Rules determine access. Firestore, Realtime Database, and Storage have separate rules and should be tested independently.

Understand the evidence before changing code

A response can be blocked for reasons other than a secure policy, including host configuration or request shape. Treat ambiguous results as a prompt to run rules tests, not as a pass.

Run the check against a production URL you own or are authorized to test. The browser-visible configuration is already public; never paste a secret value into the checker, a support ticket, or an AI prompt.

Apply the narrow, safe change

Write rules that match authenticated identity and resource ownership, validate new data, and scope each operation. Avoid broad matches or unconditional read/write rules for private collections.

Owner-scoped Firestore example · js
match /users/{userId}/private/{docId} {
  allow read, write: if request.auth != null
    && request.auth.uid == userId;
}

Results distinguish a confirmed response from a blocked or ambiguous one. A timeout, authentication wall, empty dataset, or host-level denial may prevent a conclusion; the tool should not turn missing evidence into a green result.

Verify the production result

Use Firebase Emulator Suite tests for anonymous, owner, and unrelated-user cases, deploy the intended rules, and confirm the production project is the one tested.

If the checker finds an issue, use the linked repair guide to change the correct deployment setting. Keep least privilege, review the diff, and avoid disabling access controls just to make the status change.

Keep the issue from returning

Keep rules in version control and run tests before deploy. Include Storage rules and Realtime Database rules in the review when the app uses those services.

Re-run the checker after deployment and compare the new response with the original finding. If a CDN or build cache is involved, verify the actual public asset rather than assuming a successful deploy invalidated every copy.

Limits and next steps

A public probe is a fast signal, not a substitute for service-specific tests. It cannot prove every query, claim, or path is properly restricted.

The check is designed to avoid reading private application records. Where a provider offers a count-only or metadata response, the tool reads only that signal; it does not need row contents to explain the boundary.

A passing result covers only the advertised check and its observable surface. It does not replace dependency review, authenticated authorization tests, incident response, or a security assessment of code the public scanner cannot see.

Key facts

  • Firebase web config is not the authorization policy.
  • Each Firebase product has its own rules behavior.
  • Emulator tests can check multiple roles before production deploy.

Questions

Can a clean Firebase Security Rules checker check prove the app is secure?
No. It is evidence about the advertised public surface only. It looks for public signals but cannot exhaustively test every collection or role.
What should I do first if the finding is real?
Use service-specific rules with authentication and ownership checks.
Does ProofForge change application data?
No. The scan is read-only and does not sign in, write records, or use a discovered secret. You make and review any remediation in your own project.
What should I do after the repair?
Run emulator tests, deploy the intended rules, and verify the live project.

Official documentation referenced

Related

Last updated 2026-11-25 · Reviewed by ProofForge · Methodology · Markdown