Vibe coded app security checklist: 10 checks before strangers sign up


By Ammar Saleem Butt and Hijab Zulfiqar, the founders of IdeaWorkflow. Updated .
The short answer: Lovable, Bolt and Base44 are fine tools to build with. The risk is in what they build for you: database rules left open, secret keys sitting in the browser, and payments that trust whatever the browser tells them. None of it shows while you’re the only user. The 10 checks below catch most of it, and 8 of them need no code at all.
Why this matters before launch
In 2025, a critical security flaw was logged against apps built with Lovable (CVE-2025-48757, rated 9.3 out of 10). Their database rules let people who weren’t logged in read data they should never have seen, and researchers found more than 170 apps exposed. Lovable disputes it, saying each customer is responsible for protecting their own app’s data.
Either way, the job lands on you. In our own records of 98 founder projects, one customer being able to see another customer’s data came up 17 times. It’s the problem founders find last and pay for most.
The checklist
Do these on a test copy if you can, or at a quiet hour if your app is already live. Write down every check that fails.
Your customers’ data
- 01
Two accounts, two browsers.No code
Sign up as customer A in one browser and customer B in another, or in a private window. Create something as A. Can B see it anywhere: in a list, in search, on a dashboard?
- 02
Open Supabase’s Security Advisor.No code, 5 minutes
If your app uses Supabase (Lovable and Bolt often do), open your project’s dashboard, then Advisors, then Security. Any error saying “RLS disabled in public” means a table is open. In Supabase’s own words: “Anyone with your project URL can read, edit, and delete all data in this table.” Also look for “Security definer view”, which means a view that skips your rules.
- 03
Change the number in the address bar.No code
Open one of A’s items and look at the address. If it ends in a number or an ID, change it to a different one while logged in as B. You should get an error, never someone else’s record.
- 04
Signed out.No code
Sign out and paste the address of your dashboard or admin page into the browser. It should send you to the login page.
Your keys
- 05
Search the page for secret keys.No code
Open your app, press
F12, choose the Network tab and reload. Search forservice_role,sk_andsk-. None of them should ever appear in the browser.- Supabase’s anon or publishable key is meant to be public, so that one is fine.
- The service role key skips every database rule. If it’s in the browser, anyone can read and change everything.
- Keys starting
sk_are Stripe secret keys, andsk-is how most AI keys start.
- 06
See where your AI calls go.No code
With the Network tab still open, use your app’s AI feature. If you see requests going straight from the browser to an AI company (
api.openai.comorapi.anthropic.com, for example), your key is exposed and anyone can run up your bill. AI calls should go to your own server first, with limits on how much each user can use.
Your payments
- 07
A card that fails later.No code
In Stripe’s test mode, subscribe with the test card
4000 0000 0000 0341, which Stripe saves but declines whenever it’s charged. Does your app still give that customer access? - 08
Cancel, then check.No code
Subscribe with the test card
4242 4242 4242 4242, then cancel in Stripe. Does access stop when it should, without you doing anything by hand? - 09
Who decides the price?Needs a developer
Ask whoever built your checkout one question: does the browser send the price, or does the server look it up? If the browser sends it, someone can change it and pay $1 for anything.
Running live
- 10
Backups and alerts.Needs a developer
If your database broke tonight, could you restore yesterday’s data, and has anyone ever tried? And if the app went down, would you find out before a customer told you?
What your result means
Nothing
- What it means
- You’re ahead of most. Still get a second pair of eyes before you charge strangers.
1 or 2 checks, not 1, 2 or 5
- What it means
- Normal for an app built with AI, and fixable without starting over.
Check 1, 2 or 5, or 3 checks or more
- What it means
- Don’t charge strangers yet. These are the checks that expose other people’s data.
| What failed | What it means |
|---|---|
| Nothing | You’re ahead of most. Still get a second pair of eyes before you charge strangers. |
| 1 or 2 checks, not 1, 2 or 5 | Normal for an app built with AI, and fixable without starting over. |
| Check 1, 2 or 5, or 3 checks or more | Don’t charge strangers yet. These are the checks that expose other people’s data. |
What passing looks like
COLZ is a compliance product we took live from nine homemade tools. Before launch:
- the AI calls run only on the server, so the key never reaches the browser
- Stripe gives and removes access on its own, and the Stripe key only allows what the app actually uses
- course videos use signed playback, so they can’t be shared outside a purchase
- 24 automated tests covered payments and access
It has been live at colz.ai since 31 August. Read the COLZ case study
What fixing it usually involves
Most of these come down to the same handful of fixes, none of which means starting over:
- turning on row level security for every table, and writing rules that are then tested with two real accounts
- moving keys and AI calls onto a server
- letting Stripe decide who has access, instead of the browser
How to take a Lovable, Bolt or Base44 app live walks through the whole path, and My app works in the demo but isn’t ready covers the order to fix things in.
Questions founders ask
01Is Lovable secure?
Lovable is a fine tool to build with. What decides whether your app is secure is the database rules, the keys and the payment logic in your project, and those are yours to check. Checks 1, 2 and 5 cover the parts that matter most.
02Doesn’t Supabase protect my data by default?
Only when row level security is switched on for every table and the rules are right. According to Supabase’s own Security Advisor, a table without it can be read, edited and deleted by anyone with your project URL.
03Can I fix these by asking the AI?
Some of them, yes. Turning on row level security is often one prompt. But a rule can look right and still leak, so run checks 1 and 3 again after every fix, with two real accounts.
04What does a security audit from you include?
Our $350 audit checks all of this in your code within 3 working days. You get the problems in order, with the most urgent one already fixed, plus a launch date and one fixed price for the whole build. The $350 comes off the build if you go ahead, and the report is yours to keep either way.
Next step
Ran the checks and something failed? Send us the link to your app, and a person will reply with what we’d fix first. Or book a 30 minute call and go through it together.