Article (Périodiques scientifiques)
Dependabot and security pull requests: large empirical study
Rebatchi, Hocine; Moha, Naouel; BISSYANDE, Tegawendé François d Assise
2024In Empirical Software Engineering, 29 (5)
Peer reviewed vérifié par ORBi
 

Documents


Texte intégral
s10664-024-10523-y (1).pdf
Postprint Éditeur (3.02 MB)
Télécharger

Tous les documents dans ORBilu sont protégés par une licence d'utilisation.

Envoyer vers



Détails



Mots-clés :
Dependabot; Dependency; GitHub; Pull request; Software supply chain; Software vulnerability; Complex engineering; Empirical studies; Engineering process; Github; Open-source components; Software supply chains; Software vulnerabilities; Software
Résumé :
[en] Modern software development is a complex engineering process where developer code cohabits with an increasingly larger number of external open-source components. Even though these components facilitate sharing and reusing code along with other benefits related to maintenance and code quality, they are often the seeds of vulnerabilities in the software supply chain leading to attacks with severe consequences. Indeed, one common strategy used to conduct attacks is to exploit or inject other security flaws in new versions of dependency packages. It is thus important to keep dependencies updated in a software development project. Unfortunately, several prior studies have highlighted that, to a large extent, developers struggle to keep track of the dependency package updates, and do not quickly incorporate security patches. Therefore, automated dependency-update bots have been proposed to mitigate the impact and the emergence of vulnerabilities in open-source projects. In our study, we focus on Dependabot, a dependency management bot that has gained popularity on GitHub recently. It allows developers to keep a lookout on project dependencies and reduce the effort of monitoring the safety of the software supply chain. We performed a large empirical study on dependency updates and security pull requests to understand: (1) the degree and reasons of Dependabot’s popularity; (2) the patterns of developers’ practices and techniques to deal with vulnerabilities in dependencies; (3) the management of security pull requests (PRs), the threat lifetime, and the fix delay; and (4) the factors that significantly correlate with the acceptance of security PRs and fast merges. To that end, we collected a dataset of 9,916,318 pull request-related issues made in 1,743,035 projects on GitHub for more than 10 different programming languages. In addition to the comprehensive quantitative analysis, we performed a manual qualitative analysis on a representative sample of the dataset, and we substantiated our findings by sending a survey to developers that use dependency management tools. Our study shows that Dependabot dominates more than 65% of dependency management activity, mainly due to its efficiency, accessibility, adaptivity, and availability of support. We also found that developers handle dependency vulnerabilities differently, but mainly rely on the automation of PRs generation to upgrade vulnerable dependencies. Interestingly, Dependabot’s and developers’ security PRs are highly accepted, and the automation allows to accelerate their management, so that fixes are applied in less than one day. However, the threat of dependency vulnerabilities remains hidden for 512 days on average, and patches are disclosed after 362 days due to the reliance on the manual effort of security experts. Also, project characteristics, the amount of PR changes, as well as developer and dependency features seem to be highly correlated with the acceptance and fast merges of security PRs.
Centre de recherche :
Interdisciplinary Centre for Security, Reliability and Trust (SnT) > TruX - Trustworthy Software Engineering
Disciplines :
Sciences informatiques
Auteur, co-auteur :
Rebatchi, Hocine ;  École de Technologie Supérieure, Montreal, Canada
Moha, Naouel;  École de Technologie Supérieure, Montreal, Canada
BISSYANDE, Tegawendé François d Assise  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > TruX
Co-auteurs externes :
yes
Langue du document :
Anglais
Titre :
Dependabot and security pull requests: large empirical study
Date de publication/diffusion :
septembre 2024
Titre du périodique :
Empirical Software Engineering
ISSN :
1382-3256
eISSN :
1573-7616
Maison d'édition :
Springer
Volume/Tome :
29
Fascicule/Saison :
5
Peer reviewed :
Peer reviewed vérifié par ORBi
Focus Area :
Security, Reliability and Trust
Objectif de développement durable (ODD) :
9. Industrie, innovation et infrastructure
Projet européen :
H2020 - 949014 - NATURAL - Natural Program Repair
Intitulé du projet de recherche :
R-AGR-3885 - H2020-ERC StG - NATURAL - BISSYANDE Tegawendé
Organisme subsidiant :
ERC - European Research Council
European Union
N° du Fonds :
949014
Subventionnement (détails) :
This work was supported by the Natural Sciences and Engineering Research Council of Canada (NSERC), and the European Research Council (ERC) under the European Union\u2019s Horizon 2020 research and innovation program (grant agreement No. 949014).This study was supported by (1) the Natural Sciences and Engineering Research Council of Canada (NSERC), and by (2) the European Research Council (ERC) under the European Union\u2019s Horizon 2020 research and innovation program (grant agreement No. 949014).
Disponible sur ORBilu :
depuis le 10 décembre 2024

Statistiques


Nombre de vues
110 (dont 0 Unilu)
Nombre de téléchargements
111 (dont 0 Unilu)

citations Scopus®
 
2
citations Scopus®
sans auto-citations
2
OpenCitations
 
0
citations OpenAlex
 
4
citations WoS
 
0

Bibliographie


Publications similaires



Contacter ORBilu