Open your app in a private browser window, stay logged out, and press F12. The panel that opens shows the code and the network requests your app sends to anyone who visits. If you can find a secret key in there, or see data that should need a login, so can a stranger. Most security problems in AI-built apps are found exactly this way, by someone curious with a browser and ten spare minutes.
This vibe coding security checklist is for founders and owners who built an app or site with tools such as Lovable, Bolt, v0, Replit or Cursor and want to launch it safely. You do not need to be a developer to use it. For each check, we explain what can go wrong in plain words, and the table shows what to ask your AI tool and how to confirm the fix yourself.
Table of ContentsToggle Table of Content
Why AI-built apps leak, in numbers
AI coding tools write code that works, which is not the same as code that is safe. They do what you ask, and most people never ask them to protect the data. Two reports from this year show how big the gap still is.
- Veracode’s GenAI Code Security Report, released in July after testing more than 100 AI models over time, found that AI-written code passed only 56% of security tests, almost no change from the year before. Code nearly always ran correctly, but failed about 44% of security checks when the prompt did not mention security.
- Results varied by language. Python code passed 63% of security tests, while Java passed only 30%.
- Symbiotic Security scanned 1,072 live apps built with tools such as Lovable, Bolt, v0, Replit and Windsurf, all running on Supabase, in June. Beyond the headline result that 98% had at least one flaw, the details matter. 21% allowed anyone to sign up, 18% had loose cross-site settings, and 97% were missing basic browser security headers.
- In 172 of those apps, around 16%, anyone could delete data without logging in, because the database rules that control who can see and change data were missing or wrong.
Money is the other risk. At the end of August, METR, an AI research non-profit, reported that attackers used about $600,000 worth of AI model credits after an API key was accidentally exposed. Because the account had no spending ceiling and error messages were common, nobody noticed for months. A small business will rarely face a bill that size, but a leaked AI or payment key with no spending limit can empty a budget over a weekend.
If you want the background on why most of these flaws sit in the part of the app users never see, our guide to frontend vs backend development explains it without jargon.
The checklist, with what to ask your AI tool
Work through these checks before real users sign up, and again after every big change. You can ask your AI tool to make each fix, but always confirm it yourself, because AI tools sometimes say a problem is fixed when it is not. The table pairs each check with a prompt you can paste and a simple way to test the result.
| Check | What to ask your AI tool | How to confirm it yourself |
|---|---|---|
| Database rules on every table | “Turn on row level security for every table and add policies so users can only read and change their own rows” | Log out and try to load data, then log in as a second test user and try to open the first user’s records |
| No secret keys in the browser | “Move all secret keys, including AI, payment and service role keys, to server-side functions and environment variables” | Press F12, open the Sources and Network tabs, and search for “sk_”, “secret” and “service_role” |
| Spending limits on paid APIs | “List every paid API this app uses” | Set a monthly limit and an alert in each provider’s dashboard, such as OpenAI, Anthropic, Google Cloud and Stripe |
| Admin pages protected on the server | “Check every admin route and action on the server, not only by hiding buttons” | Log in as a normal user and type the admin page address directly into the browser |
| Sign-up and login controls | “Require email confirmation, limit login and password reset attempts, and turn off public sign-up if only invited users should join” | Try to sign up with a fake email and request ten password resets in a row |
| Payments checked on the server | “Take prices from the server, and verify the signature on every payment webhook” | Change a price in the browser before paying in test mode and see whether the order accepts it |
| Inputs and uploads checked | “Validate all form inputs and file uploads on the server, with limits on type and size” | Upload a very large file and a file with the wrong type |
| Security headers and settings | “Add security headers, including a content security policy, and restrict cross-site requests to my own domain” | Run your address through a free security header checker and aim for an A grade |
One note about Supabase, because it confuses many founders. The public “anon” key is designed to be visible in the browser, and finding it there is not a problem on its own. It becomes a problem when the database rules are missing, because then that public key lets anyone read or change your tables. The service role key is different and must never appear in browser code.
Four checks people forget
The table covers the main risks, but some problems only show up after launch or outside the app itself. Owners who post about breaches on Reddit’s vibe coding communities often say the hole was somewhere they never thought to look. These four are the most common.
- Old keys in your code history. If a secret key was ever committed to GitHub, even for a minute, treat it as leaked. Make the repository private and create a new key, because deleting the file does not remove it from the history.
- Out-of-date packages. AI tools often install older versions of libraries. Ask your tool to run a dependency audit and update anything marked as high risk.
- No backups. If data is deleted, by an attacker or by a bad update, you need a way to restore it. Check that daily backups are switched on and test a restore once.
- No way to know something is wrong. Set up error alerts and check your database and API usage once a week. Sudden spikes in traffic, sign-ups or spending are often the first sign of trouble.
If your app collects personal data, you also need a privacy policy and, in many countries, a clear way for users to ask for their data to be deleted. That is a legal duty as well as a security one.
When to get an expert check
This checklist catches the most common problems, but it cannot replace a proper review. Get an expert to look at the app before launch if it takes payments, stores personal, health or financial data, has more than a handful of users, or if you cannot read the code well enough to confirm the fixes. Finding a hole before launch costs far less than handling a breach, refunds and lost trust afterwards.
Our vibe-code rescue service starts with a fixed-price audit for $299, delivered in three working days, with every problem ranked from most to least urgent. We then fix what needs fixing in your existing code, and only rebuild parts that cannot be made safe. If you are still at the start, our guide on how to build a website with AI explains which tools carry the most risk, and our custom development team can build your first version properly from day one. Once the app is live, our care plans keep it updated and checked as you add features.
Frequently asked questions
Is it safe to launch an app built with Lovable or Bolt?
It can be, once the security basics are in place. The tools themselves are not the problem. The risk comes from missing database rules, exposed keys and checks that only happen in the browser. Work through the checklist above, and get an expert check if the app handles payments or personal data.
Can I ask the AI tool to make my app secure?
You can, and you should ask it to fix each item on the checklist. But AI tools can report that something is fixed when it is not, so test each fix yourself as shown in the table, or ask a developer to confirm.
How often should I run this checklist?
Before launch, after every major new feature, and at least once every three months. New AI-written code can open new holes, even in parts of the app that were safe before.
How much does a vibe-coded app security audit cost?
Prices vary by the size of the app. Our audit for typical AI-built apps is a fixed $299 and takes three working days, with fixes quoted separately once you know what needs doing.