TD

You Vibe Coded Your App. Now What?

August 25, 2026
Watercolor wireframe sketches of website layouts

You Vibe Coded Your App. Now What?

A new kind of email has been landing in my inbox this year. It goes something like this: "Hi, I built an app with AI over the last few weeks. It works! People like it. But I think something is wrong with it, and I don't really know what's inside. Can you take a look?"

I love these emails. Truly. A few years ago, the same person would have sent me a Word document with an idea and a budget question. Now they show up with a working prototype that real people have clicked on. That is a much better place to start a conversation.

But I also open the hood, and the hood is where things get interesting.

A quick word on "vibe coding"

The term was coined in early 2025 by Andrej Karpathy, one of the better known names in AI, half as a joke. The idea: you describe what you want, the AI writes the code, you look at the result, ask for changes, and you never really read the code itself. You go with the vibes.

Tools like Lovable, Bolt, v0, Replit and Cursor made this accessible to people who have never written a line of code. And honestly, for prototypes, internal tools and testing whether an idea has legs, it is fantastic. The trouble starts when the prototype quietly becomes the product, with real users, real data and sometimes real money.

What I usually find

Keys in the wrong place. API keys for the database, for payment providers, for the AI service itself, sitting in code that is sent straight to the visitor's browser. Anyone who opens the developer tools can copy them. Sometimes they are even committed to a public GitHub repository. This is the first thing I check and, sadly, often the first thing I find.

A database with the door open. Many of these apps use Supabase or Firebase, which are excellent services. Both rely on access rules that say who may read or change which data. AI tools frequently leave those rules off or wide open so that "it works". It does work. It works for everyone, including someone who wants to read all your users' data.

Checks only on the screen. The app hides the admin button from normal users, so it feels secure. But the server behind it never checks who is asking, so anyone who sends the right request directly gets admin powers. The lock is painted on the door.

No plan for things going wrong. No backups. No error logging, so when something breaks for a user, nobody knows. No limits on how often someone can call the expensive AI feature, which is how people discover a surprise bill at the end of the month.

The same thing, five times. Each prompt solved the problem in front of it, so there are five slightly different versions of the login logic, three date formatting functions and a component that is 2,000 lines long. It works, but every change is a game of whack a mole, and even the AI starts getting confused by its own code.

Keep, fix or rebuild?

That is the first question after the audit, and the answer is not always "rebuild". Often the structure is reasonable and it needs security fixes, a cleanup and a proper setup for hosting, backups and monitoring. Sometimes the prototype is best treated as a very detailed specification: we keep the screens and the flows people already like, and rebuild the inside properly, usually in Next.js with a real backend.

Either way, the prototype isn't wasted. It answered the most expensive question in software, which is "does anyone actually want this?", for the price of a few weekends. Traditional projects sometimes spend months and serious money before they find out.

If you are vibe coding right now

A few things you can do yourself, before you call anyone:

  • Ask the AI directly: "Are any secret keys exposed to the browser in this project?" and "Are the database access rules enabled for every table?" It is surprisingly honest when asked the right question.
  • Never put real customer data, and especially not payment data, into an app nobody has reviewed.
  • Turn on backups for your database today. Most services make it a single switch.
  • Set spending limits on every paid API you use.
  • Keep the code in version control, so you can go back when a prompt breaks everything (it will).

The bigger picture

I don't think vibe coding is going away, and I don't think it should. It lets more people build things, which is good for everyone, me included. What it doesn't remove is the need for someone who understands what is happening under the surface, especially once other people trust the app with their data.

If you have built something and that "something is wrong" feeling won't go away, send me a message. A review is usually quicker than people expect, and I promise not to make fun of your 2,000 line component. Mine weren't always pretty either.