Articles

How to audit Supabase RLS with free tools or a paid review

Nov 11, 2026 · 5 min read · Supabase

In a Supabase project, tables in an exposed schema without Row Level Security can be read with your public key. A Supabase RLS audit looks for them, and this page covers three routes with a stated price, from a free web check to a paid review by a person.

On this page4 sections

The maker of Shipmate, one of the three, wrote this page.

Before you start

You need a Supabase project you control and somewhere to write down findings. rls-doctor requires Node.js 20 or later. The table below shows what each route asks of you.

What Supabase says you are responsible for

Under Supabase’s shared responsibility model, you are always responsible for your Supabase account, access management, your data and applying security controls. If you share database access with your team or the public, managing those access levels is on you, as is giving tables with sensitive data the right level of access. Supabase recommends always applying Row Level Security. It sends security alerts through Security Advisor, and applying its recommendations is your responsibility.

Free and paid routes compared

Three routes state a price in their own sources.

Product Price What it needs from you
RowShield free audit Free A project URL for the outside check, no account or signup; a catalog-read credential for the catalog scan
rls-doctor Free, per its MCP Marketplace listing Node.js 20 or later, and a Postgres connection string or a schema file for offline checks
Shipmate free check $0, no card Your link, no code access
Shipmate Launch Lockdown $950 once Read access to your repo and a signed one-page written OK

The prices and features of the other products here come from pages read on 11 November 2026, and Shipmate’s from its page read on 9 November 2026.

Three other tools appear in the sources: ekhorkov/rls-audit, a Claude Code skill under the MIT license; Codema’s Supabase RLS audit skill, which reports gaps and proposes migrations without applying them; and Sentrail, which runs its checks read-only and puts any proposed change behind explicit human approval.

RowShield

RowShield’s free audit checks a Supabase project from the outside, and from its catalog if you connect it.

  1. Open the free audit page and paste your project URL. RowShield says no signup is needed and the check takes about ten seconds.
  2. Read the findings. Each is one rule violation, with a severity, a plain-language reason and fix SQL generated from your actual columns.
  3. Find the tables that answer an anonymous request. The probe sends only the public anon key and lists by name, with a column count, any table that returns rows. It never shows contents. An empty reply is recorded as reachable, not clean, because from outside a filtered-out table and an empty one look the same.
  4. Check the credential findings. A privileged key in browser-reachable code is reported as critical, with advice to rotate it first.
  5. Connect the project to run the catalog rules. They cover RLS disabled, always-true policies, RLS enabled with no policies, missing WITH CHECK, unindexed predicates, unwrapped auth calls and public buckets.

RowShield states that it does no source-code review, dependency scanning, header or TLS analysis, XSS testing or compliance interpretation. Keeping a project watched starts on its Free tier: one project, daily scans, email alerts and one seat.

rls-doctor

rls-doctor is a read-only Postgres and Supabase audit that runs from a terminal or inside a coding agent.

  1. Put a read-only database credential in the DATABASE_URL or SUPABASE_DB_URL environment variable. Passing a secret with --connection exposes it in shell history and process listings.
  2. Run npx rls-doctor check --schema public --fail-on high. It audits the public schema and is set to fail on high findings.
  3. Run npx rls-doctor explain public.profiles for full detail on one table.
  4. Run npx rls-doctor probe --app-roles authenticated --subjects <user-id-1> <user-id-2> with two real Supabase user ids. The probe sets request.jwt.claims inside a transaction that always rolls back, so auth.uid() resolves to each user, then it counts whose rows each identity can read. A line such as “Role authenticated reads rows across 2 distinct owner_id values” is rated high.
  5. To use it from an agent, add an MCP server entry with the command npx and the args -y and rls-doctor. The agent skill installs with npx skills add subhajitlucky/rls-doctor.

It does not audit views, functions or hosted Supabase management settings, so review Data API configuration separately. It does not run the SQL it suggests; those are review templates.

Shipmate

Shipmate is made for apps built with Supabase, among other tools, and who can see your data is one of the areas it checks. A person tests every area and checks every finding, and tools are used to go faster.

The free check costs $0, needs no card and no code access, scans public pages only, and sends results by email with a target of two days. Launch Lockdown costs $950 once:

  1. Send your link and sign the one-page written OK. Testing happens only with written permission.
  2. Give Shipmate read access to the repo, so fixes can come as pull requests.
  3. Offer a staging copy if you have one. Shipmate prefers it, and nothing destructive is run on live data.
  4. Wait while a person tests the code and the live site by hand.
  5. Review the one pull request with the fixes, and approve it.
  6. Merge it. Shipmate re-checks after the merge.
  7. Take the 15-minute call on the findings.

Pentest + letter costs $2,950 once. It includes everything in Launch Lockdown, plus a hands-on pentest and an attestation letter, and a sample letter is shown up front. The letter states what was tested and when. It is not a certification and not a SOC 2 audit, and an auditor decides whether to accept it.

Confirm each fix by hand

After you apply a fix from any route, run the two-account test to see that it holds. The steps are in the two-account test article.