firebase-security-rules-auditor

firebase-security-rules-auditor is a skill for Claude Code from pleaseai/claude-code-plugins. It costs 94 tokens per session (898 once invoked), scanned A, a copy of firebase-security-rules-auditor, MIT.

A security review guide for Firebase Firestore and Cloud Storage rules. It checks whether users can bypass permissions, change protected data, exhaust resources, or exploit inconsistent validation.

In plain words
What is it for?
Audit Firebase security rules, investigate create-versus-update gaps, check ownership and role checks, and assess privilege-escalation or data-access risks.
Why use it?
It helps uncover access-control mistakes that may let users read or modify data they should not control. The review actively tests likely ways around the rules instead of trusting their appearance.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the firebase plugin — 13 skills shipped together

Good fit Audit Firebase security rules, investigate create-versus-update gaps, check ownership and role checks, and assess privilege-escalation or data-access risks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pleaseai/claude-code-plugins/firebase-security-rules-auditor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pleaseai/claude-code-plugins --skill firebase-security-rules-auditor
Clone the repo
git clone --depth 1 https://github.com/pleaseai/claude-code-plugins

Made for: Claude Code.

Or install firebase, the plugin that ships this one along with the rest of its 13 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for firebase-security-rules-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/firebase-security-rules-auditor/github.svg)](https://agentmods.dev/skills/pleaseai/claude-code-plugins/firebase-security-rules-auditor)
Your own site
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/firebase-security-rules-auditor"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/firebase-security-rules-auditor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for firebase-security-rules-auditor

Your own site · 80×15
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/firebase-security-rules-auditor"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/firebase-security-rules-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 898 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.00898
Opus 5.5 $0.00038 $0.00359
Sonnet 5.5 $0.00019 $0.00180
Haiku 4.5 $0.00009 $0.00090

Measured 1mo ago against content hash 6522cd9e61ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

firebase-security-rules-auditor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to firebase-security-rules-auditor — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/firebase/.agents/skills/firebase-security-rules-auditor/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

  1. The Update Bypass: Compare 'create' and 'update' rules. Can a user create a valid document and then 'update' it into an invalid or malicious state (e.g., changing their role, bypassing size limits, or corrupting data types)?
  2. Authority Source: Does the security rely on user-provided data (request.resource.data) for sensitive fields like 'role', 'isAdmin', or 'ownerId'? Carefully consider the source for that authority.
  3. Business Logic vs. Rules: Does the rule set actually support the app's purpose? (e.g., In a collaboration app, can collaborators actually read the data? If not, the rules are "broken" or will force insecure workarounds).
  4. Storage Abuse: Are there string length or array size limits? If not, label it as a "Resource Exhaustion/DoS" risk.
  5. Type Safety: Are fields checked with 'is string', 'is int', or 'is timestamp'?
  6. Field-Level vs. Identity-Level Security: Be careful with rules that use hasOnly() or diff(). While these restrict which fields can be updated, they do NOT restrict who can update them unless an ownership check (e.g., resource.data.uid == request.auth.uid) is also present. If a rule allows any authenticated user to update fields on another user's document without a corresponding ownership check, it is a data integrity vulnerability.

Admin Bootstrapping & Privileges:

The admin bootstrapping process is limited in this app. If the rules use a single hardcoded admin email (e.g., checking request.auth.token.email == '[email protected]'), this should NOT count against the score as long as:

Read the full file on GitHub · 86 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines 6522cd9e61ca
  2. 2mo ago Changed · +11 lines d91963549e62
  3. 2mo ago First seen · 74 lines · 94 tokens per session scan A 68d93d5baa81

Subscribe to this mod's changes

firebase-security-rules-auditor is a skill published in the GitHub repository pleaseai/claude-code-plugins (17 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 898 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to firebase-security-rules-auditor, differing in 0 lines, and is treated as a copy.

Related

firebase-security-rules-auditor compared with skills from other repositories

firebase-security-rules-auditor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
firebase-security-rules-auditorpleaseai/claude-code-pluginsSkill17yesterdayMITA94Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code