Firestore Rules Guard
Runs the same checker as our npm package on a Node.js runtime that pip installs for you (
nodejs-wheel-binaries) - no system Node.js needed. Your files are checked locally.
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
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.
--ruleslists 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.
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": "firestore-rules-guard", "args": ["--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: pip install rulestamp-firestore-rules-guard && firestore-rules-guard --dir . --ci
The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set READYSTACK_LICENSE=<key> or run --license <key> once.
Install (PyPI)
pip install rulestamp-firestore-rules-guard
firestore-rules-guard --help
Metadata
Release files for rulestamp-firestore-rules-guard 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rulestamp_firestore_rules_guard-1.0.7.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rulestamp_firestore_rules_guard-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.5 kB
Release files / rulestamp_firestore_rules_guard-1.0.7.tar.gz
| Download URL | rulestamp_firestore_rules_guard-1.0.7.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
901983e4875ce4870ddfa3d47f181959655eea848101e1594bbc0e9e6bd6ba60
|
|
BLAKE2b-256 checksum How to use checksums |
32e055df8d8165dde5bddc4f6bbb11487d10a4a7b49f671287e4951da536c002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / rulestamp_firestore_rules_guard-1.0.7-py3-none-any.whl
| Download URL | rulestamp_firestore_rules_guard-1.0.7-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12a7150db93d89385668927ae8d5b7f2675c8fd25031a577603be222a3be60ab
|
|
BLAKE2b-256 checksum How to use checksums |
0d488b078a1c8446bef9ca763f3e4765be52a39a15e415f7e72baaf33f494965
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|