PeekLok

Base44: Supabase RLS turned off

Row Level Security (RLS) is the rule that says “each user can only see their own rows.” If it is off on a table, anyone holding your public key, which every visitor has, can read the whole table.

Free scan: check my app Just your web address. Results in seconds. No signup, no card.

Why it matters for your Base44 app

Base44 handles hosting and data for you. Its entity permission settings decide who can read and change each record.

Customer names, emails, orders or messages can be downloaded by a stranger in one request. This is exactly the problem reported in CVE-2025-48757, where a researcher found 170 of 1,645 Lovable-built apps exposing data.

How to check in five minutes

  1. Open your Supabase dashboard and go to Table Editor.
  2. Look for any table marked “RLS disabled” or “Unrestricted”.
  3. For each table, check there is a policy that limits rows to the signed-in user (for example user_id = auth.uid()).

What PeekLok’s scan checks

If your app uses Supabase and its public anon key is in your page code, PeekLok’s scan tries to read each table with that key and tells you which ones return data. It can’t see your policies, so a table that returns nothing may still be too open to signed-in users. The optional two-user test checks that for one table.

Fix prompt to paste into the Base44 chat

Turn on Row Level Security for every table in my Supabase database. For each table that holds user data, add policies so a signed-in user can only select, insert, update and delete rows where user_id equals auth.uid(). Do not use “true” as a policy. List every table and policy you changed. (This is a Base44 app using Base44’s built-in database. Keep secrets in Base44’s secrets settings.)

After the AI makes changes, test again with two accounts. AI fixes can look right and still miss a table or route.

Make it a habit: every time you or the chat adds a new table, check that RLS is on for it and that its policies only let each user reach their own rows. New tables are the easiest ones to miss when you build fast.

Sources

Related

Same issue in other builders:

All Base44 security guides · Supabase RLS turned off explained

Get a free scan

PeekLok checks your live app for secret keys in the page code, a Supabase service or anon key showing, Supabase tables anyone can read with the public key, and five browser security headers. If your app uses Supabase login, you can add two test logins and it checks whether one user can see the other’s data. Only scan apps you own. First scan free. Weekly re-checks will be $12 US a month once payments open.

Start my free scan