LeakyVibe

Does your app have this problem? Free scan, 15 sec, no sign-up

or watch it scan our demo app ▶

Blog ·

Turning on RLS isn't enough: check what your policies allow

Row Level Security (RLS) in Supabase blocks every request until a policy allows it. When an app breaks, AI builders often fix it by adding a policy like "Enable read access for all users" with the rule true. RLS shows as on, but anyone holding your public anon key can still read every row.

The switch alone tells you nothing. The policy decides who sees what.

The fix: open Authentication, then Policies, in the Supabase dashboard and read each one. A rule of true on a table with personal data is a red flag. Ask your builder to change it to auth.uid() = user_id, so each user only reaches their own rows. Then log in as a second test user and confirm you can't see the first user's data.

Want an outside check of your live app? Run the free 15-second scan at leakyvibe.com/?demo=1&ref=blog-check-your-supabase-rls-policies-not-just-the-switch.

Check your app for this now

Free scan · about 15 seconds · no sign-up

Passive, read-only checks. Only scan apps you own or have permission to test.