You built something with Lovable, Bolt, Replit, Cursor or v0, and it works. People can sign up, the screens look right and the demo went well. Now a real launch is close: paying customers, a wave of users or an investor who wants to poke around. This post is a checklist you can run yourself, or hand to someone technical, before any of that happens. Each item says what goes wrong, how to check it in plain language, and what fixing it involves.
1. Secrets in the frontend
What goes wrong. Anything that ships to the browser can be read by anyone who opens the developer tools. If an API key for your payment provider, your email service or an AI model sits in the frontend code, strangers can copy it and spend your money or read your data. AI builders sometimes put keys there because it makes the demo work on the first try. In many frameworks, any variable whose name starts with a public prefix such as NEXT_PUBLIC_ or VITE_ is deliberately sent to the browser.
How to check. Open your live app, open the browser's developer tools, and search the Sources or Network tab for the first few characters of each key you use. Then search your code repository for the same strings, including old commits. A key that was once committed stays in the history even after you delete it from the file.
What fixing involves. Rotate any exposed key first, because a leaked key stays leaked. Then move the calls that need it to server code, so the browser asks your server and the server holds the key. One note: some keys are meant to be public. A Supabase anon (or publishable) key, for example, is designed to sit in the browser, but only because the database rules in the next item do the real protecting.
2. Database access rules, including Supabase RLS
What goes wrong. Supabase and similar services let the browser talk to the database directly. That is fine only if rules decide who may read or change each row. Row level security, or RLS, is that rule layer. If it is switched off, or a policy says anyone may read everything, every user's data is open to anyone who has your public key, and that key is in the browser by design.
How to check. In the Supabase dashboard, look at each table and confirm RLS is enabled. Then read the policies and ask of each one: who does this let in? Supabase's Security Advisor in the dashboard also flags tables with RLS off. Then test with two accounts: sign in as user A, note the identifier of one of their records, sign in as user B and send a request for that record directly, for example by changing the identifier in a request in the Network tab. If B gets A's data back, the rules are not doing their job. Also confirm the service role (or secret) key, which bypasses all rules, appears nowhere in frontend code.
What fixing involves. Write policies that tie each row to its owner and test them in staging first, then enable RLS and the policies together in one change, because turning RLS on before the policies exist locks every user out. Test again with the two account method. For apps with teams, roles or shared records, policies need more thought, and this is where a review from someone who writes them regularly pays off.
3. Sign in that trusts the browser
What goes wrong. Hiding an admin button in the interface does not stop anyone from calling the admin function directly. If the app decides who is allowed to do something based on what the browser says, such as a role stored in local storage or a flag in the request, a curious user can change it. The check has to happen on the server, every time, using the signed in session.
How to check. Sign in as an ordinary user and try to reach admin pages by typing their addresses. Then look in the Network tab at the requests your app makes and ask whether the server would refuse each one if a different user sent it. Change an identifier in a request to someone else's and see whether it still succeeds.
What fixing involves. Move permission checks into server code or database policies, and have them read the user from the verified session rather than from anything the browser supplies. The interface can keep hiding buttons, as a courtesy, once the server enforces the rule.
4. Payments and webhooks
What goes wrong. Payment providers tell your app that a payment succeeded by sending a message to a web address, called a webhook. If the app accepts those messages without verifying the provider's signature, anyone can send a fake one and unlock a paid plan for free. The other common failure runs the opposite way: the payment goes through, the webhook fails, and a paying customer never gets access.
How to check. Ask whether the webhook handler verifies the signature. Then run test mode end to end: pay, fail a payment, cancel, refund. Watch what your app does each time. Look in the provider's dashboard for webhook deliveries that failed and were never retried. Confirm the amount charged is set on the server, not sent from the browser.
What fixing involves. Verify signatures, make the handler safe to run twice, because providers resend, and record every event so you can reconcile later. This is a small amount of code that is expensive to get wrong.
5. Environments and backups
What goes wrong. Many AI built apps have one database and one deployment, so every experiment touches real data. One bad prompt, one bad migration or one deleted table can erase customer records. Without backups there may be no way back.
How to check. Ask where the test version of your app lives and whether it uses a different database from the live one. Then ask the backup question in a way that has to be answered with a date: when was the last backup, and has anyone restored from one to prove it works?
What fixing involves. Create a separate staging environment with its own database and its own keys, turn on automatic backups with point in time recovery where your plan offers it, and practice one restore. Keys for staging and production should never be the same.
6. Error monitoring
What goes wrong. When something breaks for a user, the usual result is a blank screen and a closed tab. You hear about it only if someone complains, and most people do not. Failed sign ups, failed payments and failed emails can go unnoticed for weeks.
How to check. Break something on purpose in a test environment, such as a bad request, and see whether anything tells you. If the answer is no, you have no monitoring.
What fixing involves. Add an error tracking service to the frontend and the server, route alerts to an inbox someone reads, and add a simple uptime check on the pages that matter. Setup is usually under a day.
7. Tests on the money paths
What goes wrong. AI builders change code quickly, and a new prompt can quietly break something that worked yesterday. Without tests, you learn about it from users. The flows that cost you the most when they break are sign up, sign in, payment and anything that sends or stores customer data.
How to check. Ask whether any automated test runs before each release. If the answer is none, write down the five or six steps a new customer takes from landing page to first payment. That list is your test plan.
What fixing involves. Turn that list into a handful of end to end tests that run automatically on every change, and block a release when one fails. You do not need coverage of every screen. You need the paths where a failure costs money or trust.
8. Who owns the accounts
What goes wrong. The domain was bought on a personal card, the code lives in a freelancer's repository, the database runs on a free tier under someone's old email, and the builder's project can be deleted by whoever created it. A dispute, a departure or an expired card can take the product offline, and investors will ask about it in diligence.
How to check. Make a list of every service the app touches: domain, hosting, database, code repository, email, payments, analytics, the AI builder itself. Next to each, write who owns the account and whether you can sign in as an owner today.
What fixing involves. Move each account to a company email you control, add a second administrator, and turn on two factor authentication. It is dull work and it removes a single point of failure.
What to do with the results
Sort what you found into three piles. Things that expose customer data or money, such as open database rules, leaked keys and unverified webhooks, come first and should be fixed before launch. Things that make an incident hard to recover from, such as missing backups and no monitoring, come second. Things that slow you down later, such as missing tests, come third.
If the first pile is long, or fixing one issue breaks another, the question is whether to harden what you have or rebuild the weak parts on a clean base. Someone who has read the code should make that call. Our pieces on the maintenance bill AI generated code leaves behind and the trust gap around AI code explain why this review is worth doing even when the app looks fine.
Our vibe code rescue service starts with this review. It begins as a one week pilot audit at $6,000, ends with a written report and a fixed price plan to harden or rebuild, and the pilot fee is credited in full if you sign a project within 30 days. You can see the full range on the pricing page.
Tags
Share
Want help building something like this? Book a free call or send us the details.