A vibe-coded prototype is a good demo and a poor foundation. If your plan is to prompt your way from prototype to a vibe coding production app, expect to rebuild the core before real users and real money touch it.

This is not an argument against the tools. We use AI assistants every day. The problem is what the tools aim for: something that looks finished on screen, fast.

What changed in the last year

Andrej Karpathy coined "vibe coding" in early 2025. He used it to describe accepting AI-written code without reading it closely. Within months, Lovable, Bolt, Replit Agent, v0 and Cursor made that a normal way to start a product.

A founder with no engineering hire can now get a clickable app with login and a database in a weekend. A prototype like that typically cost $15,000 to $40,000 from an agency. Now it costs a few hundred dollars in subscriptions.

The catch is that the cost did not disappear. It moved to the day you try to launch.

Founders who want one practical, no-hype article a week on building software can subscribe here.

Where generated prototypes break

When we review AI-built prototypes, the demo usually works. The same five problems tend to sit underneath.

Data access rules

Many generated apps on Supabase or Firebase ship with tables any logged-in user can read. Supabase states plainly that you must enable row level security and write the policies yourself. Prototypes often skip this, because the demo works fine without it.

Secrets in the client

API keys for OpenAI, Stripe or email providers end up in front-end code. Anyone who opens browser dev tools can copy them. One leaked key can mean a four-figure bill by morning.

No error paths

Generated code handles the happy path. A failed payment, a dropped connection or a double tap on submit can leave data half-written. Users find these bugs in week one.

A data model nobody designed

Each prompt adds a column or a table to make one screen work. After 200 prompts you can have three ways to store a user's plan and no migrations. Changing it later means touching every feature.

Store and compliance gaps

Mobile apps must pass Apple's App Store Review Guidelines, including in-app account deletion and privacy disclosures. Health or card data adds HIPAA or PCI duties. No prompt adds these unless you know to ask.

What a vibe coding production app actually needs

Shipping means the app keeps working while you sleep and someone tries to break it. That takes work a demo never needs.

  • Access control tested per role, not just a login screen.
  • Secrets on the server, rotated, with spending limits set at each provider.
  • A designed schema with migrations in version control.
  • Logging and alerts through a tool like Sentry, so you hear about errors before users email you.
  • Automated tests on payments, auth and anything that writes data.
  • A security pass against the OWASP Top 10, the standard list of common web flaws.

For a typical small SaaS or marketplace prototype, this work takes 4 to 12 weeks with one or two engineers. Sometimes that means hardening the generated code. More often, rebuilding the backend is faster than auditing thousands of lines nobody has read.

The caveat: an internal tool for ten staff, with no payments and no sensitive data, can often ship close to as-is. Risk scales with users, money and data.

Who this helps and who it hurts

It helps founders who treat the prototype as a spec. You can test demand, show investors and get feedback for almost nothing. When you hire engineers, a working prototype answers questions a written brief never could.

It hurts founders who believe the demo is the product. They launch, get traction, then hit a data leak or a rewrite at the worst moment. Paying users are watching when it happens.

It also hurts the developers who inherit the code. There is no design to read, only output. They spend their first weeks working out what the app does before they can change it.

Our prediction for the next 18 months

Within 12 to 18 months, "prototype rescue" will be a standard line item in agency quotes. It will be priced separately from new builds. We also expect at least one widely reported breach traced to an AI-generated app with open database rules.

After that, investors will start asking which parts of the code a human has reviewed. The tools will also ship safer defaults, and some already warn about open tables. Better defaults still do not replace someone who knows what the app must refuse to do.

What to do this quarter

  1. Freeze features on the prototype. Every new prompt adds code you will later review or replace.
  2. Run a two-hour self-check. Search the front-end bundle for API keys. Then log in as one user and try to load another user's records by changing an ID in the URL.
  3. Set spending caps on every paid API the app calls.
  4. Write down what the app must never do. Show another user's data, charge twice, lose an order. That list becomes your test plan.
  5. Get one experienced engineer to review it before launch. A short review typically takes a few days. It tells you whether to harden or rebuild.

Keep the prototype. It is still the fastest way to show anyone what you mean. Just do not mistake it for the thing you charge money for.

FAQ

Can a vibe-coded app go to production?

Yes, in low-risk cases such as internal tools with few users and no sensitive data. For anything with payments, personal data or public sign-up, plan for a review and usually a partial rebuild. The deciding factor is what happens when the app gets something wrong.

Is it cheaper to fix AI-generated code or rewrite it?

It depends on how much of it anyone understands. If a developer can read the code in a day or two, hardening is usually cheaper. Past a few thousand unreviewed lines, rebuilding the backend while keeping the UI is often faster.