01
Database, RLS and keys
- Row level security and table grants for anon and authenticated on every table, including tables that were only added later by prompt
- Policies that give every visitor access, views that bypass RLS by default, and permissions based on user_metadata
- Secret key (service_role) in the frontend, in the repository or in the git history
- Legacy anon and service_role keys: Supabase is deprecating them by the end of 2026, and creating new keys does not switch the old ones off






















