Is your vibe-coded app production ready? A founder's audit

Is your vibe-coded app production ready? A founder audit checklist with a pass test for each item, signs you need a rebuild, and what a real audit covers.

Your vibe-coded app is production ready when strangers can use it without seeing each other's data, your secret keys stay on the server, payments unlock exactly what was paid for, you can recover from a bad day, and you'd know within minutes if something broke. Most apps built with Lovable, Bolt, Replit or Cursor pass some of those tests and fail others. The audit checklist below shows you which, in an afternoon, mostly without reading code.

AI writes code fast. It doesn't check its own work, and the people who use it most are saying so: in Atlassian's State of Developer Experience 2026 survey, the share of developers saying AI saves them 10 or more hours a week fell from 68% to 26% in a year, and 65% said they spend time correcting AI output. If professional developers spend that much time fixing AI's code, the code in your app needs someone to check it as well. This post is that check, done before real users or payments arrive.

If your app is already live and something is breaking, start with what to fix first in an AI-built app instead. That post is triage. This one is the inspection before you put your name, and your customers' cards, on it.

TL;DR#

  • "It's deployed" isn't "it's production ready." Production ready means data stays separated, secrets stay secret, money moves correctly, you can recover, and you'd notice a failure.
  • Each item below has a pass test. If you can't show the pass, count it as a fail. "I think so" is a fail.
  • The builders' own scanners don't cover your code. Lovable's publish-time scan checks database settings and packages, not your app's logic.
  • Most vibe-coded apps need hardening, not a rebuild. Rebuild only when the data model, sign-in or structure is wrong at the root.
  • A real audit tests the live app with two accounts, reads the database rules, and hands you a ranked fix list. A scanner printout isn't an audit.

What does "production ready" mean for a vibe-coded app?#

A vibe-coded app is one built mainly by describing what you want to an AI tool and accepting what it writes. That's a fine way to find out whether people want your product. The trouble is that AI tools build what you asked for, and nobody asks for the parts that only matter once strangers arrive.

Production ready, for a small startup, comes down to five promises:

  1. Each user sees only their own data, enforced by the server and database, not by what the screen happens to show.
  2. Secret keys never reach a browser, and any that did have been replaced.
  3. Payments are confirmed by the payment provider, not by the browser landing on a "thank you" page.
  4. You can recover: backups exist, someone has restored one, and changes go through a safe copy of the app first.
  5. You find out before your users do when something fails.

Why vibe-coded apps fail audits in the same places#

The common vibe coding security risks aren't exotic hacks. They're missing checks: a database table nobody wrote rules for, a key left in the frontend, a payment step trusted to the browser, an API that accepts anything sent to it. AI tools optimise for "it works when I click through it," and every one of those gaps still works when you click through it.

The platforms are honest about this. Lovable's own security docs say its automatic Quick scan, which runs when you publish, reviews database settings, your npm packages and exposed MCP servers, but does not review your application code. They add that the tools "cannot guarantee complete security" and suggest a professional review for apps handling sensitive data. A passed scan is a good start, not a sign-off.

The vibe-coded app production readiness checklist#

Each item has a pass test: what you (or your developer) must be able to show. Items marked Blocker must pass before real personal data or payments go in. Before launch means before you promote the app. Soon after can follow in the first month.

Nine audit areas with a first test each: sign-in and permissions, exposed secrets, database rules, payments and webhooks, and backups are blockers; rate limits are a blocker when the app calls paid APIs; input validation, staging and rollback, and monitoring must pass before launch
Start with one test per area. The full checklist below has the rest.

Sign-in and permissions#

  • Blocker: Two-account test. Pass: signed in as user B, you can't open, edit or delete anything that belongs to user A, by pasting A's URLs or changing an ID in the address bar.
  • Blocker: Admin pages check the role on the server. Pass: a normal user who types the admin URL gets refused, not an empty page that still loads data.
  • Before launch: Password reset links expire and work once. Pass: an old reset link from your inbox fails.
  • Before launch: Your own admin account uses two-factor sign-in, on the app and on every provider (Supabase, Stripe, hosting, domain).

Exposed secrets#

  • Blocker: No secret keys in the browser. Pass: on the live site, F12 → Sources, a search for sk_, sk-, secret and service_role finds nothing. (Publishable keys such as Stripe's pk_ and Supabase's publishable key are meant to be public.)
  • Blocker: Every key that was ever exposed has been replaced. Pass: your developer can name each key, where it lives now, and when it was last rotated. My 10-minute API key check walks through where keys hide.

Database rules (Row Level Security)#

