What Can Self-Admitted Technical Debt Tell Us About Security? A Mixed-Methods Study

被引:0
|
作者
Ferreyra, Nicolas E. Diaz [1 ]
Shahin, Mojtaba [2 ]
Zahedi, Mansooreh [3 ]
Quadri, Sodiq [1 ]
Scandariato, Riccardo [1 ]
机构
[1] Hamburg Univ Technol, Hamburg, Germany
[2] RMIT Univ, Melbourne, Vic, Australia
[3] Univ Melbourne, Melbourne, Vic, Australia
关键词
self-admitted technical debt; software security; software engineering; technical debt identification;
D O I
10.1145/3643991.3644909
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Self-Admitted Technical Debt (SATD) encompasses a wide array of sub-optimal design and implementation choices reported in software artefacts (e.g., code comments and commit messages) by developers themselves. Such reports have been central to the study of software maintenance and evolution over the last decades. However, they can also be deemed as dreadful sources of information on potentially exploitable vulnerabilities and security flaws. Objective: This work investigates the security implications of SATD from a technical and developer-centred perspective. On the one hand, it analyses whether security pointers disclosed inside SATD sources can be used to characterise vulnerabilities in Open-Source Software (OSS) projects and repositories. On the other hand, it delves into developers' perspectives regarding the motivations behind this practice, its prevalence, and its potential negative consequences. Method: We followed a mixed-methods approach consisting of (i) the analysis of a preexisting dataset containing 8,812 SATD instances and (ii) an online survey with 222 OSS practitioners. Results: We gathered 201 SATD instances through the dataset analysis and mapped them to different Common Weakness Enumeration (CWE) identifiers. Overall, 25 different types of CWEs were spotted across commit messages, pull requests, code comments, and issue sections, from which 8 appear among MITRE's Top-25 most dangerous ones. The survey shows that software practitioners often place security pointers across SATD artefacts to promote a security culture among their peers and help them spot flaky code sections, among other motives. However, they also consider such a practice risky as it may facilitate vulnerability exploits. Implications: Our findings suggest that preserving the contextual integrity of security pointers disseminated across SATD artefacts is critical to safeguard both commercial and OSS solutions against zero-day attacks.
引用
收藏
页码:704 / 715
页数:12
相关论文
共 50 条
  • [21] What the social brain sciences can tell us about the self
    Heatherton, TF
    Macrae, CN
    Kelley, WM
    CURRENT DIRECTIONS IN PSYCHOLOGICAL SCIENCE, 2004, 13 (05) : 190 - 193
  • [23] OVERVIEW - WHAT CAN INVITRO METHODS TELL US ABOUT MINERAL BIOAVAILABILITY
    JOHNSON, PE
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 1987, 194 : 7 - AGFD
  • [24] What can psychiatric disorders tell us about neural processing of the self?
    Zhao, Weihua
    Luo, Lizhu
    Li, Qin
    Kendrick, Keith M.
    FRONTIERS IN HUMAN NEUROSCIENCE, 2013, 7
  • [25] Towards a global security studies: what can looking at China tell us about the concept of security?
    Nyman, Dr Jonna
    EUROPEAN JOURNAL OF INTERNATIONAL RELATIONS, 2023, 29 (03) : 673 - 697
  • [26] What mirror self-recognition in nonhumans can tell us about aspects of self
    Schilhab, TSS
    BIOLOGY & PHILOSOPHY, 2004, 19 (01) : 111 - 126
  • [27] What mirror self-recognition in nonhumans can tell us about aspects of self
    Theresa S.S. Schilhab
    Biology and Philosophy, 2004, 19 : 111 - 126
  • [28] What can COVID-19 teach us about patient satisfaction in the emergency department? A mixed-methods approach
    Grissom, Maureen O.
    Farra, Morgan
    Cruzen, Eric S.
    Barlow, Erin
    Gupta, Sanjey
    JOURNAL OF THE AMERICAN COLLEGE OF EMERGENCY PHYSICIANS OPEN, 2021, 2 (02)
  • [29] What The Oregon Health Study Can Tell Us About Expanding Medicaid
    Allen, Heidi
    Baicker, Katherine
    Finkelstein, Amy
    Taubman, Sarah
    Wright, Bill J.
    HEALTH AFFAIRS, 2010, 29 (08) : 1498 - 1506
  • [30] Measuring the Effectiveness of US Government Security Awareness Programs: A Mixed-Methods Study
    Jacobs, Jody L.
    Haney, Julie M.
    Furman, Susanne M.
    HCI IN BUSINESS, GOVERNMENT AND ORGANIZATIONS, PT I, HCIBGO 2023, 2023, 14038 : 14 - 33