Fix guides
The security mistakes AI coding tools make most often, in plain English. How to tell if your app has one, and the exact fix to paste.
Row level security off (or a USING (true) policy) means any visitor can read the table.
The service_role key skips row level security entirely. In a client bundle it is a full database login.
An OpenAI or Anthropic key in shipped JavaScript is an open tab on your credit card.
A webhook that skips constructEvent believes any request that looks like Stripe.
A served /.env or /.git folder gives a stranger every secret and your full source code.
allow read, write: if true (or unexpired test mode) means any visitor can read and change your data.
allow read, write; with no condition lets any visitor list, download and replace every file.
A blank list, view or update rule opens that collection to every visitor, logged in or not.
A public mutation that never checks ctx.auth can be called by anyone who has your deployment URL.
Want the list of everything we test? See every check we run.