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

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

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

A mixed-methods study with 109 developers uncovered common practices and challenges in managing code secrets, revealing that 30.3% of participants had experienced a secret leak. The research by CISPA Helmholtz Center for Information Security and Leibniz University Hannover categorized 18 prevention and remediation approaches, emphasizing the prevalence of human error and the need for improved tools and education.

Key insights

  • A significant portion (30.3%) of surveyed developers reported experiencing code secret leakage, confirming the widespread nature of the problem.
  • The study identified 18 distinct prevention and remediation strategies, highlighting that externalizing secrets and renewing/revoking leaked secrets are the most common approaches.
  • Key challenges faced by developers include the high cost and time investment for tool setup, insufficient documentation, and human factors such as unawareness or bypassing security measures.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.