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

开发者会在何处记录他们的安全相关顾虑?

Where do developers admit their security-related concerns?

Moritz Mock, Thomas Forrer, Barbara Russo

AI总结:

本研究针对开发者安全顾虑记录分散易过时的问题,通过分析4个工业级开源项目的2559个文档实例,明确了开发者偏好的记录渠道及问题搁置规律,并开发了提醒流水线以提升安全意识。

摘要:

开发者采用多种方式记录其代码的安全顾虑。由于存在这些不同的记录渠道,他们可能会忘记信息的存储位置,或者其他人员可能无从知晓这些信息,导致其长期无人维护,即便不至于毫无用处,也会变得过时。在本研究中,我们分析了工业环境下4个大规模真实开源项目的不同代码文档来源,以了解开发者会在何处报告安全顾虑。具体而言,我们人工检查了取自源代码注释、提交消息和问题追踪器的2559个实例。总体而言,我们发现开发者更倾向于在源代码注释和问题追踪器中记录安全顾虑。我们还发现,注释中提及的问题搁置越久,就越有可能一直得不到修复。因此,为了提升开发者的相关意识,我们构建了一个流水线(pipeline),用于在涉及安全问题的注释被新增或移除时提醒开发者。

英文摘要:

Developers use different means to document the security concerns of their code. Because of all of these opportunities, they may forget where the information is stored, or others may not be aware of it, and leave it unmaintained for so long that it becomes obsolete, if not useless. In this work, we analyzed different sources of code documentation from four large-scale, real-world, open-source projects in an industrial setting to understand where developers report their security concerns. In particular, we manually inspected 2.559 instances taken from source code comments, commit messages, and issue trackers. Overall, we found that developers prefer to document security concerns in source code comments and issue trackers. We also found that the longer the comments stay unfixed, the more likely they remain unfixed. Thus, to create awareness among developers, we implemented a pipeline to remind them about the introduction or removal of comments pointing to a security problem.

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

↑