Firestore Rules Guard
Audits firestore.rules and storage.rules for public access, expired test-mode dates and missing owner checks — 13 rules, line by line, before you deploy.
Install
npx @readystack/firestore-rules-guard file
Node 18+. The same 13 rules as the VS Code extension, from a terminal or CI.
Free
- Audit the .rules file you have open and get every open-access finding with its line number, locally, with no key and no account.
--rules lists every rule
With a licence ($29 once)
- Audit every .rules file in the workspace in one pass and keep a dated Markdown evidence report you can attach to a review or a customer security questionnaire.
@readystack/firestore-rules-guard --dir ./templates --report html --out report.html
A freelance Firebase developer is quoted at $120 an hour, and a manual pass over one project's rules takes about an hour, repeated every time the rules change.
Use from an AI agent (MCP)
Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:
{ "mcpServers": { "firestore-rules-guard": { "command": "npx", "args": ["-y", "@readystack/firestore-rules-guard", "--mcp"] } } }
Tools: check_text and check_file (free) · check_dir (licence). The agent gets every finding with the line number.
Use in CI
- name: Firestore Rules Guard
run: npx -y @readystack/firestore-rules-guard --dir . --ci
(container: docker run --rm -v "$PWD:/work" getreadystack/firestore-rules-guard --dir /work --ci)
The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set READYSTACK_LICENSE=<key> or run --license <key> once.
Get a licence