Teaser, in public
Paste a URL. We fetch the page, same-origin scripts, and a few public files. Headers, TLS, and leaked keys. No login and no database.
Supabase security and Row Level Security for vibe-coded apps
Rowok is a security check for vibe-coded Supabase apps. It signs in as two test users and tries to read, change, and delete each other's rows. That is the Row Level Security (RLS) failure a public URL never shows. You get a plain-English report and a fix you can paste into Lovable or Cursor. Then we scan again to prove it's fixed.
Most scanners only ask what an anonymous visitor can see. With the anon key and no session, auth.uid() is null, so an owner-only RLS policy returns nothing and the app looks closed. The leak that hits Lovable, Bolt, Cursor, Replit, and v0 apps on Supabase or Firebase is the one between two logged-in users.
Paste a URL. We fetch the page, same-origin scripts, and a few public files. Headers, TLS, and leaked keys. No login and no database.
A DNS TXT record or a file at /.well-known/rowok-verify.txt. Active probes stay off until that token is published.
We sign in as A and B, create marker rows, and try to read, update, and delete across the pair. Only those rows are touched.
Each finding includes a prompt for Lovable or Cursor. Re-scan and the report shows what closed and what is still open.
/.env, and /.git. Values are masked.Watch is cheaper than a single Launch Check. If you will ship more than once, the subscription is the one to take.
$0
$29
$19/mo
$99/mo
Prices are without VAT. TVA non applicable, art. 293 B du CGI.
Agency white-label PDF is not in this version — print the report or download Markdown.
The security checks behind the two-user matrix, written so you can run them yourself.
A public URL only shows the anonymous view. Sign in as two users and try to read, update, and delete each other's rows.
WITH CHECK (true) and logged-in checks let a user create or rewrite rows under someone else's user_id. The fix is auth.uid() = user_id, on insert and on update.
The anon key is public and follows RLS. The service_role key and sb_secret keys bypass RLS. How they leak through Vite and Next, how to find one in the built JS, and how to rotate it.
A client-side isAdmin flag, a policy on user_metadata, and an API route with no session all trust the browser. Use app_metadata or a roles table, and reject a missing user.
Ten checks before you share a Lovable or Bolt app that stores data in Supabase. RLS, two users, insert policies, leaked keys, and admin routes.
Sample, before the fix
F
The sample shows a re-scan after the cross-user leak and the leaked keys are gone, with the grade moving from F toward something you can ship. It is illustrative data, not a customer.
The two-user RLS guide is the same check, written as SQL and a short script, if you want to run it before you paste a URL.
No. Updates and deletes run only against marker rows the test users just created. Existing rows are left in place. We store counts, column names, and status codes, not row contents.
The teaser only fetches public URLs after you confirm you are allowed to. Database and login checks require a token published on that host, and they are refused otherwise.
No. It is a point-in-time check aimed at the mistakes vibe-coded Supabase and Firebase apps actually ship with. It is not a certification.
Supply two test accounts. Passwords are used for that request and are not written to the database.
Create two users. Sign in as the first with the anon key, insert a marker row, then sign in as the second and select, update, and delete that row by id. An empty result means the policy held. A returned row means user B can see user A's data. Opening the app logged out only uses the anon role, where auth.uid() is null, so it does not answer the question.
The anon key, and the newer publishable key that starts with sb_publishable_, is meant to be in the browser. It does not bypass Row Level Security. It is only safe when RLS is on for every table that holds user data and the policies check the owner. The service_role key, and any key that starts with sb_secret_, bypasses RLS. Those stay in server environment variables, never in a VITE_ or NEXT_PUBLIC_ name.
A policy of auth.uid() = user_id is false for a request with no session, because auth.uid() is null. The page comes back empty and looks locked. That is the anonymous view. User B, signed in, is a different Postgres role. If the policy is USING (true), or it only checks that someone is logged in, B can read A's rows while a logged-out visit still looks safe.
WITH CHECK (true), and WITH CHECK (auth.uid() is not null), let a signed-in user write a row whose user_id belongs to someone else. The insert check should be auth.uid() = user_id. An update policy needs both USING and WITH CHECK, so a user cannot take a row they can see and assign it to someone else. Permissive policies are OR'd together, so one open policy undoes a strict one.