firebase-security-rules-auditor

Evaluate Firestore security rules for vulnerabilities and assign security scores.

402|81|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/firebase/agent-skills --skill firebase-security-rules-auditor-firebase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-security-rules-auditor
Source: https://github.com/firebase/agent-skills/tree/main/skills/firebase-security-rules-auditor
Command: npx skills add https://github.com/firebase/agent-skills --skill firebase-security-rules-auditor-firebase

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill evaluates Firestore security rules to ensure they are secure, robust, and correctly implemented, helping to prevent unauthorized data access and privilege escalation.

Core Features & Use Cases

  • Security Validation: Audits Firestore security rules against a set of criteria to ensure they are secure and robust.
  • Scoring System: Provides a scoring system for the security of the rules, with clear criteria for each score.
  • Use Case: When updating Firestore security rules, use this Skill to verify that the new rules are secure and will not allow unauthorized access or privilege escalation.

Quick Start

Run the 'firebase-security-rules-auditor' skill to evaluate the security of your Firestore rules.

Frequently Asked Questions about firebase-security-rules-auditor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Firestore security rules for vulnerabilities?

To audit Firestore security rules, you can run this evaluator to identify potential vulnerabilities and prevent unauthorized data access. It analyzes your provided rules against strict security criteria to detect privilege escalation risks.

What is a good way to score the robustness of Firebase security rules?

Scoring the robustness of Firebase security rules involves evaluating them against a set of predefined security criteria. This assessment generates a clear score indicating how well your rules prevent unauthorized access and privilege escalation.

Do I need Python to run a Firestore rules assessment?

Yes, you need Python installed to execute the Firestore rules assessment. Along with the Python environment, you must provide your current Firestore security rules as input for the evaluation process to run.

When should I validate Firebase security rules for unauthorized access?

You should validate Firebase security rules whenever you update them to ensure new configurations do not allow unauthorized access. Running an assessment before deployment verifies that your rule changes remain secure and robust against privilege escalation.

Can this evaluator detect privilege escalation in Firestore rules?

Yes, the evaluator detects privilege escalation risks by assessing your Firestore security rules for robustness. It identifies potential vulnerabilities where unauthorized users might gain elevated access to your database.