🕳️ Vulnerabilities & CVEs

Supabase RLS: The Misconfig That Leaks Your Users' Data

You launch on Supabase, users flock in, then bam—someone reads every profile. RLS enabled? Sure, but wrong policies turn it into a sieve.

Supabase dashboard with RLS enabled but insecure policy warning

⚡ Key Takeaways

  • Audit RLS policies now: Hunt `(true)` and missing ones with pg_policies query 𝕏
  • Ditch AI-generated permissive policies; use auth.uid() scoping 𝕏
  • Test anon key exposure via curl—empty results or bust 𝕏
Published by

theAIcatchup

Community-driven. Code-first.

Worth sharing?

Get the best Open Source stories of the week in your inbox — no noise, no spam.

Originally reported by Dev.to

Stay in the loop

The week's most important stories from theAIcatchup, delivered once a week.