Skills firebase-security-rules-auditor
๐Ÿ“ฆ

firebase-security-rules-auditor

Content revision r1 Safe โš™๏ธ External commands

Audit Firebase Security Rules

Firestore rules can accidentally allow data leaks, role escalation, or unsafe updates. This skill guides Claude, Codex, and Claude Code through a focused review of access control and validation gaps.

Supports: Claude Codex Code(CC)
๐Ÿฅ‰ 77 Bronze

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "firebase-security-rules-auditor" from https://skillstore.io/skills/firebase-firebase-security-rules-auditor.md and its manifest at https://skillstore.io/api/skills/firebase-firebase-security-rules-auditor/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Test it

Using "firebase-security-rules-auditor". A rule lets authenticated users update profile display names with hasOnly() but has no ownership check.

Expected outcome:

Major finding: field restrictions limit what changes, but not who can change another profile. Add an ownership check before allowing updates.

Using "firebase-security-rules-auditor". A create rule validates field types, but the update rule allows any new data for the same document.

Expected outcome:

Critical finding: the update path can bypass create validation. Reuse the same type, size, and allowed-field checks for updates.

Using "firebase-security-rules-auditor". An admin rule checks a fixed email and also requires email_verified to be true.

Expected outcome:

Minor or no issue: this limited bootstrap pattern can be acceptable when no rule lets users add new admins or bypass verification.

Security Audit

Safe
v4 โ€ข 7/6/2026 Open versioned report

Static analysis flagged Markdown backticks and security-audit wording in SKILL.md. Manual review found these are non-executable Firestore rule references and legitimate audit checklist items, with no prompt injection or malicious intent found.

1
Files scanned
45
Lines analyzed
0
Review items
0
False positives ignored

Risk Factors

โš™๏ธ External commands (1)
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/firebase-firebase-security-rules-auditor/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/firebase-firebase-security-rules-auditor/security.svg)](https://skillstore.io/skills/firebase-firebase-security-rules-auditor?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/firebase-firebase-security-rules-auditor?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/firebase-firebase-security-rules-auditor/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/firebase-firebase-security-rules-auditor.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

firebase. (2026). firebase-security-rules-auditor security audit report (audit version 4) [Author version unspecified]. Skillstore. https://skillstore.io/skills/firebase-firebase-security-rules-auditor/audits/4

BibTeX citation

@techreport{firebase-firebase-firebase-security-rules-auditor-2026, author = {firebase}, title = {firebase-security-rules-auditor security audit report (audit version 4)}, institution = {Skillstore}, year = {2026}, number = {4}, url = {https://skillstore.io/skills/firebase-firebase-security-rules-auditor/audits/4}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "firebase-security-rules-auditor security audit report (audit version 4)" version: "unspecified" type: report authors: - name: "firebase" date-released: "2026-07-06" url: "https://skillstore.io/skills/firebase-firebase-security-rules-auditor/audits/4" identifiers: - type: other value: "skillstore:firebase-firebase-security-rules-auditor:audit:4" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: Medium
55
Architecture
85
Maintainability
87
Content
67
Community
83
Spec Compliance

What You Can Build

Pre-Release Rules Review

Check new Firestore rules before deployment and identify authorization or validation gaps.

Security Triage

Prioritize rule weaknesses by severity and convert them into concrete remediation tasks.

Product Logic Validation

Verify that rules support collaboration, ownership, and admin workflows without unsafe shortcuts.

Try These Prompts

Basic Rules Review
Audit these Firestore security rules. Summarize the main risks, assign a 1 to 5 score, and list practical fixes.
Update Bypass Check
Review these rules for update bypasses. Compare create and update validation for roles, ownership fields, sizes, and data types.
Ownership and Role Review
Audit whether these rules trust user-provided authority fields. Check ownerId, role, isAdmin, and collaborator access paths.
Release Gate Assessment
Perform a release-gate audit for these Firestore rules. Include severity, exploit scenario, affected workflow, and recommended rule changes.

Best Practices

  • Provide complete rules, collection purpose, and expected user roles before asking for review.
  • Ask for separate findings for data leaks, privilege escalation, validation bypass, and denial-of-service risk.
  • Use the recommendations to update rules, then run a second audit on the revised version.

Avoid

  • Do not audit isolated snippets without explaining the app workflow and user roles.
  • Do not treat hasOnly() or diff() as ownership checks by themselves.
  • Do not accept a high score when update rules skip validation used during create.

Frequently Asked Questions

What does this skill audit?
It audits Firestore security rules for authorization, ownership, validation, and business-logic weaknesses.
Does it support Claude, Codex, and Claude Code?
Yes. The report metadata lists support for Claude, Codex, and Claude Code.
Can it test rules against a live Firebase project?
No. It provides reasoning-based review and recommendations, not live emulator or production testing.
What input should I provide?
Provide the full Firestore rules file, user roles, collection purposes, and sensitive fields.
How should I use the score?
Use the score as a triage signal, then fix every critical and major finding before release.
Can it replace a security review?
No. It helps find common rule weaknesses, but high-risk applications still need expert review and testing.

Developer Details

Author

firebase

License

MIT

Skillstore revision

r1

Version notice

The author did not declare a version.

Ref

a06681402992ceae98ba04d54cfd4ab004862696

Maintenance freshness

7/18/2026

Usage

1 downloads ยท 23 views

File structure

๐Ÿ“„ SKILL.md

More from firebase

View all
View all