Supabase's official skill covering Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron and Queues — with a hard rule to verify against the live changelog before writing code.
Firebase Security Rules Auditor
Summary
Firebase's official red-team skill for auditing Firestore and Cloud Storage security rules — hunting privilege escalation, create/update bypasses and resource-exhaustion holes.
Features
- Adversarial red-team review rather than a style check
- Detects create-then-update privilege escalation paths
- Flags authorization that trusts request.resource.data
- Treats missing size limits as a DoS risk
- Checks type safety on every field
- Separates hasOnly()/diff() field control from ownership checks
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Description
Firebase Security Rules fail in ways that read as secure. A rule set can look thorough and still let a user write a document that passes create, then mutate it into an admin record through update. This official Firebase skill puts the agent in an adversarial posture: it is a penetration tester looking for the hole in the wall, explicitly told not to assume a rule is safe because it is complex.
The audit checklist
- The update bypass. Compare
createandupdaterules side by side. Can a user create a valid document and then update it into a malicious state — changing their own role, escaping size limits, corrupting field types? - Authority source. Does the rule trust
request.resource.datafor sensitive fields likerole,isAdminorownerId? User-supplied data is not an authority. - Business logic vs. rules. Do the rules actually support what the app does? Rules that block legitimate collaborators are not "secure" — they push the team into insecure workarounds.
- Storage abuse. Missing string-length and array-size limits are flagged as resource-exhaustion and denial-of-service risks, not style nits.
- Type safety. Are fields checked with
is string,is int,is timestamp? - Field-level vs. identity-level security.
hasOnly()anddiff()restrict which fields change, not who may change them — without a separate ownership check, that is a common and expensive misreading.
Scope
It covers Firestore and Cloud Storage rules and scores them against the auditor checklist. It deliberately does not cover Firebase CLI operations such as login and deploy, Auth, Crashlytics, Remote Config or database queries — other skills in Firebase's twelve-skill collection handle those.
Installable through the Skills CLI, as a Gemini CLI extension, or as a Claude, Codex or Kimi plugin.
Related Skills
GreenSock's official ScrollTrigger skill — scroll-linked animation, pinning, scrub and trigger positioning, with the exact start/end syntax agents get wrong.
Microsoft's official skill that turns an agent into an Azure solution architect — 10 design principles, 6 architecture styles, 44 design patterns and a Well-Architected review workflow.
Trail of Bits' security review skill for PRs, commits, and diffs: risk-first analysis with git history, blast radius, and honest coverage limits.