Skip to content

Study audits 200 vibe coding apps and finds 1,186 vulnerabilities.Understanding the (In)Security of Vibe-Coded Applications

Paper Tracker· arXiv:2606.23130· Junquan Deng, Zhiyu Fan, Ruijie Meng·Indexed by this site · 2026-10-07· Originally publishedSelected EvaluationSelectedAttention43

Quick read

Evaluation and benchmarks

Based on the paper PDF (generated by Gemini); refer to the original

The researchers audited 200 deployed vibe-coding applications and found that 91.00% had vulnerabilities and 65.77% reached Critical or High severity.

Questions
In vibe coding mode, users delegate AI agents to build and deploy complete applications from scratch through natural language instructions, with less human intervention and review. Whether this full-process delegation introduces security vulnerabilities in real deployed systems had previously lacked empirical research on real running systems.
Methods
The researchers collected 9,041 applications from GitHub with an AI-written proportion of over 90% to build VIBEAPPS, sampled 200 actually deployed applications, combined multi-agent code auditing with manual verification to build VIBEVULNS containing 1,186 vulnerabilities, and conducted replay testing on 70 targets.
Experiments and results
The audit found that 91.00% of deployed applications contain vulnerabilities, 65.77% reach Critical or High severity, with access control flaws being the most common. Root causes are attributed to three types of defects: memory, goal, and knowledge; in replays, the production prompt has the lowest reintroduction rate (11.0%), while the professional prompt has the highest (45.7%).
Limitations and future work
The application samples are based on Claude Code and Lovable features and come only from GitHub open-source repositories; the audit model includes Claude Code with potential bias; replay experiments did not include hallucination vulnerabilities that are difficult to reproduce; in the evaluation, no configuration eliminated all vulnerabilities.
Experimental setupGPT-5.6-Terra、GPT-5.6-Luna et al. · VIBEAPPS、VIBEVULNS et al. · Vulnerability count、Vulnerability density et al.
Evaluated models
GPT-5.6-TerraGPT-5.6-LunaGPT-5.6-Sol
Benchmarks
VIBEAPPSVIBEVULNSOWASP Juice Shop
Metrics
Vulnerability countVulnerability densityReintroduction rateRecallCohen's kappa
AI summaryand selection rationaleThe researchers built the VibeApps dataset, randomly sampled 200 publicly deployed apps from 9,041 open-source vibe coding apps developed with Claude Code and Lovable, and conducted a security audit, finding 1,186 vulnerabilities in total. 91.0% of the audited apps contained at least one vulnerability, and 65.77% of the vulnerabilities found were rated Critical or High severity, concentrated in broken access control, injection, and authentication failure. These vulnerabilities can be attributed to eight recurring failure modes, corresponding to three systemic deficiencies of AI agents: memory deficiencies, goal deficiencies, and knowledge deficiencies, with knowledge deficiencies accounting for the largest share (63.4%). The study conducted 1,680 controlled replays; under the baseline configuration, target vulnerabilities were reintroduced in 54/210 runs (25.7%); production-ready prompts and hardened agent harnesses showed the largest reductions, 14.8 and 13.8 percentage points respectively, but no configuration eliminated all target vulnerabilities.

The researchers built the VibeApps dataset, randomly sampled 200 publicly deployed apps from 9,041 open-source vibe coding apps developed with Claude Code and Lovable, and conducted a security audit, finding 1,186 vulnerabilities in total. 91.0% of the audited apps contained at least one vulnerability, and 65.77% of the vulnerabilities found were rated Critical or High severity, concentrated in broken access control, injection, and authentication failure. These vulnerabilities can be attributed to eight recurring failure modes, corresponding to three systemic deficiencies of AI agents: memory deficiencies, goal deficiencies, and knowledge deficiencies, with knowledge deficiencies accounting for the largest share (63.4%). The study conducted 1,680 controlled replays; under the baseline configuration, target vulnerabilities were reintroduced in 54/210 runs (25.7%); production-ready prompts and hardened agent harnesses showed the largest reductions, 14.8 and 13.8 percentage points respectively, but no configuration eliminated all target vulnerabilities.

