Guide
Supabase RLS checker
Row level security is the switch that makes a public anon key acceptable. Without it, the key in your frontend is a read (and often a write) of the public schema.
What TrustLite does
If the HTML or a same-origin script contains a Supabase URL and an anon JWT, TrustLite calls the PostgREST OpenAPI document with that anon key. For each table it issues select=*&limit=1. A 401 or 403 is treated as blocked. A 200 with a row is reported as readable, with column names only. The cell values are not saved and are not shown.
What an empty 200 means
PostgREST returns an empty array both when the table has no rows and when a policy filters everything out. TrustLite still flags the empty 200, at a lower severity, because the request was not rejected. Open the table in Supabase and confirm RLS is enabled. An empty table with RLS off will start leaking the moment a row exists.
What we will not do
The service role key is never used as a credential, even when it is sitting in the bundle. Finding it is the finding. Using it would make the check worse than the bug. There is no insert, update, delete, or rpc call.
A fix you can paste
Enable RLS on every table in the public schema. Add policies that match the signed-in user, usually auth.uid() = user_id. Do not add a policy for the anon role unless the data is meant to be public. Then run the check again. Related: keys that should never be in the client.