audit_firestore_project
Audit Firestore security rules and index definitions in a project directory to detect privilege escalations, validation bypasses, PII exposure, and redundant indexes.
Instructions
Auto-discover and audit firestore.rules and firestore.indexes.json in a Firebase project directory.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_firestore_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rulesPath | No | Optional explicit path to firestore.rules | |
| projectDir | No | Project root directory (defaults to current working directory) | |
| indexesPath | No | Optional explicit path to firestore.indexes.json |