Skip to main content
A vibe-coded prototype passing through an audit of security, data, cost and reliability before reaching production

Is Your Vibe-Coded App Ready for Real Users? What Breaks and How to Audit It

AI app builders get you to a convincing demo fast. Here is what usually breaks when real users arrive, and how to check your app before they do.

The demo worked. That was the easy part.

AI app builders and coding assistants have changed what one person can make in a weekend. A founder with no engineering team can now describe a product and get something that signs users up, stores data, takes payments and looks finished. That is a real achievement, and it is why so many good ideas now reach the demo stage.

The problem is that the tools optimise for what you can see. A screen either looks right or it does not, so the screens get a lot of attention. What you cannot see — who is allowed to read which record, what happens when a payment webhook arrives twice, how much a single user can spend on your model bill — gets very little.

That gap is invisible until real users arrive. Then it shows up all at once: a customer sees another customer’s data, an API key leaks, the monthly bill is ten times the forecast, or a small change breaks sign-up and nobody notices for a day.

This guide covers what usually breaks, how to audit your app before launch, and how to decide whether to fix what you have or rebuild part of it.

What usually breaks

These are the issues we find most often when a team brings us an app built mostly with AI tools. None of them is exotic, and none of them shows up in a demo.

1. Access checks that only exist in the interface

The most serious and most common problem. The app hides the “edit” button from users who should not edit, but the API behind it accepts the request from anyone who sends it. Or the database has row-level security available but switched off, so any signed-in user can query any row.

How to check: sign in as one test user, copy a request from the browser’s developer tools, change the record ID to one belonging to a second test user, and send it again. If it succeeds, you have a data leak waiting to happen.

The five-minute access test: sign in as user A, copy a request from the Network tab, swap in the ID of a record owned by user B, and send it again. If user B’s data comes back, access is only enforced in the interface; a 403 or 404 means the server checks ownership

2. Secrets in the browser

API keys for payment providers, model APIs or the database itself end up in front-end code, because that is the quickest way to make the feature work. Anything in the browser bundle is public. The same goes for keys committed to a public repository.

How to check: search the built front-end files and the repository history for key prefixes and the word “secret”. Every key that has ever been exposed should be rotated, not just removed.

3. No server-side validation

Forms validate input in the browser, and the server trusts whatever arrives. That allows negative quantities, other users’ IDs, oversized uploads and, depending on the stack, injection attacks.

4. Paid APIs with no limits

AI features call a model on every request, and nothing stops one user, a bot or a bug in a retry loop from making thousands of calls. The first sign is the invoice. If your app calls a model, you need per-user rate limits, a spending cap with the provider and an alert well before the cap. Our inference cost guide covers how to bring the steady-state bill down once it is safe.

5. No tests, so every change is a gamble

When an app is built by prompting, each new prompt can quietly change behaviour elsewhere. Without automated tests on the flows that matter — sign-up, payment, the core action your product exists for — you only find out from users. You do not need full coverage on day one. You need the five or six journeys that must never break.

6. Database changes made by hand

Tables were added and columns renamed directly in the production database while the app was being built. There are no migrations, so nobody can recreate the database from scratch, set up a staging copy or roll back a bad change.

7. One environment, no backups, no rollback

The app runs in a single environment that is development, testing and production at once. Backups are whatever the platform does by default, and nobody has tried restoring one. A bad deploy cannot be reversed quickly.

8. Nothing is logged

When something fails, there is no record of what happened. You cannot trace a user’s complaint to a request, see which errors are increasing or tell whether last night’s deploy caused this morning’s problem.

9. Dependencies nobody chose

AI tools add packages freely. Some are abandoned, some carry known vulnerabilities, and occasionally a suggested package name does not exist at all, which attackers exploit by publishing malicious packages under names that AI models tend to invent. Every dependency should be one somebody would choose deliberately.

10. You do not fully own the code

The app lives inside a builder platform, deployed to the platform’s hosting, with the database on an account in someone’s personal name. Before you build a business on it, make sure the code is exported to a repository your company owns and every service account belongs to the company.

A pre-launch audit checklist

Work through this before you invite real users, and again before any large launch. It takes a careful engineer days, not weeks, on a typical early-stage app.

Area Check Must fix before launch?
Access Every API route and query enforces who can read and write which records, on the server Yes
Secrets No keys in front-end code or repository history; exposed keys rotated Yes
Validation Server validates every input it accepts Yes
Cost Per-user rate limits, provider spending caps and alerts on paid APIs Yes
Data Backups enabled and a restore actually tested Yes
Payments Webhooks verified and safe to receive twice Yes, if you take payments
Tests Automated tests on the journeys that must never break Strongly recommended
Environments Separate staging and production; deploys can be rolled back Strongly recommended
Database Schema managed through migrations Soon after launch
Logging Errors and requests logged with enough context to trace a complaint Soon after launch
Dependencies Every package known, maintained and free of known vulnerabilities Soon after launch
Ownership Code, domains, databases and accounts owned by the company Yes

