Loading [MathJax]/extensions/MathZoom.js
What Challenges Do Developers Face About Checked-in Secrets in Software Artifacts? | IEEE Conference Publication | IEEE Xplore

What Challenges Do Developers Face About Checked-in Secrets in Software Artifacts?


Abstract:

Throughout 2021, GitGuardian's monitoring of public GitHub repositories revealed a two-fold increase in the number of secrets (database credentials, API keys, and other c...Show More

Abstract:

Throughout 2021, GitGuardian's monitoring of public GitHub repositories revealed a two-fold increase in the number of secrets (database credentials, API keys, and other credentials) exposed compared to 2020, accumulating more than six million secrets. To our knowledge, the challenges developers face to avoid checked-in secrets are not yet characterized. The goal of our paper is to aid researchers and tool developers in understanding and prioritizing opportunities for future research and tool automation for mitigating checked-in secrets through an empirical investigation of challenges and solutions related to checked-in secrets. We extract 779 questions related to checked-in secrets on Stack Exchange and apply qualitative analysis to determine the challenges and the solutions posed by others for each of the challenges. We identify 27 challenges and 13 solutions. The four most common challenges, in ranked order, are: (i) store/version of secrets during deployment; (ii) store/version of secrets in source code; (iii) ignore/hide of secrets in source code; and (iv) sanitize VCS history. The three most common solutions, in ranked order, are: (i) move secrets out of source code/version control and use template config file; (ii) secret management in deployment; and (iii) use local environment variables. Our findings indicate that the same solution has been mentioned to mitigate multiple challenges. However, our findings also identify an increasing trend in questions lacking accepted solutions substantiating the need for future research and tool automation on managing secrets.
Date of Conference: 14-20 May 2023
Date Added to IEEE Xplore: 14 July 2023
ISBN Information:

ISSN Information:

Conference Location: Melbourne, Australia

Funding Agency:


I. Introduction

In March 2022, GitGuardian stated that the number of secrets exposed on public GitHub repositories doubled in 2021 compared to 2020, reaching a total of over six million secrets [1]. To perform authentication across software artifacts as part of system integration, software developers need secrets (database credentials, API keys, and other credentials). During software development, these secrets may need to be shared by developers working on a team, and after deployment may need to be distributed to applications.

Contact IEEE to Subscribe

References

References is not available for this document.