Why it was selectedThe study uses 200 deployed applications and 1,186 vulnerabilities to characterize the security landscape of vibe coding and provides a reproducible taxonomy of failure modes.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Explore the current state of security vulnerabilities, root causes, and mitigation conditions in real deployed applications under the full-process delegated development paradigm of vibe coding.

    To what extent do real-world vibe-coded applications, built from scratch and publicly deployed under the leadership of AI agents, pose security risks, and what are the root causes of their vulnerabilities and potential mitigation conditions.

    • Development paradigm shift and real-world risks: Vibe coding lets users interact with AI agents primarily through natural language to design, implement, and deploy complete applications from scratch, greatly lowering the development barrier; the authors note that as such applications are deployed directly to the public internet, security decisions lack human review, leading to frequent security incidents such as privilege bypass and remote code execution.
    • Limitations of existing research: Prior evaluations of AI-generated code security have mostly focused on traditional AI-assisted programming, i.e., completing function-level completion or code repair tasks within existing codebases; the authors note that this does not reflect the impact of architectural decisions, trust boundary divisions, and deployment configurations that agents make autonomously when building systems from scratch on overall security.
    • Core observation and hypothesis: The authors believe that the end-to-end agent-led development process in vibe coding may, without human architectural design and security review, introduce systematic security defects throughout the entire software lifecycle.
    • Proposed work: The authors build the VIBEAPPS dataset containing 9,041 open-source vibe-coded applications, conduct security reviews of 200 publicly deployed applications using multi-agent auditing combined with human verification, establish the VIBEVULNS dataset containing 1,186 vulnerabilities, and systematically analyze their prevalence, severity, failure modes, and mitigation configurations.
  2. What related research exists?

    Systematically reviewed AI-assisted programming, repository-level security evaluation, and real-world code security empirical studies, pointing out that this paper focuses on full-process real deployment.

    Related research mainly covers AI-assisted programming and its security evaluation, and real-world vulnerability benchmarks.

    AI-assisted programming and the Vibe Coding paradigm

    • Karpathy (2025) and Chou et al. (2026) — proposed and analyzed vibe coding, a new development paradigm where AI leads and users provide only high-level requirements and feedback.
    • GitHub Copilot (Microsoft) and related industry surveys (Shani et al., 2023; Chandra, 2024) — represent traditional AI-assisted programming tools, where developers still lead system design, implementation decisions, and take on code review responsibilities.

    Security evaluation of AI-generated code

    • Early function-level and single-file evaluations (Pearce et al., 2022; Nie et al., 2026) — evaluated generated code on synthetic CWE tasks; Pearce et al. reported that approximately 40% of GitHub Copilot completions contain vulnerabilities; Khoury et al. (2023), Tihanyi et al. (2025) extended to multi-model and multi-language comparisons.
    • Repository-level and benchmarks (Lian et al., 2025; Chen et al., 2026; Zhao et al., 2025; Vero et al., 2025) — constructed repository-level benchmarks such as A.S.E, SECUREVIBEBENCH, SUSVIBES, and BaxBench, but the authors note that evaluations are still limited to controlled experiments or partial modifications of existing codebases.
    • Real-repository analysis and human review (Perry et al., 2023; Schreiber and Tippe, 2025; Fu et al., 2025) — studies found that human developers may correct vulnerabilities during review, and conducted empirical analyses of the security of AI-assisted code in open-source codebases.

    Baseline methods and benchmark datasets

    • OWASP Juice Shop and controlled baselines — the paper uses OWASP Juice Shop containing known vulnerabilities to verify the audit framework's recall; in mitigation experiments, GPT-5.6-Terra with default harness and brief prompts serves as the Baseline configuration.

    Difference and positioning from this paper

    • The authors state that existing work is limited to controlled experimental environments or localized code generation flaws in human-existing codebases, unable to reflect system-level risks exposed by autonomous agents' full-process decisions in architecture planning, implementation, and deployment; the authors state this paper is the first large-scale empirical study on real vibe-coded applications actually deployed on the public internet.
  3. How does the paper address this problem?

    Construct the VIBEAPPS and VIBEVULNS datasets, combining 2×2 multi-agent auditing, manual verification, and controlled replay experiments.

    The paper addresses this problem by constructing a real-world application dataset, conducting multi-agent code audits with human verification, summarizing failure modes, and performing controlled replay experiments.

    Application collection and filtering process

    1. Potential application discovery: Leveraged feature markers left by AI coding agents to search the GitHub Code Search API, selecting Claude Code (configuration directory .claude/) representing command-line agents and Lovable (metadata markers) representing development platforms, initially filtering 74,800 repositories.
    2. High-quality application filtering: Filtered out non-tool repositories, requiring README of at least 100 characters, repository size between 10 and 500,000 KB, lines of code between 500 and 1M, at least 5 files, and commit counts between 10 and 5,000, retaining 38,078 repositories.
    3. AI-dominant attribute determination: Required the first commit to be AI-generated, and identified AI commits via attribution markers in commit messages, requiring both the AI commit ratio and AI-written code line ratio to reach or exceed 90%, ultimately obtaining 9,041 applications to form VIBEAPPS.

    Multi-agent collaborative audit and verification

    • 2×2 audit architecture: For 200 publicly deployed web applications, two agent frameworks (Claude Code with Claude Sonnet 4.6, GitHub Copilot with GPT-5.3-Codex) were used, each combined with two security skill libraries (OpenAI security-best-practices skills and Antigravity Awesome Skills), with a top-level scheduling master agent automatically invoking framework-specific sub-agents (e.g., React, Node.js) based on the technology stack.
    • Deduplication and dynamic verification: Four independent reports were normalized and merged into 2,125 candidates; verification agents traced taint paths and sent harmless probe PoCs to deployed sites, retaining 1,287 candidates.
    • Dual human adjudication: Two security researchers independently reviewed source code and live environments, classifying a vulnerability only when both confirmed exploitability (Cohen's κ = 0.87), and rated severity according to OWASP risk rating standards, producing VIBEVULNS with 1,186 vulnerabilities.

    Defect categorization and controlled replay design

    • Three defect types and eight failure modes: Vulnerabilities are categorized into memory defects (incomplete change propagation, forgotten obligations), goal defects (demo-oriented design, side effects of functional fixes), and knowledge defects (unsafe instructions, hallucinations, unexplicitly stated security rules, reliance on user security actions), mapped to four development stages.
    • OFAT replay experiments: For 70 stratified sampled vulnerability targets, tasks were replayed from rolled-back pre-conditions, using a one-factor-at-a-time (OFAT) design to evaluate the impact of hardened harnesses, strong vs. weak base models (GPT-5.6-Luna, GPT-5.6-Sol), and four prompt strategy types, with each configuration repeated 3 times.
  4. What experiments did the paper conduct?

    91.00% of deployed applications contain vulnerabilities; in replay, the production prompt and hardened harness are most effective, while the professional prompt instead worsens outcomes.

    The paper conducts systematic experiments on the ecosystem landscape, vulnerability prevalence and severity, root cause analysis, and mitigation conditions of real-world vibe-coded applications.

    Experimental Setup

    • Models under test: The audit phase uses Claude Sonnet 4.6 (Claude Code) and GPT-5.3-Codex (GitHub Copilot); replay experiments use GPT-5.6-Terra (baseline), GPT-5.6-Luna, and GPT-5.6-Sol.
    • Dataset and scale: Includes VIBEAPPS with 9,041 open-source applications; samples 200 publicly accessible deployed web applications to build VIBEVULNS with 1,186 vulnerabilities; the validation framework uses OWASP Juice Shop; replay experiments use 70 stratified sampled vulnerabilities.
    • Evaluation metrics: Total vulnerabilities, proportion of affected repositories (Repo), vulnerabilities per repository, vulnerability density per thousand lines of code (VulnDensity/kLoC), vulnerability reintroduction rate, relative change vs. baseline (Δ vs. Base), Cohen's κ, Recall.
    • Review and judgment method: The audit phase combines 4 multi-agent reports, automated PoC probing, and manual review by two security experts; replay experiments determine whether vulnerabilities reappear through manual inspection of generated code artifacts and execution traces.
    • Sample size and repetitions: Deep audit of 200 deployed applications consumed 2.85 billion tokens and 128.47 hours of compute; replay experiments include 70 targets × 8 configurations × 3 repetitions, totaling 1,680 controlled runs.
    • Framework miss detection assessment: Double-blind independent audit of 20 repositories showed a miss rate below 15% (95% CI, Rule of Three); framework recall on the Juice Shop benchmark was 95.70%.

    Main Results

    The table below presents vulnerability reintroduction rates under 8 OFAT configurations in the controlled replay experiment (from Table 4):

    Swipe horizontally to read the table

    ConfigurationMemory-deficit reintroduction rateTarget-deficit reintroduction rateKnowledge-deficit reintroduction rateOverall reintroduction rateRelative change vs. baseline (Δ vs. Base)
    Baseline (GPT-5.6-Terra)19.6% (10/51)37.7% (26/69)20.0% (18/90)25.7% (54/210)0.0 pp
    Hardened harness13.7% (7/51)17.4% (12/69)6.7% (6/90)11.9% (25/210)−13.8 pp
    Luna (GPT-5.6-Luna)29.4% (15/51)42.0% (29/69)43.3% (39/90)39.5% (83/210)+13.8 pp
    Sol (GPT-5.6-Sol)23.5% (12/51)29.0% (20/69)25.6% (23/90)26.2% (55/210)+0.5 pp
    Polished prompt15.7% (8/51)27.5% (19/69)23.3% (21/90)22.9% (48/210)−2.9 pp
    Production prompt7.8% (4/51)17.4% (12/69)7.8% (7/90)11.0% (23/210)−14.8 pp
    Professional prompt39.2% (20/51)55.1% (38/69)42.2% (38/90)45.7% (96/210)+20.0 pp
    Self-check prompt17.6% (9/51)31.9% (22/69)21.1% (19/90)23.8% (50/210)−1.9 pp
    • Mitigation effect of prompts and harness: The authors note that the production prompt (reducing by 14.8 percentage points) and the hardened harness (reducing by 13.8 percentage points) are the most effective, indicating that explicitly stating robustness standards at the task level and adding reusable security checks at the workflow level both reduce vulnerabilities.
    • Negative effect of the professional prompt: The professional prompt instead increased the reintroduction rate by 20.0 percentage points; through trajectory observation, the authors note that detailed technical instructions caused the agent to rigidly execute user requirements, compressing its room for security judgment.
    • Diminishing returns of model capability scaling: Upgrading from Luna to Terra reduced the vulnerability reintroduction rate by 13.8 percentage points, but upgrading to Sol instead increased it slightly by 0.5 percentage points; the authors argue that simply scaling model capability is not a reliable path to improved security.

    Vulnerability Distribution and Component Analysis of Real Deployed Applications

    • Test content: Statistics on the distribution of 200 deployed applications across OWASP categories and code components (from Table 2).
    • Experimental results: 91.00% of applications contain at least one vulnerability, and 65.77% reach Critical or High severity. Broken Access Control (339 instances, 28.58%, affecting 64.00% of applications), Injection (199 instances, 16.78%, affecting 54.00% of applications), and Authentication Failures (176 instances, 14.84%, affecting 51.50% of applications) rank in the top three; backend code concentrates 52.70% of vulnerabilities, frontend accounts for 35.92%, and configuration for 11.38%.
    • Authors' interpretation: The authors argue that vulnerabilities are highly concentrated in authentication and input validation at trust boundaries, and that server-side logic is the main weak link.

    Root Cause Deficit and Failure Mode Analysis

    • Test content: Classification statistics of 1,186 vulnerabilities across three deficit types and eight failure modes (from Figure 3).
    • Experimental results: Knowledge deficits account for the largest share (752 instances, 63.4%), of which unstated security rules reach 658 instances (55.5%); target deficits account for 274 instances (23.1%), of which demo-oriented design accounts for 174 instances (14.7%); memory deficits account for 160 instances (13.5%), of which incomplete change propagation accounts for 110 instances (9.3%).
    • Authors' interpretation: The authors note that knowledge gaps and undeclared rules are the main source, while bypassing security checks to get functionality working during iteration is a typical manifestation of target deficits.

    Security Awareness and Execution Gap Analysis

    • Test content: Manual inspection of agent execution traces for 434 vulnerability-triggering runs in the replay experiment (from Section 7).
    • Experimental results: In 90 triggering runs (20.7%), the agent explicitly identified and pointed out the security risk in its trajectory, yet still generated and delivered insecure code, substituting warnings, code comments, or fix suggestions.
    • Authors' interpretation: The authors note that agents exhibit a cognition-action gap; possessing security knowledge alone is insufficient to guarantee security, and enforcement blocking mechanisms must be introduced.

    Other Ablations and Analyses

    • Repository size and vulnerability density: Small applications have a vulnerability density of 0.85/kLoC, which drops to 0.22/kLoC for xLarge applications, but the average number of vulnerabilities rises from 2.13 to 12.38 (from Table 1).
    • Development span and commit intensity: Projects completed within 1 day have a median commit density of 316.41 per day, which drops to 0.58 per day for projects spanning over 90 days (from Section 4).
    • Application category distribution: Web applications account for 96.17% (8,695), games account for 1.08% (98), and the reachability rate of deployment links is 11.32% (from Figure 1 and Section 4).
    • Repeat-run stochasticity: Of 560 vulnerability-configuration combinations, 123 (22.0%) had inconsistent results across the 3 repetitions (from Section 7).
    • Vulnerability persistence: 35 vulnerabilities were triggered under at least 3 of the 8 configurations, and no configuration eliminated all target vulnerabilities (from Section 7).
  5. What are some points that can be further explored?

    The authors point out limitations such as overlapping open-source samples, fingerprints, and audit models; the experiments did not cover non-Web categories, closed-source applications, and hallucination replay.

    This section organizes the limitations explicitly noted by the authors, future directions, and the objective scope covered by the experiments.

    Limitations and Future Directions Noted by the Authors

    • Representativeness bias of agent fingerprint identification: The paper relies on specific markers from Claude Code and Lovable to filter applications; the authors note in Section 8 that the findings may not directly generalize to the entire vibe-coding ecosystem (from Section 8 Limitations).
    • Scope limitation of open-source hosting platforms: The dataset is entirely collected from GitHub open-source projects; the authors note in Section 8 that the conclusions may apply only to open-source public application environments (from Section 8 Limitations).
    • False positive and false negative risks of the vulnerability mining framework: Although manual review and Juice Shop benchmark validation were conducted, the authors note in Section 8 that the multi-agent detection framework may still have false positives and false negatives (from Section 8 Limitations).
    • Auditing model overlap bias: Due to its widespread use, Claude Code is simultaneously used as the tool to audit applications generated by itself; the authors note in Section 8 that this may introduce potential bias (from Section 8 Limitations).
    • Model alignment intervention direction: Regarding the phenomenon that model capability scaling does not bring out-of-the-box security, the authors note in Section 8 that future research needs to design targeted interventions at the alignment stage to maintain safety constraints under task completion pressure (from Section 8 Takeaways).

    Experimental Coverage Scope

    • Application types focused on web applications: The actual vulnerability audit and replay experiments cover only 200 publicly deployed web applications, not covering categories such as games, mobile, and CLI totaling approximately 3.8% (from Section 4).
    • Replay experiments exclude hallucination deficits: The controlled replay test sampled 70 targets, covering 7 failure modes, but excluded hallucination types that are difficult to reproduce stably (from Section 7).
    • Code samples limited to public open-source repositories: Both VIBEAPPS and VIBEVULNS originate from public GitHub projects; the paper does not test closed-source enterprise internal applications (from Section 3.1).
    • Audit tools limited to two frameworks: Code auditing uses only Claude Code and GitHub Copilot; the paper does not evaluate other commercial code audit tools (from Section 3.2).
    • Single hardening skill coverage: The harness protection test introduces only the single security-hardening skill; the paper does not evaluate other runtime protection plugins (from Section 7).
  6. Summarize the main content of the paper

    The paper comprehensively reveals the high-risk status quo and causes of deploying vibe-coded applications, and points out that full-pipeline defenses are superior to mere model scaling.
    1. Research positioning and core question: This paper targets the vibe coding paradigm where users delegate AI agents to build and deploy software from scratch primarily through natural language instructions, conducting the first systematic empirical study on the security posture, vulnerability causes, and mitigation conditions of real-world publicly deployed applications.
    2. Dataset and multi-agent audit: The authors filtered applications from GitHub where the AI-written proportion is at least 90%, constructing VIBEAPPS with 9,041 applications, from which 200 publicly deployed web applications were randomly sampled. Through a 2×2 multi-agent collaborative audit with dual human review, they established the VIBEVULNS dataset containing 1,186 verified vulnerabilities.
    3. Security posture and distribution characteristics: Among audited deployed applications, 91.00% contain at least one vulnerability, averaging 6.52 vulnerabilities per application; 65.77% of vulnerabilities are rated Critical or High, and Broken Access Control (28.58%), Injection (16.78%), and Authentication Failures (14.84%) together account for 60.20%, with backend code comprising 52.70% of all vulnerabilities.
    4. Systematic causes and eight failure modes: Vulnerability root causes are attributed to knowledge defects (63.4%), goal defects (23.1%), and memory defects (13.5%), among which unexplicitly stated security rules account for 55.5% and demo-oriented design accounts for 14.7%, reflecting inherent limitations of agents such as feature-first prioritization and context forgetting.
    5. Mitigation conditions and cognitive-action gap: In controlled replays of 70 vulnerabilities, the production prompt (reproduction rate 11.0%) and hardened harness (reproduction rate 11.9%) show the best mitigation, while the professional prompt conversely increases the reproduction rate to 45.7%; upgrading the base model from Terra to Sol shows no improvement (25.7% to 26.2%); in 20.7% of vulnerability-triggering runs, agents explicitly identify security risks yet still deliver insecure code.
    6. Author conclusions and governance implications: The authors argue that simply improving base model capabilities cannot eliminate security risks; vibe coding must be treated as a full-pipeline security issue, with policy-as-code and mandatory blocking mechanisms embedded in the harness, and users should avoid over-intervening in technical details and conduct dedicated security self-checks before deployment.
Read originalarxiv.org