
Firestore Security Rules Auditor
This takes a red team approach to auditing Firestore security rules, specifically looking for the kinds of bypasses that actually happen in production. It checks for the classic create/update split where users bootstrap valid documents then mutate them into privileged states, sniffs out rules that trust client-provided role fields, and flags missing size limits that let attackers stuff documents until you hit quota. The field-level versus identity-level distinction is smart: it catches rules that restrict which fields change but forget to check who's changing them. If you're shipping anything with user-generated Firestore data, running this before launch will save you from the "wait, users can just set isAdmin to true?" postmortem.
- skills.sh installs
- 20.4K
- GitHub stars
- 508
- last updated
- Aug 21, 2026
Install
$ npx -y skills add firebase/agent-skills --skill firestore-security-rules-auditor --agent claude-codeInstalls into .claude/skills of the current project.
Files
This takes a red team approach to auditing Firestore security rules, specifically looking for the kinds of bypasses that actually happen in production. It checks for the classic create/update split where users bootstrap valid documents then mutate them into privileged states, sniffs out rules that trust client-provided role fields, and flags missing size limits that let attackers stuff documents until you hit quota. The field-level versus identity-level distinction is smart: it catches rules that restrict which fields change but forget to check who's changing them. If you're shipping anything with user-generated Firestore data, running this before launch will save you from the "wait, users can just set isAdmin to true?" postmortem.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/firebase/agent-skills
- Categories
- Backend & APIs, Security, AI & Agent Building, Databases
- First seen
- Apr 16, 2026
More from firebase/agent-skills
All 23- 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
- Firebase Security Rules Auditor146.2K
- 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