Skip to content

Free Supabase and AI engineering tools

Free Supabase RLS policy checker that runs in your browser

Last updated .

Liwala's free tools each do one job in your browser, with no sign-up and nothing sent to a server.

How these tools work

  • Each tool runs in your browser. There is no backend and no API key, and what you paste is not sent anywhere or stored.
  • Each rule comes from an official doc. The tool shows the doc and the line it rests on next to each result.
  • Each tool page says what it cannot check, so you know where to test by hand.

Check your Supabase security

Supabase RLS policy checker

Paste your table and policy SQL. It flags tables without RLS and policies that open every row, and quotes the Supabase or Postgres doc behind each finding.

What happens when you paste

  1. 1Your SQLPasted into the page. Not sent anywhere or stored.
  2. 210 rules from the docsEach one rests on a Supabase or PostgreSQL doc.
  3. 3Findings with the doc quoteSeverity, line number and a link to the doc section.

Example runnot a live input

Result panel of the Supabase RLS policy checker after a run on its example SQL. It reads 8 findings: 4 high, 2 medium, 2 low. The first finding, marked High, says public.messages is in the public schema without row level security, and quotes the Supabase and Postgres docs behind it.
The checker on its built-in example SQL: 8 findings, 4 high, 2 medium, 2 low. The first one is shown.
Open the checker

What the RLS checker flags

The Supabase RLS policy checker reads your table and policy SQL and flags tables without row level security and policies that open every row. These are its 10 rules. Each finding quotes the doc in the last column.

rls-not-enabledHighTable in the public schema without RLS enabledSupabase docs: Row Level Security (Danger note at the top)
using-trueHighupdate, delete, for allMediumselectPolicy with using (true)Supabase docs: Authenticated and unauthenticated roles
with-check-trueHighPolicy with with check (true)PostgreSQL docs: CREATE POLICY, Description
insert-without-with-checkHighInsert policy without WITH CHECKSupabase docs: INSERT policies
update-without-with-checkMediumUpdate policy without WITH CHECKSupabase docs: UPDATE policies
clause-not-allowedHighClause that Postgres does not accept for this commandPostgreSQL docs: CREATE POLICY, INSERT
auth-call-not-wrappedLowauth.uid() or auth.jwt() called without (select ...)Supabase docs: Call functions with select
no-to-roleMediumPolicy with no TO roleSupabase docs: Specify roles in your policies
anon-writeHighWrite policy that applies to anonSupabase docs: Authenticated and unauthenticated roles
missing-indexLowPolicy filter column with no index in the pasted SQLSupabase docs: Add indexes

Sources

The docs behind the tools on this page, each checked on :

FAQ

Is there a free tool to check Supabase RLS policies?

Yes. The Supabase RLS policy checker on this site reads the SQL you paste and flags tables in the public schema without RLS enabled, using (true) policies, insert policies with no WITH CHECK, policies with no TO role and write policies open to anon. It does not connect to your database.

Do these tools send my SQL or data anywhere?

No. Each tool runs in your browser. There is no backend, no API key and no database connection, and nothing you paste is stored.

Does a clean result mean my policies are safe?

No. A text scan finds common mistakes but cannot see your live database, grants or functions. Supabase's RLS guide says to write pgTAP tests for each table and run them with supabase test db.