Plainmend

Notes

Turn on row-level security before you launch

AI app builders love Supabase, and they often leave row-level security (RLS) off. The browser needs the public anon key, so anyone can copy it from your page. With RLS off, that key can read every row in the table.

Example (illustrative only, not a real customer): a to-do app stores each user's tasks in a todos table. RLS is off. A visitor opens dev tools, copies the anon key and requests /rest/v1/todos?select=*. They get everyone's tasks.

Quick fix:

  1. Turn on RLS for every table.
  2. Add a policy such as auth.uid() = user_id.
  3. Test while logged out. You should get nothing back.

Not sure which tables are exposed? Plainmend lists the problems for free. The $5 fix report tells you exactly how to close them.