On Supabase, Row Level Security (RLS) is the set of database rules that decides which rows each user can read or change. Without it, the public key in your frontend can read every table.

  • Blocker: RLS is on for every table with user data. Pass: Supabase's Advisors → Security page shows no RLS errors.
  • Blocker: The policies say "owner only" where they should. Pass: no policy on private data reads using (true), which means "everyone." For apps with teams or companies, see multi-tenant SaaS in PostgreSQL.
  • Before launch: Storage buckets with private files are private. Pass: a file URL from user A's account doesn't open in a logged-out browser.

Input validation#

Input validation means the server checks everything sent to it (length, type, allowed values) instead of trusting the form in the browser.

  • Before launch: The server rejects bad input. Pass: your developer shows where each form's data is checked on the server or in the database, not only in the browser.
  • Before launch: Users can't set fields they shouldn't. Pass: a user editing their profile can't change their own role, plan or credit balance by adding a field to the request.
  • Soon after: Uploads are limited by file type and size.

Payments and webhooks#

A webhook is the message Stripe sends your server when a payment succeeds, fails or renews. It's the only trustworthy signal that money arrived.

  • Blocker: Paid access is granted by a verified webhook, not the success page. Pass: opening the success URL without paying unlocks nothing.
  • Blocker: Webhook signatures are checked. Pass: your developer shows the line that verifies Stripe's signature before anything else happens.
  • Before launch: The same event twice changes nothing. Pass: resending an event from the Stripe Dashboard doesn't grant or credit twice. The pattern is in Stripe webhooks that never double-charge.
  • Before launch: Cancellations, failed payments and refunds remove or adjust access.

Rate limiting and abuse#

Rate limiting caps how often one person or script can call something, such as 5 login attempts a minute.

  • Before launch: Sign-in, sign-up and password reset are rate-limited. Pass: your developer can point to the limits and what happens when they're hit.
  • Blocker if you use paid APIs: Functions that call AI, SMS or email have limits per user, and the provider account has a monthly spending cap. A loop or a bot can spend a month's budget overnight.

Backups#

  • Blocker: Automatic backups are on. Pass: you can see them in your database dashboard. Supabase backs up Pro, Team and Enterprise projects daily and tells free-plan projects to export their own data regularly. Those backups also don't include uploaded files.
  • Before launch: Someone has restored a backup into a separate database, and the app ran against it. Until then, it's a hope, not a backup.

Staging environment#

A staging environment is a private copy of your app, with its own database and test keys, where changes are tried before real users see them.

  • Before launch: Staging exists and uses its own database and test payment keys. Pass: a test purchase on staging never touches real Stripe money or real customer rows.
  • Before launch: Changes go through staging first, and you can undo the last release in minutes.

Monitoring#

  • Before launch: Errors reach a person. Pass: an error on the live site shows up in an error tracker (Sentry or similar) and alerts someone within minutes.
  • Before launch: Something checks the site is up from outside, every minute, and alerts you when it isn't.
  • Soon after: You can see sign-ups and payments per day, so a silent failure (payments stopped, emails stopped) shows up as a dip.

How to read your results#

What you found What it means What to do
Any Blocker fails Real risk of a data leak or lost money Don't take payments or personal data until fixed
Only Before launch items fail Safe for a private beta, not for promotion Fix before ads, a launch post or a sales push
Only Soon after items fail Normal for an early product Put them on the next month's plan
You couldn't test several items Nobody knows how the app works That's a finding in itself; get it reviewed

Before a wider launch, my full SaaS launch checklist covers what this audit doesn't: email deliverability, legal pages, load testing and a runbook.

Want this done for you, at a fixed price?#

Running this list properly takes access to the code, the database and the payment setup, and the patience to try to break your own app. My production-readiness audit is fixed in scope: every item above, tested on your live app and codebase, with a ranked fix list you can hand to any developer. Book a production-readiness audit.

Harden or rebuild? Signs to look for#

Founders who find several blockers often ask whether to start over. Usually the answer is no: the app you have proves what users want, and most failures above are missing checks that can be added. But some foundations are worth replacing.

Four yes-or-no questions: is the data in proper tables, does sign-in use a real provider, can one feature change without breaking others, and can someone explain how a payment becomes access; each no points to rebuilding that one part, and four yeses mean harden the app
Each no is one part to rebuild, not a reason to rebuild everything.

Harden it when:

  • The data is in proper tables that map to real things (users, orders, teams)
  • Sign-in uses a real provider (Supabase Auth, Clerk, Auth0, Cognito)
  • The failures are missing checks: rules, verification, limits, backups
  • A developer can change one feature without breaking two others

