Scan a local repo for AI-built-app security problems
scan_repoScan a local project folder to find leaked secrets, browser-exposed env vars, missing Supabase RLS, wildcard CORS, open Firebase rules, and unauthenticated API routes. Returns severity-ranked results.
Instructions
Scans a local project folder (Next.js, Vite, Express, Supabase, Firebase style) for leaked secrets, secrets exposed to the browser, missing Supabase row-level security, wildcard CORS, open Firebase rules, dangerous code patterns and API routes without a visible auth check. Returns counts plus findings ordered by severity. Secrets are redacted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "scan_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the project folder | |
| limit | No | Maximum findings to return | |
| max_mb | No | Skip files larger than this many MB | |
| min_severity | No | Hide findings below this severity | LOW |