More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Firebase Rules Safety Check

    1

    It returns BLOCK, REVIEW, or NOT FLAGGED, with the file, line, reason, and a safer approach.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Firebase Rules Safety Check

    Firebase Rules Safety Check

    Example session with this skill installed

    Check this project with firebase-rules-safety-check.

    • Read your context and instructions
    • Compiled the firebase rules safety

    $ python3 scripts/check_firebase.py examples/risky
    BLOCK database.rules.json:3 F02 WHOLE_DATABASE_OPEN
    ".read": true,
    Why: A rule on a recursive wildcard (match /{document=**}) or the database root lets everyone, or every signed-in user, read or write all data, and it overrides your narrower rules.
    Safer: Remove the catch-all rule and write one match block per collection with owner checks.

    BLOCK firestore.rules:4 F02 WHOLE_DATABASE_OPEN
    BLOCK firestore.rules:4 F03 TEST_MODE_RULES
    BLOCK firestore.rules:11 F01 WRITE_OPEN_TO_EVERYONE
    REVIEW database.rules.json:5 F11 ANY_SIGNED_IN_USER_CAN_WRITE
    REVIEW firestore.rules:1 F14 RULES_VERSION_1
    REVIEW firestore.rules:7 F12 PUBLIC_READ
    REVIEW firestore.rules:8 F11 ANY_SIGNED_IN_USER_CAN_WRITE
    REVIEW storage.rules:5 F12 PUBLIC_READ
    REVIEW storage.rules:6 F13 STORAGE_UPLOAD_UNLIMITED

    (Each finding also has Why and Safer lines, as in the first one.)
    Verdict: BLOCK. Checked 3 files, 3 with Firebase rules content.
    This is a static check of file text. NOT FLAGGED is not a guarantee.

    BLOCK database.rules.json

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The test-mode rule Firebase suggests (request.time < timestamp.date(...)) leaves every document open to anyone until that date. This skill finds that and six other rule mistakes in firestore.rules, storage.rules and database.rules.json, and tells you how to fix each one.

    Your agent runs a scanner on your Firebase rules files. It understands match blocks, recursive wildcards, conditions over several lines, comments and helper functions, and Realtime Database JSON rules. It returns BLOCK, REVIEW, or NOT FLAGGED, with the file, line, reason, and a safer approach.

    What it checks

    BLOCK

    • F01: a write rule with no condition or if true
    • F02: a catch-all match /{document=**} or database root rule that opens everything
    • F03: leftover test-mode rules (request.time < timestamp.date)

    REVIEW

    • F11: writes allowed for any signed-in user
    • F12: public reads with no condition
    • F13: Storage uploads with no size limit
    • F14: no rules_version = '2'

    What's included

    • The scanner (Python 3.9+, standard library only)
    • A rules guide with the reason and safer approach for each rule
    • Risky and safe example rules files, and the real report the scanner produces on the risky ones

    Limits It reads the rules text and does not evaluate helper functions or data in your database. Test your rules in the Firebase Emulator too. NOT FLAGGED is not a guarantee.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Static check of rules text. Helper functions are treated as checks and are not evaluated; App Check and Cloud Functions are not seen. NOT FLAGGED is not a guarantee.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Software
    python3 (3.9 or newer)

    Permissions

    Terminal / Shell
    Read Files

    Runs one local Python script in the terminal. It reads your project's files, writes nothing, and makes no network calls.

    Listed8 days ago
    Updated5 days ago

    What's inside

    Frequently Asked Questions

    No. The script reads local files only and makes no network calls.

    No. It only reports. Your agent changes files only if you ask it to.

    Any agent that supports SKILL.md skills and can run a terminal command, such as Claude Code. It needs Python 3.9 or newer and nothing else.

    No. It reads your rules files as text. It does not call Firebase, deploy rules or need a login.

    BLOCK: fix it before you ship. REVIEW: check it before release. NOT FLAGGED: no rule matched. It is a static check, so NOT FLAGGED is not a guarantee.

    The scanner, a rules guide with the reason and safer approach for every rule, risky and safe example rules files, and the real report the scanner prints on the risky example.

    New in APIs & Backend