supabase-rls-check: open-source CLI and MCP server (Python, SQL, MIT) that reviews a Supabase project's Row Level Security from a read-only catalog query. It flags 11 misconfiguration types, such as tables with RLS off, policies that are just true, policies that trust user-editable user_metadata, SECURITY DEFINER functions the anon key can call, and public Storage buckets, then writes an HTML/Markdown report and a fix.sql draft wrapped in BEGIN/ROLLBACK. CI runs it against PostgreSQL 15 with seeded issues; 66 tests. Also on PyPI, the MCP Registry and GitHub Marketplace as a GitHub Action. The screenshot is the report for a fictional demo project. github.com/Tthanh2k6/supabase-rls-check

0 likes · 1 view · Nov 9, 2026
Open-source CLI and MCP server (Python, SQL, MIT) that reviews Supabase Row Level Security from a read-only catalog query: 11 misconfiguration rules, 66 tests,