Browser Scanner & CLI
$0 / forever
- 8 static RLS, RPC, storage & secret rules
- 100% client-side privacy (zero uploads)
- Composite GitHub Action & Markdown/JSON export
Static Postgres & Supabase Security Instrument
Paste any .sql migration or drop files below. Runs deterministically in your browser tab (connect-src 'none') across 8 security rules with exact line numbers and copy-paste SQL fixes.
No signup, no database connection, no network requests.
Deterministic static checks across tables, policies, RPCs, and secrets.
Self-Enforcing Pull Request Guardrail
Block unguarded tables and SECURITY DEFINER bugs automatically on every pull request.
Zero dependencies · writes full report to GitHub Job Summary
name: Supabase RLS Guard
on:
pull_request:
paths:
- 'supabase/migrations/**'
- 'src/**'
jobs:
rls-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: PabloIan92/supabase-rls-auditor@v1
with:
path: '.'
fail-on: 'critical'
Run locally in terminal or directly from Cursor, Claude Desktop, and Windsurf agents.
git clone https://github.com/PabloIan92/supabase-rls-auditor python3 -m auditor.cli ./supabase --format md --fail-on critical
Need automated agentic audits via MCP? Call the hosted Pay-Per-Event Apify Actor ($0.05/audit).
Transparent Pricing · No Hidden Upsells
Every core check in this scanner is free and open-source. Paid tiers save setup time for shipping teams.
$0 / forever
$49 one-time
.rpc() regression guardrail scripts$0.05 / audit
Field Reference
Every table created in public is exposed over PostgREST automatically. Without ALTER TABLE ... ENABLE ROW LEVEL SECURITY, anyone with your public anon key can read or mutate every row.
ALTER TABLE public.invoices ENABLE ROW LEVEL SECURITY;
Policies written during prototyping with USING (true) or without TO authenticated default to Postgres PUBLIC—meaning unauthenticated anon requests match them too.
CREATE POLICY "owner_only" ON public.invoices FOR SELECT TO authenticated USING (user_id = auth.uid());
Postgres functions declared SECURITY DEFINER run with owner privileges. Always pin SET search_path = public, pg_temp and verify auth.uid() inside the body.
CREATE FUNCTION public.pay_inv(id uuid) RETURNS void LANGUAGE plpgsql SECURITY DEFINER SET search_path = public, pg_temp AS $$ ...