arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.19965cs.SE
收藏

对与安全相关的AI生成拉取请求的洞察

Insights into Security-Related AI-Generated Pull Requests

Idaho State University(爱达荷州立大学);University of Massachusetts Dartmouth(马萨诸塞大学达特茅斯分校)

Md Fazle Rabbi, Asif K. Turzo, Arifa I. Champa, Minhaz F. Zibran

AI总结:

本文分析了33,000多个AI生成的拉取请求,发现675个与安全相关的提交,揭示了AI生成的拉取请求中常见的安全漏洞及审查结果,发现提交质量对接受度影响有限,扩展了拒绝分类。

摘要:

近年来,AI编码代理在协助人类开发者完成各种软件工程任务方面的贡献日益增加。然而,这种增长的AI辅助自主性引发了关于安全性和信任的问题。本文分析了超过33,000个AI生成的拉取请求(PR),并识别出675个由代理AI生成的安全相关提交。然后,我们重点研究了这些安全相关的PR,关注反复出现的安全弱点、审查结果和延迟、提交信息质量以及拒绝原因。结果表明,安全相关的AI PR引入了一小部分反复出现的弱点,如正则表达式效率低下、注入漏洞和路径遍历。许多有缺陷的贡献仍然被合并,而拒绝往往源于社交或过程因素,如不活跃或缺少测试覆盖。AI PR的提交信息质量对接受或延迟的影响有限,与之前研究中报告的人类PR不同。我们还通过添加独特的AI生成安全贡献类别扩展了现有的拒绝分类。这些发现为自主编码系统在安全软件开发中的优势和不足提供了新的见解。

英文摘要:

Recent years have experienced growing contributions of AI coding agents that assist human developers in various software engineering tasks. However, this growing AI-assisted autonomy raises questions about security and trust. In this paper, we analyze more than 33,000 AI-generated pull requests (PRs) and identify 675 security-related submissions made by agentic AIs. Then we examine the security-related PRs with a focus on recurring security weaknesses, review outcomes and latency, commit message quality, and rejection reasons. The results show that security-related AI PRs introduce a small set of recurring weaknesses such as regex inefficiencies, injection flaws, and path traversal. Many flawed contributions are still merged, while rejections often arise from social or process factors such as inactivity or missing test coverage. The commit message quality of AI PRs has a limited effect on acceptance or latency, in contrast to human PRs reported in previous studies. We also extend existing rejection taxonomies by adding categories that are unique to AI-generated security contributions. These findings offer new insights into the strengths and shortcomings of autonomous coding systems in secure software development.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