Vibe coding security statistics (2026): what the research actually says
How many deployed vibe-coded apps have security problems?
- In a 2026 preprint auditing 200 publicly deployed vibe-coded apps, 91% (182 of 200) had at least one security vulnerability. (Deng, Fan and Meng, preprint, version 4. Earlier versions of the same preprint reported 90%.)
- In the same preprint, broken access control was the most common category, found in 64% of the 200 audited apps. (Earlier versions reported 75.5%; we quote the current one.)
- In the write-up for CVE-2025-48757, the researcher found 170 of 1,645 showcase apps on one AI app builder (about 10%) had inadequate row level security settings, judged from homepage requests alone. (Palmer, 2025.)
- A security firm's scan of over 5,600 apps built on vibe coding platforms reported 400+ exposed secrets and 175 cases of exposed personal data. (Escape.tech, vendor research.)
How secure is AI-written code in benchmarks?
- In a peer-reviewed benchmark of 186 real-world coding tasks, the agent that solved the most tasks produced working code for 57% of them, but code that was both working and secure for only 11.8%. That 11.8% is a share of all tasks, not of the working solutions. (SusVibes, ICML 2026; the agent was SWE-agent with Claude 4 Sonnet.)
- In a peer-reviewed benchmark of AI-generated backends, security exploits worked on around half of the programs that were functionally correct. (BaxBench, ICML 2025.)
- In a 2026 preprint benchmark, six AI coding agents passed 73.6 to 91.3% of tasks functionally, but only 16.4 to 25.1% of tasks were both functional and secure. (Wu and others, preprint.)
- In a 2026 preprint benchmark of 6 AI app builders, none scored above 65% on the authors' security score, against their 90% target. The authors call the result descriptive of their sample. (Saxena, Trivedi and Jyothi, preprint.)
What happens when AI keeps fixing its own code?
- A peer-reviewed 2025 study reported that letting AI repeatedly 'improve' code without a human increased critical vulnerabilities by 37.6% after five rounds. It tested one model (GPT-4o) on a small set of code samples. (Shukla, Joshi and Syed, IEEE-ISTAS 2025.)
- In a peer-reviewed 2025 study across 16 models, AI coding models recommended packages that do not exist: on average at least 5.2% of the packages recommended by commercial models and 21.7% by open-source models. (Spracklen and others, USENIX Security 2025.)
- In a 2023 preprint, 31 of 36 apps with built-in AI features were vulnerable to prompt injection. (Liu and others, preprint.)
Do people write less secure code with AI assistants?
- In a peer-reviewed 2023 user study (47 participants), people using an AI assistant wrote less secure code in 4 of 5 tasks, and were more likely to believe it was secure. (Perry and others, CCS 2023.)
- Counterpoint: a peer-reviewed 2023 study found Copilot repeated a known human vulnerability in about a third of cases, and concluded it was not as bad as humans. (Asare, Nagappan and Asokan, EMSE 2023.)
How should you read these numbers?
Benchmarks test set tasks, not your app. Preprints have not been peer reviewed yet. Vendor scans come from companies that sell security tools. The consistent finding across all of them is narrower and more useful: AI tools build what you ask for, and the security rules you did not ask for, especially who may see which data, are the ones most often missing.
So the practical step is the same whatever the exact rate: check access rules, secrets and payment confirmation on your own app. Our free checklist covers all three.
1. Run the free local check
npx caelo .
Caelo is a free, open source (MIT) command line tool and MCP server from Irth Labs that checks the files of an AI-built app for exposed API keys, Supabase and Firebase misconfigurations and .env files with real values. It runs on your machine, uploads nothing and uses no AI model. Each finding comes with a plain-English fix.
2. Act on a finding
Follow the fix in your report and run Caelo again. If Git could commit an untracked file containing secrets, preview a US$19 quick fix for that file.
For findings that need an engineer, Irth Labs offers a US$490 App Health Check. You receive a written report within 48 hours and a fixed repair quote. The fee counts toward the repair if you proceed.
Questions
What percentage of vibe-coded apps have security vulnerabilities?
In a 2026 preprint auditing 200 publicly deployed vibe-coded apps, 91% (182 of 200) had at least one security vulnerability. It is a single preprint that has already revised its numbers once, so treat it as an indication, not a law.
What is the most common security problem in AI-built apps?
Broken access control: users being able to see or change data that is not theirs. In one 2026 preprint it was the largest category, found in 64% of the 200 apps audited.
Is AI-generated code less secure than human code?
The evidence is mixed. A 2023 user study found people using an AI assistant wrote less secure code in 4 of 5 tasks, while another 2023 study found Copilot was not as bad as humans at repeating known bugs.
Can I cite these statistics?
Yes. Cite the original studies listed under Sources, not this page, and keep the caveats: sample size, and whether it is a preprint or peer reviewed.
Sources
- Deng, Fan and Meng, 2026. Understanding the (In)Security of Vibe-Coded Applications. Preprint (numbers from version 4, September 2026).
- Zhao and others. Is Vibe Coding Safe? (SusVibes), ICML 2026.
- Vero and others. BaxBench, ICML 2025.
- Wu and others, 2026. Last Secure Code Benchmark. Preprint.
- Saxena, Trivedi and Jyothi, 2026. SWE-WebDevBench. Preprint.
- Palmer, 2025. Statement on CVE-2025-48757.
- Escape.tech, 2025. How we discovered vulnerabilities in apps built with vibe coding platforms.
- Shukla, Joshi and Syed. Security Degradation in Iterative AI Code Generation, IEEE-ISTAS 2025.
- Spracklen and others. We Have a Package for You! USENIX Security 2025.
- Liu and others, 2023. Prompt Injection attack against LLM-integrated Applications. Preprint.
- Perry, Srivastava, Kumar and Boneh. Do Users Write More Insecure Code with AI Assistants? CCS 2023.
- Asare, Nagappan and Asokan. Is GitHub's Copilot as Bad as Humans at Introducing Vulnerabilities in Code? EMSE 2023.