Supabase rls audit
@shipcheck/supabase-rls-audit
Audit row level security in your Supabase migrations before you launch. Finds tables with RLS off, policies that let anyone write, policies that trust user_metadata, views that skip RLS, and risky SECURITY DEFINER functions, then drafts a fix migration for you to review. Reads .sql files only and never touches your database.
- Activity
- New: be the first to try it
- Installs
- 0 installs
- Likes
- 0 likes
- Clones
- 0 clones
What this kit declares, in the same words the CLI shows before you install. On Claude Code the CLI turns these into permission rules, so the agent stops anything undeclared.
Command
Runs the command: node scripts/rls-audit.mjs (with any arguments, without asking)
Reads
Reads files in ./supabase/migrations/**
Reads
Reads files in ./supabase/schema.sql
Writes
Writes files in ./out/**
Writes
Writes files in ./supabase/migrations/**
- Works with
- claude-code
- License
- MIT
