Ship Sentinel

Supabase RLS checker

Ship Sentinel looks for a Supabase URL and an anon key in the JavaScript the site already sends to browsers. After you verify the domain, it calls the PostgREST schema endpoint with that anon key and requests each table with Range: 0-0 and Prefer: count=exact.

The report includes the table name, whether the count says rows exist, and column names from the OpenAPI schema. Sensitive column names are redacted. Row values are not saved or shown.

If the anon request is rejected with 401 or 403, the table is not reported as open.

A policy you can paste

alter table public.orders enable row level security;
revoke all on table public.orders from anon;
create policy "orders_select_own"
on public.orders
for select
to authenticated
using (auth.uid() = user_id);

Change user_id to the column that stores the owner. Repeat the idea for insert, update, and delete with with check.

The same logged-out test is written out, with the curl and the result codes, in how to check if your Supabase app leaks data.