[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-273361-105":59,"doc-detail-273361-en":135},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":128,"head_meta":130,"extra_data":132,"updated_unix":134},105,"en","is-vibe-coding-safe-benchmarking-vulnerability-of-agent-generated-code-in-real-world-tasks","Is Vibe Coding Safe? - Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks","","Vibe coding is a software development approach where engineers prompt an LLM agent to complete complex coding tasks with minimal supervision. Despite growing adoption, production safety remains unclear. To address this, SUSVIBES is introduced: a benchmark of 186 real-world, feature-request tasks from open-source projects with human-fixed vulnerable implementations. Results across 12 coding-agent settings show consistently poor security performance, even when functional correctness is high. Preliminary vulnerability-hint strategies do not remove the underlying security failures.",{"@graph":69,"@context":127},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/is-vibe-coding-safe-benchmarking-vulnerability-of-agent-generated-code-in-real-world-tasks/273361/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/is-vibe-coding-safe-benchmarking-vulnerability-of-agent-generated-code-in-real-world-tasks/273361.png","ImageObject",300,407,{"name":92,"@type":93},"Logic","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-17","2026-09-15",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",15,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119,123],{"name":110,"@type":111,"acceptedAnswer":112},"What does vibe coding involve, and why is its safety uncertain?","Question",{"text":113,"@type":114},"Vibe coding prompts an LLM agent to complete coding tasks from natural-language goals with little supervision. Its safety is uncertain because the generated code may contain security vulnerabilities that users may not detect.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What is SUSVIBES and what does it measure?",{"text":118,"@type":114},"SUSVIBES is a benchmark with 186 realistic feature-request software engineering tasks derived from real-world open-source projects. It measures how vulnerable the produced patches are in security-sensitive scenarios using separate functional and security tests.",{"name":120,"@type":111,"acceptedAnswer":121},"How do coding agents perform on SUSVIBES?",{"text":122,"@type":114},"Across 12 widely used coding-agent settings with frontier models, agents perform poorly on software security. Even when solutions can be functionally correct, only a small fraction are secure.",{"name":124,"@type":111,"acceptedAnswer":125},"Can vulnerability-hint strategies improve security outcomes?",{"text":126,"@type":114},"Experiments show that preliminary security strategies, such as augmenting feature requests with vulnerability hints, cannot mitigate the security issues in a meaningful way.","https://schema.org",{"og:url":83,"og:type":129,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":131,"canonical":83},"index,follow",{"doc_id":133,"site_id":62},273361,1789471068,{"code":4,"msg":5,"data":136},{"doc_id":133,"user_id":137,"nickname":92,"user_avatar":138,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":139,"file_id":140,"file_url":141,"file_type":142,"file_size":143,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":144,"language":145,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":146,"faqs":147,"seo_title":148,"seo_description":67,"update_tm":134,"read_time":26,"preview_page_count":4},1099513958762,"https://ap-avatar.wpscdn.com/avatar/1000023916a998db790?x-image-process=image/resize,m_fixed,w_180,h_180&k=1784791008015729253","Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks  \nSongwen Zhao 1 2 Danqing Wang 1 Kexun Zhang 1 Jiaxuan Luo 3 Zhuo Li 4 Lei Li 1  \narXiv : 25 12 .03262v 3 [cs .SE] 2 1 Aug 2026  \nAbstract  \nVibe 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.  \nFurther 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](https://github.com/LeiLiLab/susvibes. The)[. The](https://github.com/LeiLiLab/susvibes. The)  \nleaderboard is at [https://leililab.github.io/](https://leililab.github.io/)[ ](https://leililab.github.io/)susvibes-leaderboard.  \n1. Introduction  \nVibe coding is a new programming paradigm in which users use LLMs to produce software primarily by describing goals in natural language with minimal review of the generated code (Fawzy et al., 2025 ; Sarkar & Drosos, 2025) . It has  \n1Carnegie Mellon University, Language Technologies Institute 2 Columbia University 3Johns Hopkins University 4HydroX AI. Correspondence to: Songwen Zhao \u003C[sz3296@columbia.edu](sz3296@columbia.edu) >, Danqing Wang \u003C[danqingw@cs.cmu.edu](danqingw@cs.cmu.edu) >.  \nProceedings of the 43 rd International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026 . Copyright 2026 by the author(s) .  \nFigure 1. SUSVIBES: A feature-request task consists of a task description, the codebase, and an execution environment. The vibe coding agent is asked to add the new feature to the given codebase. The agent can interact with the environment to get feedback andrefine its solution patch. The solution patch will be tested with both human-written functional and security tests. As the example shows, the solution patch cannot pass the security tests without check unsafe opts.  \nbeen increasingly adopted, as indicated by the popularity of AI-based integrated development environments like Cursor and command-line interfaces like Claude Code. A recent survey shows that 75% of respondents are using vibe coding, among which 90% find it satisfactory (Perry, 2025) . Another survey suggests that beginner programmers with less than a year’s experience are much more likely to be vibe coding optimists (WIRED, 2025) . Frontier AI companies, such as Anthropic, admittedly use “vibe coding in prod[uction]”(Anthropic, 2024) . While vibe coding may have increased engineer productivity, the security of agent-generated code remains questionable, especially when vibe coding users may not have the ability or intent to examine it carefully. Various sources report security incidents such as API keys being exposed in plaintext and authentication vulnerabilities, some of which have already been exploited by malicious parties (Archibald & Kaplan, 2025) .  \nTraditional competitive coding and NL2Code tasks, such as HumanEval (Chen et al., 2021) and MBPP (Austin et al., 2021), focus more on implementing an isolated function based on a clear description of functionality. Instead, vibe coding focuses more on real-world s","cbCaipHuFccgQZy4","https://ap.wps.com/l/cbCaipHuFccgQZy4","pdf",1507969,24,"English","# Abstract\n## Introduction\n## SUSVIBES Benchmark\n## Task Construction and Verification","[{\"question\":\"What does vibe coding involve, and why is its safety uncertain?\",\"answer\":\"Vibe coding prompts an LLM agent to complete coding tasks from natural-language goals with little supervision. Its safety is uncertain because the generated code may contain security vulnerabilities that users may not detect.\"},{\"question\":\"What is SUSVIBES and what does it measure?\",\"answer\":\"SUSVIBES is a benchmark with 186 realistic feature-request software engineering tasks derived from real-world open-source projects. It measures how vulnerable the produced patches are in security-sensitive scenarios using separate functional and security tests.\"},{\"question\":\"How do coding agents perform on SUSVIBES?\",\"answer\":\"Across 12 widely used coding-agent settings with frontier models, agents perform poorly on software security. Even when solutions can be functionally correct, only a small fraction are secure.\"},{\"question\":\"Can vulnerability-hint strategies improve security outcomes?\",\"answer\":\"Experiments show that preliminary security strategies, such as augmenting feature requests with vulnerability hints, cannot mitigate the security issues in a meaningful way.\"}]","Is Vibe Coding Safe? - Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks | PDF"]