56 evidence-bound security skills in 10 plugins for authorized assessment, red teaming, detection engineering and AI-agent security.
Firebase Security Rules Auditor Skill
Firebase's official red-team skill for auditing Firestore and Cloud Storage security rules — hunting privilege escalation, create/update bypasses and resource-exhaustion holes.
Install
Other ways to install
About
- 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
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.
SKILL.md
The instructions your agent loads, as published by Firebase.
Related Skills
See all Firebase Security Rules Auditor alternativesTrail of Bits' security review skill for PRs, commits, and diffs: risk-first analysis with git history, blast radius, and honest coverage limits.
Skill: SAIL — Secure AI Lifecycle
by Pillar Security
Pillar Security's SAIL V2 framework as an agent skill: a 91-risk catalogue across seven lifecycle phases, for AI security gap assessments, roadmaps, and ISO 42001 / EU AI Act compliance checklists.
Skill: Zeroize Audit
by Trail of Bits
Finds secrets left in memory in C, C++ and Rust — including wipes the compiler deleted — and requires IR or assembly evidence before calling one optimized away.