What are the security best practices for Supabase?
Enable RLS on every table without exception and write specific policies that match your application logic. Never expose the service_role key in client-side code and use it only in secure server environments. Enable email confirmation for authentication and configure proper password requirements. Use pgAudit or Supabase logs to monitor for suspicious database activity. Keep your Supabase project updated, restrict network access where possible, and enable two-factor authentication on your Supabase dashboard account. UNPWNED continuously monitors your Supabase security posture and alerts you to new misconfigurations or vulnerabilities.
Check your Supabase app now
Run free security scanLast reviewed: 2026-04-07. Based on publicly available security research and UNPWNED scan telemetry.