Supabase Security Best Practices
Implements and audits security configurations for Supabase projects, including Row Level Security (RLS), API key management, and JWT verification.
This skill provides essential guidance for securing Supabase applications by enforcing industry-standard security patterns. It helps developers correctly implement Row Level Security (RLS) policies, manage the critical distinction between anon and service_role keys, and harden the public API surface. Whether you are performing a production security audit or setting up a new project, this skill ensures your Postgres database remains protected while exposed via PostgREST, preventing unauthorized data access and accidental data leakage.
主な機能
01Template-driven RLS policy creation for common multi-tenant access patterns
02Validation of API key usage to prevent service_role exposure in client code
03Automated identification of tables missing Row Level Security (RLS)
04Hardening checklists for network restrictions, CORS, and SSL enforcement
052,064 GitHub stars
06Resource protection through statement timeout and auth provider configuration
ユースケース
01Troubleshooting and fixing RLS policy violation errors in the client
02Performing a pre-production security audit on a Supabase project
03Implementing role-based access control (RBAC) using custom JWT claims