跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2607.00107 (cs)
[提交于 2026年6月30日 (v1),最后修订于 2026年11月24日 (此版本, v4)]

标题:The Illusion of Safety: Multi-Tier Verification of AI vs. Human C++ Code

作者:Saif Mahmud, Fadul Sikder, Yuede Ji, Haotian Zhang, Yu Lei
查看论文《The Illusion of Safety: Multi-Tier Verification of AI vs. Human C++ Code》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:As large language models (LLMs) are increasingly deployed for systems programming, their ability to generate secure C++ code remains a critical concern. Yet most security evaluations of AI-generated code rely on static analysis alone, which flags warnings without confirming runtime violations or reasoning about untested paths. This study investigates whether C++ code generated by open-weight LLMs is measurably less safe than human-written code, and whether common verification tools agree on the risk. We introduce VULBENCH-CPP, a benchmark of 8,918 C++ programs from three open-weight LLMs (Gemma 3 27B IT, LLaMA 3.3 70B Instruct, Qwen 2.5 Coder 32B Instruct) and human authors across 851 competitive-programming tasks. Each program is annotated by four verification tiers: functional testing, static analysis (cppcheck, clang-tidy), dynamic analysis (ASan/UBSan), and bounded model checking (ESBMC). Under static analysis the two look equally safe, but this is misleading. Accounting for the correlation among solutions to a shared task, we find that code from these models is roughly twice as likely as human code to trigger a confirmed runtime violation, even after controlling for code length and test pass-rate. Furthermore, bounded model checking disagrees with the sanitizers in direc- tion, flagging human code more often among the programs it can decide. The overall results suggest that different verification tiers flag different programs, and no single tier is sufficient. We release the benchmark, harness, and annotated results
主题: 软件工程 (cs.SE)
引用方式: arXiv:2607.00107 [cs.SE]
  (或者 arXiv:2607.00107v4 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2607.00107

提交历史

来自:Saif Uddin Mahmud
[v1] 2026年6月30日 星期二 19:48:35 UTC (93 KB)
[v2] 2026年7月5日 星期日 21:34:36 UTC (80 KB)
[v3] 2026年8月2日 星期日 05:30:57 UTC (81 KB)
[v4] 2026年11月24日 星期二 21:45:47 UTC (110 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站