rls-audit.sql is one SQL query for Supabase and Lovable Cloud databases. It looks at your permission setup and returns a list of findings sorted by severity. It is free and you do not need to contact anyone to use it.
16 checks in total (C01 to C16). Five of them are heuristics and can misfire, so treat each finding as a lead to confirm, not a verdict.
The script is a single SELECT over the database catalog: table settings, policies, grants, views, functions and storage bucket settings. It does not read your application rows and does not change anything. It was tested on PostgreSQL 16.15 inside a read-only transaction, where the database rejects any write. The test database is public: rls-audit-fixture.sql.
It does not check auth settings, Stripe, your function code or anything outside the database.
public, add them to exposed_schemas at the top of the file before running.It assumes the standard Supabase roles (anon and authenticated) and the storage schema.
Export the result table (all rows) and send it with your first message on Upwork. The output contains table, policy and function names, not your users' data. If a name is sensitive, replace it with a placeholder before sending. Never send passwords, service role keys or Stripe secret keys.