mlsanityData to 7 Oct 2026

Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks

arXiv 2512.03262 ↗First posted 2 Dec 2025cs.SE cs.CLcited by 18

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Vibe coding is a new software development paradigm in which human engineers prompt a large language model (LLM) agent to complete complex coding tasks with little supervision. Although vibe coding is increasingly adopted, is the generated code really safe to deploy in production? To investigate this question, we propose SUSVIBES, a benchmark consisting of 186 feature-request software engineering tasks from real-world open-source projects, for which, human programmers committed vulnerable implementations. We evaluate 12 widely used coding agentic settings with frontier models on the benchmark. Disturbingly, all agents perform poorly in terms of software security. Although 57% of the solutions from SWE-Agent with Claude 4 Sonnet are functionally correct, only 11.8% are secure. Further experiments demonstrate that preliminary security strategies, such as augmenting the feature request with vulnerability hints, cannot mitigate these security issues. Our findings raise serious concerns about the widespread adoption of vibe coding, particularly in security-sensitive applications. The code and dataset are available at https://github.com/LeiLiLab/susvibes. The leaderboard is at https://leililab.github.io/susvibes-leaderboard.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 36 of its 68 references that are in the map. First posted on arXiv 2 Dec 2025.

Builds on

36 of 68 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks13 Jun
  2. 2025CVE-Bench: A Benchmark for AI Agents' Ability to Exploit Real-World Web Application Vulnerabilities21 Mar

Other references · 34

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  4. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  5. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  6. 2025Kimi K2: Open Agentic Intelligencecited by 523
  7. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
  8. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
  9. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
  10. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 255
  11. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
  12. 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
22 more
  1. 2024Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Modelscited by 156
  2. 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 133
  3. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 129
  4. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinementcited by 124
  5. 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scalingcited by 93
  6. 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Securitycited by 90
  7. 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 87
  8. 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 57
  9. 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generationcited by 55
  10. 2024Commit0: Library Generation from Scratchcited by 50
  11. 2025BaxBench: Can LLMs Generate Correct and Secure Backends?cited by 38
  12. 2025EnvBench: A Benchmark for Automated Environment Setupcited by 36
  13. 2023SALLM: Security Assessment of Generated Codecited by 35
  14. 2024ReposVul: A Repository-Level High-Quality Vulnerability Datasetcited by 35
  15. 2024Diversity Empowers Intelligence: Integrating Expertise of Software Engineering Agentscited by 35
  16. 2025Vibe Coding in Practice: Motivations, Challenges, and a Future Outlook -- a Grey Literature Reviewcited by 28
  17. 2025SoRFT: Issue Resolving with Subtask-oriented Reinforced Fine-Tuningcited by 27
  18. 2025Vibe coding: programming through conversation with artificial intelligencecited by 26
  19. 2025Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Computecited by 25
  20. 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Modelscited by 12
  21. 2025A.S.E: A Repository-Level Benchmark for Evaluating Security in AI-Generated Codecited by 12
  22. 2025SEAlign: Alignment Training for Software Engineering Agentcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 17.

18 papers.

Sort:

By area:

  1. 2025Confucius Code Agent: Scalable Agent Scaffolding for Real-World Codebasescited by 11
  2. 2026Risky-Bench: Probing Agentic Safety Risks under Real-World Deploymentcited by 8
  3. 2026MOSAIC-Bench: Measuring Compositional Vulnerability Induction in Coding Agentscited by 3
  4. 2026The Vibe-Check Protocol: Quantifying Cognitive Offloading in AI Programmingcited by 2
  5. 2026Chasing the Public Score: User Pressure and Evaluation Exploitation in Coding Agent Workflowscited by 2
  6. 2026Distributed Denial of Science: How Indirect Data Poisoning of AI Systems Can Industrialize Scientific Fraudcited by 2
  7. 2026Constitutional Spec-Driven Development: Enforcing Security by Construction in AI-Assisted Code Generationcited by 1
  8. 2026SEVRA-BENCH: Social Engineering of Vulnerabilities in Review Agentscited by 1
  9. 2026Setup Complete, Now You Are Compromised: Weaponizing Setup Instructions Against AI Coding Agentscited by 1
  10. 2026Human-Certified Module Repositories for the AI Agecited by 0
  11. 2026When RAG Chatbots Expose Their Backend: An Anonymized Case Study of Privacy and Security Risks in Patient-Facing Medical AIcited by 0
  12. 2026SWE-WebDevBench: Evaluating Coding Agent Application Platforms as Virtual Software Agenciescited by 0
6 more
  1. 2026Why Trust Your Agent? Empirical Security Gains from TRiSM-Guided Agentic Workflows in Healthcarecited by 0
  2. 2026Vibe Coding and Web Application Security: A Twin-Prompt Studycited by 0
  3. 2026Beyond the Payload: How User Invocation Shapes Coding Agent Vulnerability to Repository Poisoningcited by 0
  4. 2026A Lean and Spec-Driven AI-Assisted Software Development Lifecycle for Applied AI Education: The AI-SDLC Approachcited by 0
  5. 2026SecureVibe: Making Vibe Coding More Securecited by 0
  6. 2026AuraForge: Scaling Security Supervision for Training Coding Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025SecureVibeBench: Benchmarking Secure Vibe Coding of AI Agents via Reconstructing Vulnerability-Introducing Scenarios
  2. 2025Position: Vibe Coding Needs Vibe Reasoning: Improving Vibe Coding with Formal Verification
  3. 2025Vibe Coding: Toward an AI-Native Paradigm for Semantic and Intent-Driven Programming ↗
  4. 2025How Safe Are AI-Generated Patches? A Large-scale Study on Security Risks in LLM and Agentic Automated Program Repair on SWE-bench
  5. 2025When Developer Aid Becomes Security Debt: A Systematic Analysis of Insecure Behaviors in LLM Coding Agents
  6. 2026VIBEPASS: Can Vibe Coders Really Pass the Vibe Check?
  7. 2025A Survey of Vibe Coding with Large Language Models
  8. 2026SWE-chat: Coding Agent Interactions From Real Users in the Wild