What Is AI Vibe Coding? The Pitfalls Behind the Convenience

Ask an AI to “build me an app like this” and something that works appears within minutes. This way of building is called vibe coding. The term spread in early 2025, when the AI researcher Andrej Karpathy used it to describe having AI build things by feel (the “vibe”), without paying much attention to the code itself.
This blog sometimes builds web services together with AI too. That is exactly why it is worth setting out where people tend to stumble, alongside the convenience.
What is good about vibe coding
- Even with little programming experience, things take shape fast
- The time from idea to trying it out shrinks dramatically
- Experienced developers can hand off routine work
For prototypes and small tools, it is a very powerful approach.
The pitfalls come after it works
Problems tend to appear when other people start using what you built. The main pitfalls:
1. Security
Handling passwords, validating input, where API keys are kept: there are things to protect that have nothing to do with whether it runs. AI-written code does not necessarily meet them.
2. Hard to maintain
Keep adding features without understanding the code, and you reach a state where a small fix breaks something elsewhere.
3. No tests
Proceed on “it worked on screen, so it’s fine” and you won’t notice parts that break when conditions differ slightly.
4. Using components that don’t exist
AI sometimes writes plausible names of libraries that do not exist. If someone malicious has published a package under that name, you may pull dangerous code into your project.
5. Rights
The licenses of generated code and assets also need attention.
“Code you don’t understand isn’t really yours”
The biggest problem is that the person who built it cannot explain the code. When trouble happens, they don’t know where to look; they cannot explain it to customers. For a public service, that is a serious risk.
Working with it well
- Treat prototypes and production as separate things
- Before publishing, have a person read at least the critical parts (login, payments, personal data)
- Use AI for review too, asking “what is risky in this code?”
- Build small, check small
About this series
The following articles dig into the problems of vibe coding one at a time: security, maintenance, testing, packages, rights and skills.

