arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.06213cs.CR
收藏

意外推送:关于源代码仓库中秘密信息处理策略的混合方法研究

Pushed by Accident: A Mixed-Methods Study on Strategies of Handling Secret Information in Source Code Repositories

CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心);Leibniz University Hannover(汉诺威莱布尼茨大学);Paderborn University(帕德博恩大学);The George Washington University(乔治华盛顿大学)

Alexander Krause, Jan H. Klemmer, Nicolas Huaman, Dominik Wermke, Yasemin Acar, Sascha Fahl

AI总结:

通过调查和访谈,研究开发者管理源代码中秘密(如API密钥)的挑战与策略,发现30.3%参与者曾泄露秘密,并提出降低泄露风险的建议。

摘要:

版本控制系统(如Git)是现代软件开发中的关键工具。许多开发者使用GitHub或GitLab等服务进行协作开发。许多软件项目包含需要安全管理的代码秘密,如API密钥或密码。先前的研究和博客文章发现,开发者在安全的代码秘密管理方面存在困难,并意外将代码秘密泄露到公共Git仓库。向公众泄露代码秘密可能导致灾难性后果,例如滥用服务或系统,或使敏感用户数据暴露给攻击者。在一项混合方法研究中,我们调查了109名具有版本控制系统经验的开发者。此外,我们还对过去经历过秘密泄露的开发者进行了14次深入的半结构化访谈。30.3%的参与者曾遇到过代码秘密泄露。他们中的大多数在预防和修复秘密泄露方面面临若干挑战。基于我们的发现,我们讨论了挑战(如评估泄露秘密的风险)以及开发者在修复和预防代码秘密泄露方面的需求(如低采用要求)。最后,我们为开发者和源代码平台提供商提出了降低秘密泄露风险的建议。

英文摘要:

Version control systems for source code, such as Git, are key tools in modern software development. Many developers use services like GitHub or GitLab for collaborative software development. Many software projects include code secrets such as API keys or passwords that need to be managed securely. Previous research and blog posts found that developers struggle with secure code secret management and accidentally leaked code secrets to public Git repositories. Leaking code secrets to the public can have disastrous consequences, such as abusing services and systems or making sensitive user data available to attackers. In a mixed-methods study, we surveyed 109 developers with version control system experience. Additionally, we conducted 14 in-depth semi-structured interviews with developers who experienced secret leakage in the past. 30.3% of our participants encountered code secret leaks in the past. Most of them face several challenges with secret leakage prevention and remediation. Based on our findings, we discuss challenges, such as estimating the risks of leaked secrets, and the needs of developers in remediating and preventing code secret leaks, such as low adoption requirements. We conclude with recommendations for developers and source code platform providers to reduce the risk of secret leakage.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