arrow
Return

Security issues in python open-source software: a mining study from GitHub

delete2026-06-23
delete0
delete
OA
AI
S
Sabato Nocera *
S
Simone Romano
R
Rita Francese
G
Giuseppe Scanniello
DOI:10.1007/s10664-026-10890-8delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Security issues in Open-Source (OS) software systems emerge from everyday coding activities carried out by developers. As security best practices evolve toward “shift-left” paradigms—emphasizing early and continuous integration of security into the development process—understanding how these issues are introduced and fixed has become increasingly important. Our primary goal is to study the spread and evolution of security issues that lie in the source code of OS Python software systems at commit level. We conducted a mining study in which we quantitatively analyzed the commit histories of 361 OS Python software systems, whose repositories were publicly available on GitHub, for a total of 380,931 commits analyzed. To identify security issues at the commit level, we used SonarQube, a popular and widely used both in academic and industrial contexts Static Application Security Testing (SAST) tool. We observed that security issues are spread in OS Python software systems (on average, there are about 14 security issues per commit) and tend to survive for 11 days and 14 commits. Critical security issues, despite their high severity level, are the most spread and tend to survive the most. Furthermore, we noticed that 55 kinds of security issues—belonging to 62 OWASP Top 10 and CWE security classes—were introduced, and the top six (per number of introductions) are mostly critical and account for 77% of all introduced security issues. Python developers need to give utmost importance to security issues, particularly critical ones. To that end, we can suggest developers that use secure coding practices, automated tools, or even DevSecOps to limit/avoid the introduction of security issues into their source code or fix them as soon as possible.
Keywords:
Security
Security issues
Vulnerabilities
Static Application Security Testing
SAST
Mining software repositories
MSR
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Empirical Software Engineering cover
Empirical Software Engineering
IF:
3.6
Papers:
2.0K
Citations:
5.3K

Organization

D
department of computer science
Scholars:
796
Papers: 416
Citations: 0
Cited Papers

Cited Papers

On the adoption of static analysis for software security assessment–A case study of an open-source e-government project
err2021-12-01
err0
errOAAI
errAnh Nguyen-Duc; Manh Viet Do; Quan Luong Hong; Kiem Nguyen Khac; Anh Nguyen Quang
errShare
errSave
Why Do Developers Reject Refactorings in Open-Source Projects?
err2021-12-24
err4
PREAI
errPantiuchina, Jevgenija; Lin, Bin; Zampetti, Fiorella; Di Penta, Massimiliano; Lanza, Michele; Bavota, Gabriele
errShare
errSave
Challenges and solutions when adopting DevSecOps: A systematic review
err2022-01-01
err50
errOAAI
errRajapakse, Roshan N.; Zahedi, Mansooreh; Babar, M. Ali; Shen, Haifeng
errShare
errSave
errShare
errSave
A study of how Docker Compose is used to compose multi-component systems
err2021-09-23
err12
PREAI
errIbrahim, Md Hasan; Sayagh, Mohammed; Hassan, Ahmed E.
errShare
errSave
A basic introduction to fixed-effect and random-effects models for meta-analysis
err2010-11-21
err4.7K
PREAI
errBorenstein, Michael; Hedges, Larry V.; Higgins, Julian P. T.; Rothstein, Hannah R.
errShare
errSave
A critical comparison on six static analysis tools: Detection, agreement, and precision?
err2023-04-01
err15
errOAAI
errLenarduzzi, Valentina; Pecorelli, Fabiano; Saarimaki, Nyyti; Lujan, Savanna; Palomba, Fabio
errShare
errSave
errShare
errSave
18 million links in commit messages: purpose, evolution, and decay
err2023-05-25
err3
errOAAI
errXiao, Tao; Baltes, Sebastian; Hata, Hideaki; Treude, Christoph; Kula, Raula Gaikovina; Ishio, Takashi; Matsumoto, Kenichi
errShare
errSave
Integrating security into the curriculum
err1998-01-01
err0
errOAAI
errC.E. Irvine; Shiu-Kai Chin
errShare
errSave
researcher View more