- in the checklist, each with a check you can run
- 8 steps
- for the audit, at a fixed fee agreed up front
- 10 days
- for build and launch, in writing before work starts
- Fixed quote
Why Lovable apps need a security check
A Lovable app talks to its database directly from the browser. That is a sound design only when the database itself decides who may see each row. If those rules are missing, anyone who can open your site can ask the database for everything.
The tool can write the rules, and it often does. It cannot know which of your tables hold private data, so the gaps appear exactly where a founder would least expect them: in the table added last week.
What the audit covers
A useful security review of a Lovable app looks at five areas.
- Data accessRow Level Security and the policy on every table.
- SecretsWhich keys are in the browser and which should not be.
- Sign-inConfirmation, password reset, sessions and redirect addresses.
- Server functionsWho may call them and what input they accept.
- Files and paymentsStorage permissions and how a payment is confirmed.
The security checklist
Eight checks, in the order that finds the most serious problems first.
Turn on Row Level Security everywhere
In Supabase, every table should have Row Level Security enabled, including the ones that seem harmless. A table without it is open to anyone holding your public key.
Check: the table list shows no table with security disabled.
Read each policy as a sentence
A policy should say who may do what to which rows, for example “a user may read rows where the owner is that user”. Policies that allow everyone, or that check nothing, are the same as no policy.
Check: you can state each policy in plain words.
Test with two accounts
Rules that look right can still be wrong. Sign in as two test users and try to read, change and delete each other’s records, including by editing IDs in the address bar.
Check: every attempt is refused.
Find every key in the browser
The public (anon) key is meant to be there. A service-role key, a Stripe secret key or an AI provider key is not. Move any call that needs one into a server function.
Check: the published code contains no secret keys, and any key that was exposed has been replaced.
Protect server functions
Each function should confirm who is calling before it acts, and should reject input it does not expect. An open function that calls a paid AI service is also an open bill.
Check: calling a function while signed out returns an error.
Check file storage
Uploaded files follow their own rules. Make private buckets private and limit who can upload, what type and how large.
Check: a private file’s address does not open in a signed-out browser.
Tighten sign-in
Require email confirmation if accounts matter, set redirect addresses to your real domain only and test password reset from start to finish.
Check: a reset link works once and then expires.
Confirm payments on the server
Paid access should be granted when the payment provider tells your server, through a signed webhook, that the payment succeeded.
Check: changing a value in the browser cannot unlock a paid plan.
What you should receive
A security review is only useful if it ends in work you can assign. Ask for a written list of findings, each with how serious it is, how to reproduce it and what fixing it involves.
Then fix the serious ones before you invite more users, and run the two-account test again afterwards. A fix that was never retested is a hope, not a fix.
How Saaro can help
Saaro reviews the code, dependencies, tests and release risks of AI-built apps as a code audit, and scopes the follow-up fixes in writing after seeing the project.
If security is one worry among several, the 10-day product audit puts the whole list in order. Rebuilding the affected parts falls under Build and launch.
Audit
Custom quote
10 days
Build and launch
Custom quote
Timeline fixed in your quote
