Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code A new benchmark called SUSVIBES, built from 186 real-world open-source feature-request tasks where human programmers committed vulnerable implementations, found that all 12 coding-agent settings tested with frontier models produced insecure code. In the headline result, 57% of solutions from SWE-Agent with Claude 4 Sonnet were functionally correct but only 11.8% were secure, and the authors report that adding vulnerability hints to the feature request did not mitigate the security problems. The findings, posted to arXiv on 2 Dec 2025 and revised through 21 Sep 2026, raise concerns about deploying vibe-coded software in security-sensitive applications. Computer Science Software Engineering Submitted on 2 Dec 2025 v1 https://arxiv.org/abs/2512.03262v1 , last revised 21 Sep 2026 this version, v4 Title:Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks View PDF https://arxiv.org/pdf/2512.03262 HTML experimental https://arxiv.org/html/2512.03262v4 Abstract: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 this https URL https://github.com/LeiLiLab/susvibes . The leaderboard is at this https URL https://leililab.github.io/susvibes-leaderboard . Submission history From: Danqing Wang view email https://arxiv.org/show-email/d04c9f3c/2512.03262 Tue, 2 Dec 2025 22:11:56 UTC 1,559 KB \ v1\ https://arxiv.org/abs/2512.03262v1 Mon, 16 Feb 2026 22:50:33 UTC 1,783 KB \ v2\ https://arxiv.org/abs/2512.03262v2 Fri, 21 Aug 2026 05:35:16 UTC 1,132 KB \ v3\ https://arxiv.org/abs/2512.03262v3 v4 Mon, 21 Sep 2026 16:10:00 UTC 1,132 KB Additional Features References & Citations Loading... Bibliographic and Citation Tools Bibliographic Explorer What is the Explorer? https://info.arxiv.org/labs/showcase.html arxiv-bibliographic-explorer Connected Papers What is Connected Papers? https://www.connectedpapers.com/about Litmaps What is Litmaps? https://www.litmaps.co/ scite Smart Citations What are Smart Citations? https://www.scite.ai/ Code, Data and Media Associated with this Article alphaXiv What is alphaXiv? https://alphaxiv.org/ CatalyzeX Code Finder for Papers What is CatalyzeX? https://www.catalyzex.com DagsHub What is DagsHub? https://dagshub.com/ Gotit.pub What is GotitPub? http://gotit.pub/faq Hugging Face What is Huggingface? https://huggingface.co/huggingface ScienceCast What is ScienceCast? https://sciencecast.org/welcome Demos Recommenders and Search Tools Influence Flower What are Influence Flowers? https://influencemap.cmlab.dev/ CORE Recommender What is CORE? https://core.ac.uk/services/recommender arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs https://info.arxiv.org/labs/index.html .