论文标题

探索Python和JavaScript开源社区的安全意识

Exploring the Security Awareness of the Python and JavaScript Open Source Communities

论文作者

Antal, Gábor, Keleti, Márton, Hegedűs, Péter

论文摘要

软件安全无疑是当今软件工程的主要问题。尽管对安全问题的认识水平通常很高,但实际的经验表明,在现实中始终可以正确解决预防措施和对可能问题的反应。通过分析开源社区中的大量投入,我们可以对开发人员减轻的漏洞进行分类,并研究其分布,解决时间等,以学习和改善安全管理流程和实践。在软件遗产图数据集的帮助下,我们研究了从公共存储库中收集的两种最受欢迎​​的脚本语言(Python和JavaScript)的提交,并确定了那些减轻代码中某些脆弱性的项目(即漏洞分辨率分辨率提交)。一方面,我们确定了提交消息中提到的漏洞(根据CWE组)的类型,并比较了两个社区中的数字。另一方面,我们研究了漏洞的发布日期与提交中对其的第一个引用之间的平均时间。我们发现,这两个社区减轻的漏洞类型中存在一个很大的交集,但是大多数普遍的脆弱性是针对语言的。此外,JavaScript和Python社区对总体上出现安全性漏洞的反应都没有反应,而对于某些CWE组,只有几个例外。

Software security is undoubtedly a major concern in today's software engineering. Although the level of awareness of security issues is often high, practical experiences show that neither preventive actions nor reactions to possible issues are always addressed properly in reality. By analyzing large quantities of commits in the open-source communities, we can categorize the vulnerabilities mitigated by the developers and study their distribution, resolution time, etc. to learn and improve security management processes and practices. With the help of the Software Heritage Graph Dataset, we investigated the commits of two of the most popular script languages -- Python and JavaScript -- projects collected from public repositories and identified those that mitigate a certain vulnerability in the code (i.e. vulnerability resolution commits). On the one hand, we identified the types of vulnerabilities (in terms of CWE groups) referred to in commit messages and compared their numbers within the two communities. On the other hand, we examined the average time elapsing between the publish date of a vulnerability and the first reference to it in a commit. We found that there is a large intersection in the vulnerability types mitigated by the two communities, but most prevalent vulnerabilities are specific to language. Moreover, neither the JavaScript nor the Python community reacts very fast to appearing security vulnerabilities in general with only a couple of exceptions for certain CWE groups.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源