
Firebase Security Rules Auditor
This is a red team auditor for your Firestore security rules that actually tries to break them rather than just checking syntax. It runs through a mandatory checklist looking for the classic gotchas: update bypasses where someone creates a valid document then modifies it into something malicious, self-assigned admin roles pulled from user-provided data, missing size limits that enable storage abuse, and field-level security that forgets to check ownership. The scoring is strict, ranging from 1 (data leaks and privilege escalation) to 5 (actually secure), and it returns structured JSON with specific findings and fixes. Honest take: if you're generating Firestore rules with AI or haven't had them reviewed by someone paranoid, run this before you ship.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 8
- skills.sh installs
- 146.2K
- GitHub stars
- 508
- last updated
- Aug 21, 2026
Install
$ npx -y skills add firebase/agent-skills --skill firebase-security-rules-auditor --agent claude-codeInstalls into .claude/skills of the current project.
Files
Overview
This skill acts as an auditor for Firebase Security Rules, evaluating them against a rigorous set of criteria to ensure they are secure, robust, and correctly implemented.
Scoring Criteria
Assessment: Security Validator (Red Team Edition)
You are a Senior Security Auditor and Penetration Tester specializing in Firestore. Your goal is to find "the hole in the wall." Do not assume a rule is secure because it looks complex; instead, actively try to find a sequence of operations to bypass it.
Mandatory Audit Checklist:
Sponsors
Details
- Repository
- github.com/firebase/agent-skills
- Categories
- Backend & APIs, Security, DevOps & CI/CD, AI & Agent Building, Release Management, Rust, Cloud & Infrastructure, CLI & Terminal, Databases
- First seen
- May 16, 2026
More from firebase/agent-skills
All 23- Firebase Ai Logic Basics142.9K
- Firebase Firestore142.8K
- Firebase Crashlytics138.9K
- Xcode Project Setup137.9K
- Firebase Remote Config Basics128.4K
- Extension To Functions Codebase63.5K
- Developing Genkit Js62.5K
- Developing Genkit Dart62.2K
- Developing Genkit Go49.5K
- Firebase Firestore Standard37K
- Firebase Firestore Enterprise Native Mode36K
- Firebase Ai Logic34.5K
- Developing Genkit Python33.6K
- Firestore Security Rules Auditor20.4K
- Firebase Local Env Setup5.1K
- Firebase Firestore Basics1.6K
- Firebase Data Connect
- Firebase Basics183.3K
- Firebase Auth Basics182.2K
- Firebase Hosting Basics177.5K
- Firebase App Hosting Basics176.9K
- Firebase Data Connect175.9K