Next.js / Supabase
RLS (row-level security), service_role key paths and tenant isolation, closed in design and code. A specialist audit built on a 1,000-repository field study.
- Not whether RLS is on, but whether its conditions are right
- service_role key and SECURITY DEFINER function paths
- Multi-tenant crossing (can one company see another’s data?)
- Storage policies and who can see the files