If your app has AI features at its core — a chatbot, an agent, retrieval over documents — add the checks from our AI production readiness checklist and the attack paths in our threat model for AI applications. Prompt injection and over-permissioned agents are the AI-specific versions of the access problems above.

Fix it or rebuild it?

This is the question founders worry about most, and the honest answer is usually “a bit of both”.

Fix or rebuild decision: if the data model does not match how the business works, keep the interface and rebuild the back end. If it does, but changing one screen breaks another, rebuild the back end too. If changes stay local, fix in place with server-side checks, tests, cost limits and backups

Fix what you have when:

  • The data model makes sense: the tables and relationships match how the business actually works.
  • The problems are local — missing checks, missing tests, weak error handling — rather than structural.
  • Changing one screen does not routinely break another.

Rebuild the core when:

  • The data model is wrong, and every new feature works around it.
  • The same business rule is implemented separately in several places, slightly differently each time.
  • Nobody, including the AI tool, can make a change without breaking something unrelated.

The common middle path: keep the interface, the product decisions and the things users already like, and rebuild the back end — data model, access control, business logic and integrations — properly underneath. The prototype becomes the specification. That is often faster than it sounds, because the hardest part of any product, deciding what it should do, is already done.

What you should not do is keep prompting your way through production problems. AI tools are excellent at producing code, but they are only as good as the review around them. Once you have paying users, every change needs someone who understands the whole system to check it.

What a good handover from prototype to production looks like

Whether you do it with your own engineers or bring in a partner, the shape is the same:

  1. Audit. Run the checklist above and write down what you find, ranked by risk.
  2. Secure the launch-blockers. Access control, secrets, validation, cost limits and backups first. These are days of work, not months.
  3. Put a safety net in place. Tests on critical journeys, a staging environment, logging and a rollback path.
  4. Decide fix or rebuild for each part, using the criteria above, and plan the work around your launch dates.
  5. Keep the speed. AI-assisted development is still the fastest way to build. The difference is that a senior engineer reviews every change and automated checks catch regressions before users do.

We wrote about realistic timings for this kind of work in From PoC to Production: An Honest Engineering Timeline.

Where Tensorplay fits

Taking fragile, AI-built prototypes to production is where Tensorplay started, and it is still our theme: vibe-coded ideas, enterprise-grade reality. We audit what you have, fix the launch-blockers, and either harden the codebase or rebuild the core underneath your existing product, with every change reviewed by a senior engineer.

If you have an app that works in a demo and you want to know what it needs before real users arrive, tell us about it. You can also read how our MVP and prototyping service works.

Frequently asked questions

Answers to common questions about this topic.

Is a vibe-coded app safe to launch?
It can be, but not by default. AI app builders optimise for something that works in a demo. Before real users arrive, check that authorisation is enforced on the server, secrets are not exposed to the browser, inputs are validated, costs are capped, and you have backups, logs and a way to roll back.
What are the most common problems in AI-generated code?
Access checks that exist only in the user interface, API keys shipped to the browser, missing server-side validation, no automated tests, database changes made by hand, unmetered calls to paid APIs, and little or no logging. Each one is fixable, but each one needs to be looked for deliberately.
Should I fix my vibe-coded app or rebuild it?
Fix it when the data model is sound and the problems are local: missing checks, missing tests, weak error handling. Rebuild the core when the data model is wrong, business logic is duplicated across many screens, or every change breaks something unrelated. Most apps end up somewhere in between: keep the interface and product decisions, rebuild the back end.
How long does a production readiness audit take?
For a typical early-stage app, a focused audit takes days rather than weeks. The output should be a prioritised list: what must be fixed before launch, what can wait until after, and an honest view on whether the codebase is worth building on.

For founders

MVP & Prototyping

Turn a raw idea into a working proof of concept or MVP in weeks, not months, so you can validate before you over-invest.

Book a discovery call

For AI builders

AI Engineering

AI-native applications, curated datasets and trained models, built by engineers who run AI systems in production.

Discuss your AI project

For scaling teams

Staff Augmentation

Vetted tech specialists who plug directly into your sprint cycle, without the hiring overhead.

Request engineers

For tech leaders

Fractional CTO & Advisory

Direct access to experienced engineering leaders for architecture reviews, engineering management and crisis unblocking.

Book a strategy session