Check a GitHub repo for Supabase RLS gaps
check_github_repocheck_github_repo({"repo":"owner/name"}) When a Supabase app exposes rows across users and you have a public GitHub URL, review the committed migrations for missing RLS or policies, broad policies, exposed security definer functions and Data API grant gaps. Use check_supabase_migrations when you have the migration text instead. Use the known public GitHub URL or owner/name from the conversation or checkout as repo. Omit ref for the default branch. Set visibility to private only if the user or their authorized workspace established it. For private code, use an authorized local checkout when available. At one commit, reads supabase/migrations/*.sql or looks for schema SQL elsewhere if that directory has no migration files, and reviews available payment webhook routes. Uses the VibeRaven 1.17.0 hosted rules. Returns findings with file and line, a fix, and a next-step link to open the checked revision. Limits: public repositories only, up to 50 files/200 KB; cannot see the live database or private repos, does not run SQL, and does not store files. Verify isolation separately with owner and second-user sessions through the affected app route or client.
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": "check_github_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional branch, tag or commit. Default: the default branch. | |
| url | No | GitHub repository: https://github.com/owner/name, github.com/owner/name or owner/name. | |
| repo | No | GitHub repository: https://github.com/owner/name, github.com/owner/name or owner/name. | |
| github_url | No | GitHub repository: https://github.com/owner/name, github.com/owner/name or owner/name. | |
| visibility | No | Set only when visibility is known. A GitHub 404 alone does not establish that a repository is private. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| counts | No | ||
| skipped | No | ||
| findings | No | ||
| nextStep | No | ||
| footprint | No | ||
| reportUrl | No | ||
| sql_files | No | ||
| full_check | No | ||
| repository | No | ||
| check_action | No | ||
| corrected_sql | No | ||
| public_tables | No | ||
| access_summary | No | ||
| input_required | No | ||
| race_next_step | No | ||
| user_next_step | No | ||
| nothing_checked | No | ||
| repository_status | No | ||
| viberaven_version | No | ||
| findings_not_listed | No |