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

基于过程的脆弱性指标:重新引入代码更改:一个探索性案例研究

Process-based Indicators of Vulnerability Re-Introducing Code Changes: An Exploratory Case Study

Northern Illinois University(北伊利诺伊大学);Loyola University Chicago(芝加哥洛约拉大学)

Samiha Shimmi, Nicholas M. Synovic, Mona Rahimi, George K. Thiruvathukal

AI总结:

本研究通过分析提交级别安全修复与过程度量,揭示了漏洞重新引入与累积开发活动及社会技术因素的关系。

摘要:

软件漏洞在修复后往往持续存在或重新出现,揭示了代码演变与社会技术因素之间的复杂相互作用。尽管源代码度量提供了有用的漏洞指标,但软件工程过程度量可以揭示导致其引入的模式。然而,很少有研究探讨过程度量是否能揭示随时间推移的高风险开发活动——这些见解对于预测和缓解软件漏洞至关重要。本研究强调过程度量与代码更改在理解和缓解漏洞重新引入中的关键作用。我们超越了文件级预测,转而分析安全修复的提交级别,不仅关注单一修复是否引入漏洞,还关注通过一系列更改演变和重新出现的漏洞的长期序列。我们的方法强调,重新引入很少是单一孤立行为的结果,而是源于累积的开发活动和社会技术条件。为了支持这一分析,我们对ImageMagick项目进行了案例研究,通过关联纵向的过程度量,如总负责人因子、问题密度和问题腐化,与漏洞重新引入活动相关联,涵盖了76次重新引入的漏洞实例。我们的发现表明,重新引入往往与增加的问题腐化和波动的问题密度相吻合,反映了短期的问题管理效率低下和团队响应性波动。这些观察为结合过程和代码度量来预测高风险修复并加强软件安全的更广泛研究奠定了基础。

英文摘要:

Software vulnerabilities often persist or re-emerge even after being fixed, revealing the complex interplay between code evolution and socio-technical factors. While source code metrics provide useful indicators of vulnerabilities, software engineering process metrics can uncover patterns that lead to their introduction. Yet few studies have explored whether process metrics can reveal risky development activities over time -- insights that are essential for anticipating and mitigating software vulnerabilities. This work highlights the critical role of process metrics along with code changes in understanding and mitigating vulnerability reintroduction. We move beyond file-level prediction and instead analyze security fixes at the commit level, focusing not only on whether a single fix introduces a vulnerability but also on the longer sequences of changes through which vulnerabilities evolve and re-emerge. Our approach emphasizes that reintroduction is rarely the result of one isolated action, but emerges from cumulative development activities and socio-technical conditions. To support this analysis, we conducted a case study on the ImageMagick project by correlating longitudinal process metrics such as bus factor, issue density, and issue spoilage with vulnerability reintroduction activities, encompassing 76 instances of reintroduced vulnerabilities. Our findings show that reintroductions often align with increased issue spoilage and fluctuating issue density, reflecting short-term inefficiencies in issue management and team responsiveness. These observations provide a foundation for broader studies that combine process and code metrics to predict risky fixes and strengthen software security.

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

↑