Skip to content
Dave Brown

Is my vibe-coded app secure enough to launch with real customers?

Probably not by default. Apps built with tools like Lovable, Bolt or Cursor often work well but ship with exposed API keys, missing database access rules and weak login checks. Before launching with real customer data, check secrets, authorization, database rules and payments, then get a human engineer to review the app. That usually takes 1 to 3 days.

Dave Brown · CTO & Executive Advisor · Updated

AI coding tools are good at making something that works. They are much less reliable at making something that is safe when a stranger starts poking at it. The app looks finished, and the security holes are invisible until someone exploits them. That is the gap to close before real customers arrive.

What actually goes wrong?

Here are the failures I would check first, roughly in order of how often they cause damage.

Secrets in the wrong place. API keys for payments, email, databases or AI providers end up in the front-end code, where anyone can open the browser tools and read them. A stolen AI provider key can run up a bill in hours. A stolen payment or database key is worse.

Database with no access rules. Hosted databases like Supabase or Firebase let the browser talk to the data directly, and they rely on row-level rules to decide who can see what. If those rules are missing or set to allow everything, any visitor can read, change or delete every customer's records. This is probably the most common serious flaw in generated apps.

Login that checks the wrong thing. The app hides a button from regular users but does not stop them from calling the underlying request. Change an ID in a web address and you see someone else's data. This is called broken access control, and it sits at the top of the OWASP Top 10, the standard list of web risks.

Trusting the browser. Prices, discounts or user roles sent from the front end and accepted by the server without checking.

No limits. Anyone can create unlimited accounts, send unlimited emails or call your AI features without a cap.

Old or invented packages. AI tools sometimes pull in outdated libraries with known flaws, and occasionally reference packages that do not exist.

What should you check before launch?

Work through this list and fix every "no":

  • Are all keys and passwords kept on the server, and rotated if they were ever pasted into a chat or committed to a repository?
  • Is there a rule on every database table limiting each user to their own rows?
  • Can user A fetch user B's data by changing an ID? Test it with two accounts.
  • Is multi-factor authentication on for your hosting, database, domain and payment accounts?
  • Are payments handled by a provider like Stripe, with amounts calculated on the server?
  • Is there a spending cap and rate limit on AI and email calls?
  • Are uploads restricted by type and size?
  • Do you have automated backups, and have you restored one?
  • Do errors avoid showing stack traces or secrets to the user?

When is a self-check enough?

It depends on what the app holds. A simple internal tool, a landing page with a form or an app with no personal data can launch after the checklist. If the app stores customer personal information, takes payments, handles health or financial data, or is sold to businesses, get a human engineer to review it first. Plan on 1 to 3 days of review for a small app, typically $1,500 to $6,000 depending on size and who does it.

Do not rely on asking the AI tool whether it is secure. It will say yes with confidence. A fresh session with a prompt to act as a security reviewer and list issues is a decent extra layer, but it misses things a person would catch, especially anything depending on how your data model is set up.

What if it already has real users?

Do the checks today, rotate any key that was exposed, and look at your logs for odd activity. If you find that customer data was exposed to people who should not have seen it, read the guidance on breaches, and talk to a lawyer about notice duties.

What I'd do

Launch only after the checklist is clean and a developer has looked at authorization and the database rules. Those two areas account for most of the serious problems I see in generated apps. Keep the tool you used for speed, but treat its output as a first draft from a fast junior developer who has never been attacked.

Where I come in. If this is a decision in front of you right now, it’s the kind of thing I help with through Technical Strategy. A focused engagement scoped to the decision at hand — typically a few weeks of working sessions and review.

Get in touch

Available for a small number of conversations.

If something here is relevant to a decision you’re facing, I’d like to hear about it.