A vibe-coded app is ready for real users when five things hold: no secret keys live in the browser or in git history, every database read and write is checked on the server, sign-up and login use a real auth provider, payments are confirmed by verified webhooks, and you have a backup you have actually restored. Everything else on this checklist matters, but those five are where AI-built apps most often fail after the demo.
AI tools like Cursor, Claude Code, Lovable and Bolt are very good at producing an app that works when you click through it. They are much less reliable at the parts nobody clicks: permissions, secrets, failure handling. This checklist is ordered by how much damage each gap can do, so work top to bottom.

1. Secrets: assume anything in git has leaked
Search your repository for API keys, database URLs and tokens, including old commits. Anything that was ever committed should be treated as compromised. GitHub's own guidance is blunt: deleting the secret, pushing a new commit, or even recreating the repository does not stop an exposed secret from being used. The fix is to revoke and rotate the key at the provider.
Then check what ships to the browser:
Any variable with a public prefix (
NEXT_PUBLIC_,VITE_,PUBLIC_) is visible to every visitor. Only publishable keys belong there.Server-only keys (a Stripe secret key, a Supabase
service_rolekey, an OpenAI key) must only be read in server code or serverless functions.Add
.envto.gitignorebefore the first commit, not after.
A quick test: open your deployed site, view the page source and the JavaScript bundles in DevTools, and search for sk_, service_role and key. If you find something that is not meant to be public, stop and fix it before anything else.
2. Database rules: the biggest gap in AI-built apps
Generated apps often fetch data straight from the browser, which is fine only if the database enforces who can see what. If you use Supabase, its documentation states that a table in an exposed schema without Row Level Security is readable and writable by any role with a grant on it. In plain terms: without RLS, anyone with your public anon key can read or change the whole table.
What to do:
Enable RLS on every table in the exposed schema.
Write a policy per action (select, insert, update, delete) that ties rows to the signed-in user, for example
auth.uid() = user_id.Keep the
service_rolekey server-side. It bypasses RLS completely.Test it: sign in as user A, then try to read user B's rows from the browser console. It should return nothing.
If your app talks to its own API instead, the same rule applies there. OWASP's authorization guidance comes down to two habits: deny by default and validate permissions on every request. A hidden button in the UI is not a permission check; the server has to say no.
3. Auth: replace the demo login
Prototypes often ship with a hard-coded admin, a magic "test" user, or auth that only hides pages on the client. Before launch:
Use a proper auth provider (Supabase Auth, Clerk, Auth.js, Firebase Auth) rather than hand-rolled password storage.
Remove test accounts and any "skip login" flags.
Protect routes on the server, not only in the router.
Make sure password reset and email verification actually send email from your own domain.
4. Payments: trust webhooks, not redirects
A common vibe-coded bug: the app marks a user as paid when they land on the /success page. Anyone can visit that URL. Payment state should change only when your server receives a signed webhook from the payment provider.
With Stripe, the docs require verifying the Stripe-Signature header against the raw request body, and they warn that the same event can be delivered more than once. So:
Verify the signature on every webhook request.
Store processed event IDs and skip duplicates.
Test with the provider's test mode and its CLI before going live.
5. Backups: a backup you have not restored is a guess
Find out exactly what your host or database provider backs up, how often, and for how long on your plan. Then do one restore into a separate project or database and check the data is there. Write the steps down. When something goes wrong at 2 a.m., you want a page of commands, not a search session.
6. Monitoring: know before your users tell you
At minimum you want two signals:
Error tracking that captures server and browser exceptions with a stack trace.
Uptime checks that ping your main page and one API route every few minutes and alert you.
Also log the things that cost money or lose trust: failed payments, failed emails, failed sign-ups.
7. Domain, hosting and email
Move off the builder's preview URL onto your own domain with HTTPS. See our guide to the best domain registrar for developers.
Pick hosting that matches the app. A static or Next.js front end fits a platform like Vercel, Netlify or Cloudflare (compared in Vercel vs Netlify vs Cloudflare Pages). A long-running backend, workers or a database you manage yourself fits a VPS (see best VPS for vibe coders).
Set up SPF, DKIM and DMARC for the domain you send email from, or your password resets will land in spam.
8. The boring but necessary pages
Privacy policy and terms, especially if you collect emails or take payments.
A cookie banner if you use non-essential cookies for visitors in regions that require consent.
A contact or support address that someone actually reads.
The checklist in one table
Area | Must be true before launch | Quick test |
|---|---|---|
Secrets | No server keys in the browser or git history | Search bundles for |
Data rules | RLS or server checks on every table and route | Read another user's rows: should fail |
Auth | Real provider, no test users, server-side route guards | Visit a private URL logged out |
Payments | Paid status set only by signed webhooks | Hit |
Backups | Restore done at least once | Restore to a scratch project |
Monitoring | Errors and uptime alert you | Throw a test error; stop the app |
Domain | Own domain, HTTPS, email auth records | Send a reset email to Gmail |
When to bring in a developer
If you work through this list and keep finding problems, that is normal. AI tools write the happy path first. The hard part is usually one of three things: an auth or permissions model that has to be redesigned, a database schema that does not fit how the app grew, or a codebase so tangled that each fix breaks something else. Those are cheaper to fix before launch than after users and data pile up.
FAQ
Is a vibe-coded app safe to launch?
It can be, if the security-critical parts are checked by a person. The most common problems are exposed secrets, missing database permissions and payment status set on the client. Fix those three first and test each one deliberately.
Do I need to rewrite my AI-built app before launch?
Usually not. Most apps need targeted fixes: rotate keys, add database policies, move a few calls to the server, wire webhooks properly. A rewrite is only worth it when the data model is wrong or every change breaks something else.
How do I check if my Supabase tables are exposed?
Open the Supabase dashboard and confirm RLS is enabled on every table in the public schema, then try to query another user's data from the browser with the anon key. If any rows come back, your policies are missing or too broad.
What should I monitor first after launch?
Server errors, uptime of your main page and API, and failed payments. Those three tell you when users are hitting a wall before they email you, or leave without saying anything.
Can AI tools fix these security issues themselves?
They can help if you ask precisely, for example "add RLS policies so users can only read their own rows" and then test the result. Do not accept a fix without checking it. AI tools tend to confirm a problem is solved without proving it.
Need a second pair of eyes?
Kavio helps founders take AI-built apps to production: security review, auth and database fixes, deployment and monitoring. If you want someone to go through this checklist with you, see our services or get in touch.