Consider rebuilding a part of it when:

  • Each new prompt or feature rewrites large parts of the app, and old bugs keep coming back
  • Important data lives in big unstructured blobs, or one table means three different things
  • Passwords or sessions are handled by hand-written code instead of a provider
  • You need something the current setup can't give: audit logs, single sign-on for enterprise customers, or a compliance standard your buyers require
  • Nobody, including the AI tool, can explain how a payment turns into access

Even then, rebuild the broken part, not the whole product. I break the decision down area by area in the patch-or-rebuild table of my post on fixing AI-built apps, and what an MVP costs to build helps you price a rebuild honestly. If part of the reason is that you've outgrown your builder's hosting, moving off Lovable Cloud to your own Supabase or AWS is often the better first step.

What a professional audit looks like#

If you hire someone, this is what a real production-readiness audit should include, and what to be wary of.

What they test:

  • The live app, as an attacker would, with at least two accounts: swapping IDs, opening other users' URLs, replaying payment steps, calling the database directly with the public key.
  • The database rules, policy by policy, not just whether RLS is switched on.
  • The code paths that matter most: sign-in, payments, file access, admin actions and anything that calls a paid API.
  • The configuration of your database, payment provider, hosting and domain: who has access, which keys exist, what's backed up.

What you hand over: read access to the repository, a view of the database settings, and someone to answer questions. You shouldn't need to hand over live secret keys or owner access to your payment account; a reviewer who insists on them is a red flag.

What you get back: a ranked list of findings, each with the evidence (what was tried and what happened), why it matters in business terms, the fix, and a rough effort size. Plus a one-page summary you can read without a developer, and a re-test once fixes are in.

What it isn't: a compliance certificate, a guarantee, or a scanner printout with a logo on it. Automated scanners are useful inputs, but they can't tell that user B shouldn't see user A's invoice.

After the audit: keep it production ready#

An app passes an audit on the day of the audit. AI tools don't remember why a check exists, so next month's "add a feature" prompt can remove it. Keep three habits: a test for every fix, a rules file in the repo that your AI tool reads, and a human review of every change to sign-in, payments and the database. What to fix first in an AI-built app explains each in more detail.

Get a fixed-scope audit#

I run production-readiness audits for apps built with Lovable, Bolt, Replit, Cursor and Claude Code. Fixed scope, fixed price: every item on this checklist tested on your live app, code and database, a ranked fix list in plain language, and a re-test once fixes are in. Ideally before your first paying customer, and certainly before your first ad spend. Ask for your audit.

FAQ#

How do I know if my vibe-coded app is production ready?#

Test it rather than trust it. Sign in as two different users and check neither can reach the other's data, search the live site's code for secret keys, confirm payments unlock access only through a verified Stripe webhook, restore a backup, and check that errors alert someone. Anything you can't demonstrate counts as not ready.

What are the biggest security risks of vibe coding?#

Missing database access rules, secret keys shipped to the browser, payment access granted by the browser instead of the payment provider, no limits on sign-in or paid API calls, and servers that trust whatever input they receive. They're rarely clever attacks; they're checks the AI never wrote because nobody asked for them.

Does Lovable's security scan make my app safe?#

It helps, but it doesn't cover everything. Lovable's automatic Quick scan checks database settings such as tables without Row Level Security, known vulnerabilities in your packages, and exposed MCP servers. It doesn't review your application code, and Lovable's docs recommend an additional professional review for apps handling sensitive data.

Can a vibe-coded app safely take payments?#

Yes, if payments go through a provider like Stripe and access is granted only after a verified webhook confirms the payment. Never grant access because the browser reached a success page, check webhook signatures, and make sure a duplicate event can't grant or credit twice. Test all three before your first real customer.

What does a production-readiness audit include?#

Hands-on testing of the live app with multiple accounts, a review of database access rules policy by policy, a read of the code for sign-in, payments, file access and admin actions, and a check of the configuration of your database, payments and hosting. You should get a ranked list of findings with evidence, fixes, and a summary you can read without a developer.

Do I need a staging environment for a small app?#

Yes, once real users or payments are involved. A staging environment is a private copy with its own database and test payment keys, where changes are tried before customers see them. Without one, every AI-generated change is tested on your customers, and there's nothing safe to roll back to.

Muhammad Huzaifa Abdulahad
Written by

Muhammad Huzaifa Abdulahad

Full-Stack Software & DevOps Engineer

I build SaaS platforms with Node.js, NestJS, TypeScript and PostgreSQL, and run them on Linux, Docker, AWS and CI/CD — from the first line of code to production.

Related articles

See all posts →

Have a complex idea? Let's build it together.

From MVPs to scalable products, let's turn your idea into reliable software built for real-world impact.