Supabase RLS audit: what it is, what I check, what you get
By Luca Gennaro · Last updated 19 November 2026
A Supabase RLS audit is a careful review of your Row Level Security rules and permissions, to find the cases where one customer can see or change another customer’s data. I read your code and migrations, test as real users on a local copy, and send you a written report with evidence you can rerun.
RLS is the set of database rules in Supabase that decides which rows each signed-in user can read or change. Apps built fast with Lovable, Bolt, v0 or Cursor often ship with rules that look fine but are not. Nothing looks broken when that happens, so it takes a deliberate look to find it.
What an RLS audit is
The question is simple: if I sign in as customer A, can I reach anything that belongs to customer B? Answering it takes more than checking that RLS is switched on. A table can have RLS enabled and still leak, through a policy that allows everyone, a view that goes around the rules, or a function that runs with the owner’s rights.
So the audit has two parts: reading the rules to see what they say, and testing as two real users to see what they actually do.
What I check
- Tables without RLS, and policies that allow anyone (
using (true)) - Who sees which company’s data, tested with two separate test accounts
- Roles enforced in the database, not only hidden in the interface
- Views, older table grants and SECURITY DEFINER functions that bypass the rules
- File storage and uploads, including public buckets
- Server functions, exposed keys and invite flows
Want to look first yourself? Read 7 Row Level Security checks before shipping your Lovable/Supabase app, or the 10-minute self-check.
What you receive
- A written report, founders first, developers second: each finding with its severity, what it means for your business, and the evidence to reproduce it.
- If there is nothing to find, a report that says so and shows what I checked and how.
- With the fix packages: the fixes as a database migration, each one checked with a test you can rerun.
Everything is by email, no calls. For a typical app the report arrives within 5 working days of getting access to the code. Prices are fixed and one-time; see the security audit page for the tiers and prices.
Limits
I am not a certified penetration tester. This is a focused, reproducible review of database rules and permissions, with evidence you can rerun, not a guarantee that nothing else can go wrong. I only look at your code and a local environment, with your written permission. I do not test live systems and I never touch your users’ real data.
A real review, in public
I reviewed a demo CRM built with Lovable on Supabase (not a client) as I would a client’s app before launch. Result: 4 confirmed issues and 1 high, latent finding, closed by 1 hardening migration and verified by 30 automated tests run as real users. Read the report and the repository.
FAQ
What is a Supabase RLS audit?
It is a careful review of the Row Level Security (RLS) rules and permissions of a Supabase app, to find the cases where one customer can see or change another customer’s data. It combines reading the code and migrations with tests run as real users on a local copy.
Is turning RLS on enough?
No. With RLS on and no policy, a table is locked. But a policy that says using (true), a view that skips the rules, or a function that runs with the owner’s rights can still expose data. Turning RLS on is the start of the check, not the end.
Do you test my live app or production data?
No. I only test with your written permission, on a local copy built from your code and migrations, with test accounts. I never touch your users’ real data and I never test a live system.
What do I need to send you?
Access to the code including the Supabase migrations (a GitHub repository is easiest), a few lines on who your users are and what each role should be able to do, and your written permission.
How much does a Supabase RLS audit cost?
Prices are one-time and fixed: $150 for the audit and written report, $350 with fixes for critical and high issues, $700 for full hardening. Bigger apps get a fixed quote after I read the code. Full details are on the security audit page.
Is this a penetration test?
No. I am not a certified penetration tester. This is a focused, reproducible review of database rules and permissions, with evidence you can rerun. It is not a guarantee that nothing else can go wrong.
Ready to start?
See the security audit page for the tiers, then write to me or email hello@lucagennaro.com; I reply by email, usually within a couple of working days. Back to the home page.