← All posts

7 things that break when a vibe-coded app meets real users

December 4th, 2026 · 6 min read

Adam Rock

Adam Rock

Tools like Lovable, Bolt, Cursor, Replit, v0 and Claude can get a working app in front of you in an afternoon. That is real progress, and I am not going to pretend otherwise. A page renders, a form saves, a login works, and it feels finished.

What these tools are good at is the happy path. What they skip is everything that only matters once real people and real money arrive: who is allowed to do what, where the keys live, what happens when a payment comes in, and what you do when the database is wrong.

None of it is exotic. It is the boring half of software, and it is exactly the half that a builder optimising for "it runs" leaves for later. Here are the seven that matter most, with a five-minute check for each one, so you can find out where you stand without hiring anyone.

1. API keys and secrets shipped to the browser

What goes wrong

A key gets pasted into front-end code so the app can call a service directly. That works, and it also means the key is downloaded by every visitor. Anyone who opens developer tools can read it and use your account, your quota and your data. The same applies to keys in a mobile bundle or in a public repo.

How to spot it in five minutes

Load your app, open the browser's developer tools, and look at the Network tab. Look at the requests your app makes and at the headers and query strings on them. Any long string starting with something like sk_, or a parameter called api_key, token or secret, is a problem. Then view the page source and search the JavaScript files the same way.

The fix

Secrets belong on a server you control, and the browser talks to your server instead of the provider. That is one small endpoint that adds the key on the way out. Then rotate every key that was ever public, because it may already be copied, and use the provider's restrictions if it offers them.

2. Missing permission checks on the server

What goes wrong

The interface hides the admin button, so it looks safe. But the request behind that button has no check on the server, and hiding a button is not a permission. Change an id in a URL, or replay a request, and the server happily returns someone else's record or performs an action that should be reserved.

How to spot it in five minutes

Create a second test account, or sign in as two users in two browsers. Find a record that belongs to the first account, then open it while signed in as the second by changing the id in the URL or in the request. If it loads, the check is missing. Do the same with an action that only an owner should be able to take.

# signed in as user B, asking for user A's record
curl https://your-app.example/api/orders/1234 \
  -H "Authorization: Bearer $USER_B_TOKEN"

The fix

Every request that reads or changes a record checks who is asking and whether that person is allowed, on the server, every time. The usual shape is to tie the record to the signed-in user and refuse anything that does not match, rather than trusting an id sent by the browser.

3. Database access rules left open

What goes wrong

When the browser talks to a hosted database directly, as it does with Supabase or Firebase, the database is the thing standing between a stranger and your tables. If row-level security is off, the public key in your app is enough to read or write the whole table, not just the row for the signed-in user.

How to spot it in five minutes

Open your database dashboard and look at the policies for each table. In Supabase that is the table's policy list, which shows whether row-level security is enabled and which rules exist. A table with no policies, or with security disabled, is open. Check the tables that hold user information and anything with a price on it first.

The fix

Turn row-level security on, then write a policy per table that says what a signed-in user may do with their own rows, and a narrower one for anything shared. Test it the same way as the last item: with a second account, try to reach a row that is not yours and confirm it is refused.

4. Payments trusted from the browser

What goes wrong

Two failures live here. The first is marking an order paid when the browser comes back from the payment page, because the browser can say anything. The second is receiving a webhook from Stripe without checking that Stripe actually sent it, so anyone who finds the endpoint can post a fake "payment succeeded". Either way, the product gets given away or a record says money arrived when it did not.

How to spot it in five minutes

Find the code that sets a payment as complete and ask what triggers it: the return from the checkout page, or the webhook. Then look at the webhook handler and confirm it verifies the signature before it changes anything. If the handler takes the request body and updates an account without that step, it is not verified.

The fix

Fulfilment happens in one place, the webhook, and only after the signature check passes using your signing secret. The return page is just a thank-you. Where you need to show a receipt, look the payment up on the server rather than trusting what the page was told.

5. No backups, or no tested restore

What goes wrong

Your data lives in one database with one copy. A bad migration, a delete in the wrong place, or a bug in a bulk update takes information that cannot be recreated. A backup that has never been restored is a hope, not a backup: the time to find out it is incomplete is not the day you need it.

How to spot it in five minutes

Find your provider's backup settings and answer three questions: is an automatic backup running, how often, and how far back does it go. Then restore the most recent one into a scratch project and look at a couple of tables. If there is no way to restore without digging, that is the finding.

The fix

Turn on the provider's automatic backups if they exist, keep an export somewhere you control as well, and do one real restore test. Write down where the backups are and how to use them, so it is not a puzzle under pressure.

6. Errors swallowed, or shown raw, with no logging

What goes wrong

Two opposite failures with the same cause. Some apps catch an error and do nothing, so a save silently does not happen and the user thinks it worked. Others show the raw exception, with internal file paths and database details, to whoever triggered it. In both cases nobody is watching, so you find out from a customer.

How to spot it in five minutes

Search the code for catch and look at what each one does: an empty block is a swallowed error. Then break something on purpose in a test account and read what the user actually sees. Finally, ask yourself how you would learn about it if you were not looking, because if the answer is "the customer calls", that is the gap.

The fix

Log the error with enough context to reproduce it, show the user one short sentence and a way to get help, and add a single alert for repeated failures. That alert is the difference between hearing about a problem and discovering it a week later.

7. Deploys from a laptop, with nothing to test on first

What goes wrong

If shipping means running a command from one laptop, or dragging a folder somewhere, then only that laptop can ship, the last change on it goes out whether or not it is finished, and there is no copy of the site to try a change on before users see it. The process lives in someone's memory, which is the least reliable place to keep it.

How to spot it in five minutes

Ask how a change gets from code to the live site, and whether the answer would work on a different machine. Then look for a staging or preview URL, one that is not the live site, that you can open before a release. If neither exists, the deploy is manual and untested.

The fix

Connect the project to your host so a push deploys it, keep the secrets in the host's environment settings rather than on a laptop, and use a preview deploy for changes that touch payments or user data. One repeating process beats a remembered one.

What to do with this list

Work through the seven in order and write down what you find. The first four are the ones that can cost you money or trust quickly; the last three decide how bad a bad day gets. Some of it you can fix yourself in an afternoon, and some of it needs a second look at the code itself.

If you want a second pair of eyes, that's what my audit is for: a fixed price, a written report of what I found and what I would change first, with no open-ended hourly work. You can read about the audit here, or send me a note about what you have built.