最新资讯
dev.to 如何在专用 GPU 服务器上用 OpenAI 兼容 API 部署 LLM dev.to 审计 153 份 Claude Code 与 Codex 会话记录:User-Agent 与 URL 中的邮箱泄露 dev.to 你的 Agent Harness 应具备的 17 项能力 dev.to 离线 AI 记忆中 0.8 余弦阈值为何失效 dev.to Kimi K3.1 Pro 开放权重:自托管 2.8T 模型前的开发者清单 dev.to 如何通过工具调用引导模型以提升 Harness 质量 dev.to AI Agent 审计轨迹不等于对话记录 dev.to 精简 MCP server 工具数量:更少工具、更小影响面,双重收益 dev.to 为什么 git checkout 无法撤销 AI 编码 agent 的改动? wechat AI短剧门槛降降降!实测即梦短剧工作室:剧本分镜预演一条龙,伙伴计划长期护航 dev.to 让模型改写文档前,先量化事实保真度 dev.to 回放 153 个 Claude Code 与 Codex 会话,审计 Agent 的生产影响范围
多元动态
登录 注册
AI编码 arxiv.org ·

Vibe 编程安全吗?真实世界任务中智能体生成代码的漏洞基准测试

原文 我的收藏

论文提出 SUSVIBES 基准,包含 186 个来自真实开源项目的功能请求任务,这些任务的人类实现曾存在漏洞。作者评测了 12 种常用编码智能体配置:以 SWE-Agent 搭配 Claude 4 Sonnet 为例,57% 的方案功能正确,但仅 11.8% 安全。进一步实验显示,在需求中加入漏洞提示等初步安全策略无法缓解该问题。作者据此对 vibe coding 在安全敏感场景的广泛采用提出警示,并公开了代码、数据集与排行榜。

AI推荐理由 arXiv 论文(cs.SE/cs.CL),提出 SUSVIBES 基准:186 个来自真实开源项目的 feature-request 任务,人类程序员曾提交过有漏洞的实现;评测 12 种编码 agent 配置。摘要给出具体数据:SWE-Agent + Claude 4 Sonnet 方案 57% 功能正确但仅 11.8% 安全,且加入漏洞提示等初步安全策略无法缓解。新信息明确、可验证(代码与数据集、排行榜链接),对 Agent 生成代码的生产部署安全有直接参考价值;局限是仅摘要层面,未提供各 agent 的完整对比细节。

82

正文

Computer Science > Software Engineering arXiv:2512.03262 (cs) [Submitted on 2 Dec 2025 (v1), last revised 21 Sep 2026 (this version, v4)] Title:Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks Authors:Songwen Zhao, Danqing Wang, Kexun Zhang, Jiaxuan Luo, Zhuo Li, Lei Li View a PDF of the paper titled Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks, by Songwen Zhao and 5 other authors View PDF HTML (experimental) 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. The leaderboard is at this https URL. Comments: Subjects: Software Engineering (cs.SE); Computation and Language (cs.CL) Cite as: arXiv:2512.03262 [cs.SE] (or arXiv:2512.03262v4 [cs.SE] for this version) https://doi.org/10.48550/arXiv.2512.03262 Focus to learn more arXiv-issued DOI via DataCite Submission history From: Danqing Wang [view email] [v1] Tue, 2 Dec 2025 22:11:56 UTC (1,559 KB) [v2] Mon, 16 Feb 2026 22:50:33 UTC (1,783 KB) [v3] Fri, 21 Aug 2026 05:35:16 UTC (1,132 KB) [v4] Mon, 21 Sep 2026 16:10:00 UTC (1,132 KB) Full-text links: Access Paper: View a PDF of the paper titled Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks, by Songwen Zhao and 5 other authors View PDF HTML (experimental) TeX Source view license Current browse context: cs.SE new | recent | 2025-12 Change to browse by: cs cs.CL References & Citations NASA ADS Google Scholar Semantic Scholar export BibTeX citation Loading... BibTeX formatted citation × loading... Data provided by: Bookmark Bibliographic Tools Bibliographic and Citation Tools Bibliographic Explorer Toggle Bibliographic Explorer (What is the Explorer?) Connected Papers Toggle Connected Papers (What is Connected Papers?) Litmaps Toggle Litmaps (What is Litmaps?) scite.ai Toggle scite Smart Citations (What are Smart Citations?) Code, Data, Media Code, Data and Media Associated with this Article alphaXiv Toggle alphaXiv (What is alphaXiv?) Links to Code Toggle CatalyzeX Code Finder for Papers (What is CatalyzeX?) DagsHub Toggle DagsHub (What is DagsHub?) GotitPub Toggle Gotit.pub (What is GotitPub?) Huggingface Toggle Hugging Face (What is Huggingface?) ScienceCast Toggle ScienceCast (What is ScienceCast?) Demos Demos Replicate Toggle Replicate (What is Replicate?) Spaces Toggle Hugging Face Spaces (What is Spaces?) Spaces Toggle TXYZ.AI (What is TXYZ.AI?) Related Papers Recommenders and Search Tools Link to Influence Flower Influence Flower (What are Influence Flowers?) Core recommender toggle CORE Recommender (What is CORE?) Author Venue Institution Topic About arXivLabs 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. Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容