Is Vibe Coding Bad? The Honest Answer for Beginners
You have heard two stories about vibe coding. One says anyone can build an app in an afternoon. The other says vibe coded apps are full of security holes and you should never trust them.
Both stories have some truth in them. This guide gives you the honest answer: when vibe coding is fine, when it is risky, what the research actually found, and the safety checklist to run before you share anything you build.
Table of contents
- The short answer
- What people mean when they say vibe coding is bad
- What the research actually found
- Where vibe coding is fine — and where it is risky
- The 7-point safety checklist
- What to do before you publish
- Frequently asked questions
- What to read next
The short answer
No, vibe coding is not bad, but it is not automatically safe either. It is a way of building — you describe an app in words and an AI tool writes the code. A to-do list for yourself is fine; an app that stores other people's emails, passwords or payments with no security check is where the trouble starts.
Vibe coding is a way of building: you describe an app in words and an AI tool writes the code. The method itself is neither good nor bad. What matters is what you build, who uses it, and whether anyone checks the result.
A to-do list for yourself is fine. A habit tracker you share with a friend is fine. An app that stores other people's emails, passwords or payment details — built with no security check — is where the trouble starts. The difference is not the tool. It is the data.
What people mean when they say vibe coding is bad
"Vibe coding is bad" usually means one of four different worries. They are not the same problem, and they do not have the same fix:
- The code is insecure. AI tools write code that works, but they sometimes skip the security parts — anyone can read or change data they should not see. This is the real risk, and it is the one this guide focuses on.
- The code is messy. AI-written code can be hard to read and hard to fix later. For a small app this does not matter much; for a big app it does.
- Beginners learn nothing. If the AI does everything, do you learn to code? You learn to describe, test and fix — which are real skills — but you do not learn the language itself. That is a fair criticism, and it is a reason to learn a little code alongside, not a reason to avoid the tool.
- It replaces real developers. For simple apps, yes, it does some of what a junior developer would do. For anything serious — real users, real money, real data — a human developer is still needed. Vibe coding does not remove that job; it moves it to the checking and fixing stage.
Only the first worry can actually hurt someone. The rest are about learning and jobs, not safety.
What the research actually found
A 2026 study of 200 deployed vibe-coded apps found 91.0% had at least one vulnerability, and 65.77% of the vulnerabilities found were rated Critical or High. The top problems were broken access control, found in 64.0% of apps, injection in 54.0%, and authentication failures in 51.5%. The numbers mean holes are the norm when nobody checks security.
This is not guesswork. In 2026, researchers published the first large audit of real vibe-coded apps — and the numbers are worth reading carefully, not panicking over.
| What the study did | What it found |
|---|---|
| Collected 9,041 open-source vibe-coded apps | The apps were built mostly with Claude Code and Lovable |
| Audited 200 publicly deployed apps | Found 1,186 vulnerabilities in total |
| Apps with at least one vulnerability | 91.0% of the 200 audited apps |
| Vulnerabilities rated Critical or High | 65.77% of the 1,186 found |
| Top problem: broken access control | Found in 64.0% of the apps |
| Second: injection flaws | Found in 54.0% of the apps |
| Third: authentication failures | Found in 51.5% of the apps |
The study is "Understanding the (In)Security of Vibe-Coded Applications" by Deng, Fan and Meng (arXiv:2606.23130, first posted June 2026, revised September 2026). Security researchers have also reported that AI-generated code chose the insecure option in 45% of cases (Veracode, via Surfshark). And in 2025, a real flaw was found in Lovable-built apps — CVE-2025-48757 — where database rules were missing, so one user could read another user's data.
Veracode's test is a useful reminder that AI tools optimise for code that works, not code that is secure — security rules have to be asked for explicitly in your prompts.
CVE-2025-48757 was a row-level security flaw: the database rules that stop one user reading another user's data were missing, so the lock was switched off by default.
Read those numbers honestly. They do not say "91% of vibe coded apps will be hacked." They say: when nobody checks the security, holes are the norm, not the exception. The study's own conclusion is that better prompting and better checking reduce the holes — but they do not eliminate the risk on their own. That is why the checklist below exists. The flaws the study found are the OWASP Top 10 staples — the same ten vulnerability classes security professionals have warned about for years, now reproduced faster than review can keep up: broken access control, injection (including SQL injection and cross-site scripting, or XSS), and authentication failures at the top.
The OWASP Top 10 is the standard list of the most common web security risks, and it is the checklist security professionals use when they review any web app.
One honest caveat: the audit covered open-source apps built with Claude Code and Lovable. It does not give the rate for every vibe-coded app. But every other scan published in 2025 and 2026 points the same way: the code usually works, and it usually has at least one serious hole.
Where vibe coding is fine — and where it is risky
| Situation | Verdict | Why |
|---|---|---|
| A to-do list or habit tracker for yourself | Fine | No other people's data, nothing to steal |
| A game or landing page you share with friends | Fine | Public by design, no private data |
| A small app with sign-up and login | Be careful | Accounts mean passwords — check the login works properly |
| An app that stores other people's emails or data | Risky | One missing rule can expose everyone's data |
| Anything with payments or money | Do not vibe code alone | Use a trusted payment provider and get a human developer to check it |
| A business app with customer data | Do not vibe code alone | The risk is not the code — it is the responsibility |
The rule is simple: the more someone else's data your app holds, the more checking it needs. A personal project needs a quick look. A customer-facing app needs a real review.
The 7-point safety checklist
Before you share a vibe coded app, run a safety check: can a stranger see another user's data, are there passwords or API keys in the code, does the login work, and is the database locked down with row-level security? If you find a problem you cannot fix in three tries, ask a developer friend to look at that part.
Run this checklist before you share any app you vibe coded. It takes ten minutes, and it catches the most common holes:
- Can a stranger see other users' data? Log in as one user, then try to open another user's page. If you can see it, stop — the app is not safe to share. This is the broken access control problem from the study, and it is the most common one.
- Are there any passwords or keys in the code? Search your project for "password", "secret" and "api_key". Real secrets must never sit in the code — they belong in environment settings.
- Does the login actually work? Try a wrong password. Try opening a protected page without logging in. If either lets you through, the login is decoration, not security.
- Can someone break it with weird input? Type strange characters into a form field — quotes, brackets, a very long text. If the app crashes or shows an error with database details, the input is not being checked.
- Is the database locked down? If your app uses a database (Supabase is the common one with Lovable), check that its row-level security is turned on. The Lovable flaw in 2025 was exactly this: apps shipped with the lock switched off.
- Does it use HTTPS? Your published link should start with https, not http. Both Lovable and Bolt.new publish over HTTPS by default — check that yours does.
- What happens if it breaks? Delete one thing by accident in the preview. Can you get it back? If not, save a copy of your prompts and your code before you publish.
Environment variables are the safe place for API keys and passwords: the app reads them at run time, but they never appear in the code anyone can read.
HTTPS encrypts the connection between your app and its visitors, so passwords and data cannot be read on the way — it is the first thing to check on any published link.
If you find a problem you cannot fix in three tries, ask the tool with the exact error message — or ask a developer friend to look at that one part. You do not need to fix everything yourself. You need to know what is broken.
The same safety prompts, ready to copy and paste, are in Vibe Coding Prompts for Beginners: 15 Copy-Paste Prompts That Actually Work — prompts 13 to 15 are the safety checks.
What to do before you publish
Three steps, in order:
- Run the checklist above. Ten minutes. Do not skip it because the app "works" — working and safe are different things.
- Share it with one friend first. Not on social media — one person, with a link. Ask them to try to break it: wrong passwords, strange input, other users' pages. Their answer is your next fix.
- Publish, then keep checking. A published app is public. Check it again after a week, and every time you add a feature that touches user data.
Frequently asked questions
Is vibe coding bad?
No — but it is not automatically safe. It is great for learning, prototypes and small personal apps. It is risky for apps that hold other people's data unless someone checks the security. The method is fine; skipping the check is the problem.
Is vibe coding safe for beginners?
Yes, for personal projects. A 2026 audit found vulnerabilities in 91.0% of 200 deployed vibe-coded apps it checked — but those apps were published without security checks. Run the 7-point checklist in this guide and you avoid the most common holes.
Can vibe coded apps be hacked?
Any app can be hacked, vibe coded or not. Vibe coded apps are more likely to have basic holes — especially broken access control, where one user can see another user's data — because the AI does not always add those protections unless you ask for them.
Should I use vibe coding for a business app?
For a prototype or an internal tool, yes. For a customer-facing app with real user data, only with a human developer reviewing the security. The risk is not the code — it is the responsibility for other people's data.
Does AI write bad code on purpose?
No. AI tools optimise for code that works, not code that is secure. Security rules — who can see what, what input is allowed — have to be asked for explicitly, in your prompts.
What is the single most important safety check?
Check whether one user can see another user's data. That one flaw — broken access control — was found in 64.0% of the apps in the 2026 audit, and it is the easiest to test: log in as one user and try to open another user's page.
What to read next
- Vibe Coding Prompts for Beginners: 15 Copy-Paste Prompts That Actually Work — prompts 13 to 15 are the safety checks from this guide, ready to copy.
- How to Vibe Code a Website: A Beginner's Step-by-Step Guide — the same 7-step workflow applied to one real website, in about an hour.
- Best Vibe Coding Tools for Beginners — Lovable, Bolt.new, Replit, v0, Cursor and Google AI Studio compared, with free plans and prices.
- How to Vibe Code: Step-by-Step Guide for Beginners — the 7-step workflow this guide follows.
Vibe coding is not bad. Skipping the safety check is. Run the checklist, share with one friend first, and build with your eyes open.
Written by Samiullah Channa, Vibe Coding Guide. Published 27 November 2026. Research checked 27 November 2026 — the arXiv audit figures are from the version revised September 2026; later versions may change them.




Comments
Post a Comment