1. Lock Supabase Row-Level Security (RLS) on Every Public Table
AI builders frequently create public tables without ENABLE ROW LEVEL SECURITY or leave permissive USING (true) policies, letting anyone with your public anon key dump every user row via PostgREST.
Audit every CREATE TABLE statement in supabase/migrations/. For every table in the public schema storing user data, add ALTER TABLE public.<table> ENABLE ROW LEVEL SECURITY; ALTER TABLE public.<table> FORCE ROW LEVEL SECURITY; REVOKE ALL ON TABLE public.<table> FROM anon; and add owner-scoped SELECT/INSERT/UPDATE/DELETE policies checking auth.uid() = user_id. Show the exact SQL migration diff.