12 Checks Before Launching an AI-Built App

Key takeaways
- An app built with Lovable, Replit, Bolt, Cursor or ChatGPT usually works correctly for the one person who built it, because that person is allowed to see everything and never tries to break anything.
- The failures that matter cluster in four places: payments, access to other customers' data, data that gets deleted and cannot be recovered, and deployment.
- Veracode's 2025 GenAI Code Security Report found AI models introduced security vulnerabilities in about 45% of the coding tasks it tested, and that result has not improved as the models got better at writing working code.
- A real customer with a real card is the only test that counts. Run the twelve checks below before you let one near it.
Before you launch an app you built with an AI tool, check twelve things: duplicate charges, failed charges, cancellations, cross-customer data access, exposed keys, sign-in and session handling, destructive actions, backups, behaviour under load, deployment order, error visibility, and whether your tests execute the code they claim to cover. Everything else can wait until after launch. These cannot, because each one fails in front of a paying customer rather than in front of you.
The reason is simple and it is not a criticism of the tools. While you are building, you are the only user. You are signed in as yourself, you are authorised to see every record in the database, you pay with a test card, and you never try to use the app in a way it was not designed for. Every one of the twelve failures below is invisible under exactly those conditions.
1. Can a customer be charged twice?
A double charge usually comes from one of two places: a payment form that can be submitted twice before the first response arrives, or a webhook handler that processes the same event more than once because the payment provider retried it. Payment providers retry by design. Stripe's own webhook documentation is explicit that endpoints must tolerate duplicate events, which means your handler needs to recognise an event it has already seen and do nothing the second time.
2. Can a customer be charged nothing and still get access?
The mirror image, and more common. The app grants access when the browser says the payment succeeded instead of when the payment provider says so. Anyone who can close a tab at the right moment, or edit what their own browser sends, gets a free account.
3. What happens when a card is declined?
Declines are routine, not exceptional: wrong expiry date, insufficient funds, a bank that blocks an unfamiliar merchant. Run through a decline deliberately using your provider's test cards and watch what the customer sees. A spinner that never stops is a lost sale that you will never hear about.
4. Does cancelling actually cancel?
Check both halves. Does cancelling in your app tell the payment provider to stop billing, and does a cancellation that starts at the payment provider remove access in your app? One-way implementations are the norm in generated code, and both directions of failure are expensive: billing a customer who cancelled months ago is the kind of thing that ends up in a public complaint.
5. Can one customer see another customer's data?
This is the single most consequential check, and the hardest to notice, because during development you only ever have one account. If your app uses Supabase, the mechanism is row level security, and a table with it switched off, or with a policy that only checks that the user is signed in rather than that the row belongs to them, is readable by every signed-in user.
This is not hypothetical. CVE-2025-48757, published to the US National Vulnerability Database in May 2025, records insufficient row level security in Lovable-generated applications allowing remote unauthenticated attackers to read from and write to arbitrary tables of generated sites. Reporting at the time put the number of affected applications at over 170. The tool has since changed its defaults, which does nothing for an app generated before it did.
6. Is anything secret readable in the browser?
Everything your app sends to the browser is readable by anyone who opens it, including API keys, admin or service credentials, and any key pasted into frontend code because it was quicker than wiring it through the server. A service key in a browser bundle bypasses every access rule you have, no matter how well written those rules are.
7. Can somebody stay signed in when they should not be?
Check that signing out ends the session on the server and not just in the browser, that password resets expire, and that a deactivated account loses access immediately rather than at the end of a session that may never end.
8. Does anything destructive run without being asked?
We have audited an app whose sign-out routine ran a clean-up that deleted the user's own saved records along with their session. Every customer who signed out would have lost their work, and nobody would have known why. Look at every delete in the codebase and ask what triggers it, whether a customer could trigger it by accident, and what happens if it runs twice.
9. Can you get the data back?
Backups that have never been restored are not backups. Take one, restore it somewhere harmless, and see whether what comes back is complete and usable. Do this before launch, not after the week where you need it.
10. What happens with a hundred people instead of one?
Generated database queries are frequently written to be read, not to be fast: a query inside a loop, no index on a column every page filters by, a list screen that loads every row and then hides most of them. All of it is fine with ten rows and falls over at ten thousand.
11. Can you ship a change without taking everything down?
Changes that touch the database need to go out in a safe order, with the new code able to run against both the old and new shape of the data for as long as both exist. Get the order wrong and a one-feature change becomes a whole-site outage. You also want to be able to put the previous version back in minutes.
12. Do your tests execute the code they claim to test?
A passing test suite is not evidence of anything in generated code. We have found twenty tests passing on every run where none of them ever executed the code they claimed to cover. The tests asserted on mocked values and the real functions were never called. Pick your three most important tests, deliberately break the code they cover, and re-run them. If they still pass, you do not have tests.
Where this leaves you
None of the twelve are exotic. They are the standard questions any engineer asks before a product takes money, and they are the exact questions an AI tool has no way to ask on your behalf, because it cannot see production, cannot use a real card, and cannot tell the difference between a test that passes and a test that works.
If you would rather not work through the list yourself, Boltout's AI App Rescue audit does exactly this and comes back in writing within 48 hours, ranked by what each item would do to a customer. It is free, and the report is yours whether or not you ever hire anyone to fix what is in it. If what you are weighing is bigger than a list of fixes, read rebuild it or repair it next.
Sources
- CVE-2025-48757, US National Vulnerability Database — insufficient row level security in Lovable-generated applications, published May 2025
- Veracode 2025 GenAI Code Security Report — AI-generated code introduced vulnerabilities in roughly 45% of tested coding tasks across more than 100 models
- Supabase, row level security
- Stripe, webhook delivery and duplicate events
- Stripe, testing payments
Frequently asked questions
No, and it is worth understanding why rather than taking it on trust. The model that wrote the code has no access to your running app, your payment account or your database, cannot pay for a subscription with a real card, and will report that your tests pass because they do pass. It is answering a question about text, not about a working system. Why asking the AI to fix its own code does not work covers the mechanism in full.
Numbers 1, 2, 5 and 8, in that order. Payments and cross-customer data access are the two failures that cost money or trust irreversibly, and a destructive action that fires on its own can lose customer data in a way no apology repairs. Load and performance problems are unpleasant but recoverable.
It helps and it does not settle it. Next.js, Supabase, Stripe and Vercel are all sound choices with secure defaults available, but the failures above come from how an application wires those pieces together: a policy left off a table, a key moved to the browser, a webhook handler that trusts a retry. The components can be solid while the wiring is not.
For most AI-built apps, closing the payment and access problems is one to three weeks of engineering work, because the dangerous surface is small and concentrated even when the app is large. Rewrites are rarely necessary; what is usually needed is correct enforcement in the few places that handle money, identity and deletion.
Written by
Chief Operating Officer · Boltout
Moid Khan is Chief Operating Officer at Boltout, where he oversees delivery and operations across the studio's ventures and client engagements. He writes about building software products with AI, web, mobile, and cloud technology, drawing on work with startup and enterprise teams across the US and globally.
Ready to build something?
We help businesses ship better software, from AI integrations to full-stack web and mobile. Let's talk about what you need.
Get in touchKeep exploring
Services aligned with “Vibe Coding”: View capability overview