This skill enables the agent to act as a security auditor, proactively identifying operation sequences that bypass rules: comparing create and update rules, checking whether role / isAdmin / ownerId are derived from user-submitted data, verifying if rules truly support business logic, ensuring strings and arrays have length limits, confirming fields have type checks, and validating that hasOnly() and diff() are paired with ownership checks. Results are scored from 1 to 5, with each issue's severity and fix listed in JSON format; no points are deducted if a single admin email is hardcoded and email verification is enforced.
Why It Matters The checklist highlights common vulnerabilities: creating legitimately first then escalating to an unauthorized state, deriving role fields from user-submitted data, and restricting fields without checking ownership, which is more specific than a general review.
skills.sh installs 152561 (+443 / 24h)
Security Audit: Not Audited
- Not yet scanned
Reasoning
- skills.sh installs 443 in the last 24 hours, cumulative 152561 (indicating attention only); official Firebase publisher, with 13 other skills from the same repository on the leaderboard
- Pure documentation-type skill, reads rule files for judgment only, does not require Firebase login or command execution
Usage
- Run npx skills add https://github.com/firebase/agent-skills --skill firebase-security-rules-auditor, then tell the agent "Audit firestore.rules, score according to the checklist, and provide fixes"
Risks
- Not audited: not scanned on desktop, website does not display installation commands
- Only examines rule text, does not test against real projects; after modifying rules, still need to run them through the Firebase emulator