Lune

S&P2025Top-tier venue

The File That Contained the Keys Has Been Removed: An Empirical Analysis of Secret Leaks in Cloud Buckets and Responsible Disclosure Outcomes

Soufian El Yadmani, Olga Gadyatskaya, Yury Zhauniarovich

Abstract

With the growing reliance on cloud services for storage and deployment, securing cloud environments has become critically important. Cloud storage solutions like AWS S3, Google Cloud Storage, and Azure Blob Storage are widely used to store vast amounts of data, including sensitive configuration files used in software development. These files often contain secrets such as API keys and credentials. Misconfigured cloud buckets can inadvertently expose these secrets, leading to unauthorized access to services and security breaches. In this work, we explore the issue of secret leaks in files exposed through misconfigured cloud storage. Our analysis covers a variety of file formats frequently used in development and focuses on different secrets that have diverse types of impact as well as the possibility for a non-intrusive validation. By systematically scanning a large collection of publicly acces-sible cloud buckets, we identified 215 instances where sensitive credentials were exposed. These secrets provide unauthorized access to services like databases, cloud infrastructure, and third-party APIs, posing significant security risks. Upon discovering these leaks, we responsibly reported them to the respective organizations and cloud service providers and measured the outcomes of the disclosure process. Our respon-sible disclosure efforts led to the remediation of 95 issues. Twenty organizations directly communicated their actions back to us, promptly addressing the issues, while the remaining fixes were implemented without direct feedback to the disclosers. Our study highlights the global prevalence of secret leaks in cloud storage and emphasizes the varied responses from organizations in mitigating these critical security risks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Leaky Apps: Large-scale Analysis of Secrets Distributed in Android and iOS Apps cites Why Does Your Data Leak? Uncovering the Data Leakage in Cloud from Mobile Apps
  • Leaky Apps: Large-scale Analysis of Secrets Distributed in Android and iOS Apps cites How Bad Can It Git? Characterizing Secret Leakage in Public GitHub Repositories
  • Secrets Unlocked: Evaluating LLMs for Secrets Detection in Android Apps cites Leaky Apps: Large-scale Analysis of Secrets Distributed in Android and iOS Apps
  • Secrets Unlocked: Evaluating LLMs for Secrets Detection in Android Apps cites Why Does Your Data Leak? Uncovering the Data Leakage in Cloud from Mobile Apps
  • Secrets Unlocked: Evaluating LLMs for Secrets Detection in Android Apps cites How Bad Can It Git? Characterizing Secret Leakage in Public GitHub Repositories
  • Didn't You Hear Me? - Towards More Successful Web Vulnerability Notifications cites You've Got Vulnerability: Exploring Effective Vulnerability Notifications
  • Didn't You Hear Me? - Towards More Successful Web Vulnerability Notifications cites Hey, You Have a Problem: On the Feasibility of Large-Scale Web Vulnerability Notification
  • Keys on Doormats: Exposed API Credentials on the Web cites You've Got Vulnerability: Exploring Effective Vulnerability Notifications
  • Keys on Doormats: Exposed API Credentials on the Web cites Didn't You Hear Me? - Towards More Successful Web Vulnerability Notifications
  • Keys on Doormats: Exposed API Credentials on the Web cites Why Does Your Data Leak? Uncovering the Data Leakage in Cloud from Mobile Apps
  • Keys on Doormats: Exposed API Credentials on the Web cites How Bad Can It Git? Characterizing Secret Leakage in Public GitHub Repositories
  • Keys on Doormats: Exposed API Credentials on the Web cites Hey, You Have a Problem: On the Feasibility of Large-Scale Web Vulnerability Notification
  • Checked-In Secret Detection: Strings Are All You Need cites Why Does Your Data Leak? Uncovering the Data Leakage in Cloud from Mobile Apps
  • Checked-In Secret Detection: Strings Are All You Need cites How Bad Can It Git? Characterizing Secret Leakage in Public GitHub Repositories
  • Hey, You Have a Problem: On the Feasibility of Large-Scale Web Vulnerability Notification cites You've Got Vulnerability: Exploring Effective Vulnerability Notifications
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Keys on Doormats: Exposed API Credentials on the WebNurullah Demir, Yash Vekaria, Georgios Smaragdakis, Zakir DurumericCCS 2026 · 2 citations
  2. Leaky Apps: Large-scale Analysis of Secrets Distributed in Android and iOS AppsDavid Schmidt, Sebastian Schrittwieser, Edgar R. WeipplCCS 2025
  3. Secrets Unlocked: Evaluating LLMs for Secrets Detection in Android AppsMarco Alecci, Jordan Samhi, Tegawendé F. Bissyandé, Jacques KleinISSTA 2026
  4. LEAKYLINKS: Measuring the Security and Privacy Risks of URL Scanning ServicesAli Mustafa, Jannis Rautenstrauch, Florian Hantke, Shubham Agarwal et al.S&P 2026
  5. Checked-In Secret Detection: Strings Are All You NeedZhengdong Huang, Kevin Li, Jinqiu Yang, Yepang Liu et al.ISSTA 2026

Builds on16

  1. You've Got Vulnerability: Exploring Effective Vulnerability NotificationsFrank Li, Zakir Durumeric, Jakub Czyz, Mohammad Karami et al.USENIX Security 2016 · 149 citations
  2. How Bad Can It Git? Characterizing Secret Leakage in Public GitHub RepositoriesMichael Meli, Matthew R. McNiece, Bradley ReavesNDSS 2019 · 130 citations
  3. Hey, You Have a Problem: On the Feasibility of Large-Scale Web Vulnerability NotificationBen Stock, Giancarlo Pellegrino, Christian Rossow, Martin Johns et al.USENIX Security 2016 · 130 citations
  4. Why Does Your Data Leak? Uncovering the Data Leakage in Cloud from Mobile AppsChaoshun Zuo, Zhiqiang Lin, Yinqian ZhangS&P 2019 · 123 citations
  5. Didn't You Hear Me? - Towards More Successful Web Vulnerability NotificationsBen Stock, Giancarlo Pellegrino, Frank Li, Michael Backes et al.NDSS 2018 · 86 citations

Related papers

  1. Pushed by Accident: A Mixed-Methods Study on Strategies of Handling Secret Information in Source Code RepositoriesAlexander Krause, Jan H. Klemmer, Nicolas Huaman, Dominik Wermke et al.USENIX Security 2023
  2. A Large-Scale Empirical Study of Secret Key Leakage in Hugging Face SpacesShaoxuan Yun, Yuchao Zhang, Zhikun Shi, Liu Wang et al.ICSE 2026
  3. Credit Karma: Understanding Security Implications of Exposed Cloud Services through Automated Capability InferenceXueqiang Wang, Yuqiong Sun, Susanta Nanda, XiaoFeng WangUSENIX Security 2023
  4. Mapping the Cloud: A Mixed-Methods Study of Cloud Security and Privacy Configuration ChallengesSumair Ijaz Hashmi, Shafay Kashif, Lea Gröber, Katharina Krombholz et al.NDSS 2026 · 3 citations
  5. What Challenges Do Developers Face About Checked-in Secrets in Software Artifacts?Setu Kumar Basak, Lorenzo Neil, Bradley Reaves, Laurie A. WilliamsICSE 2023 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines