Most Leaked Credentials Still Work Years Later

TL;DR: A new report reveals a startling security risk: over 64% of leaked credentials remain active four years later. Teams often delay revoking keys because they fear breaking critical systems, making impact-based prioritization essential.
Key facts
- Category
- Cybersecurity
- Impact
- High
- Published
- Source
- The Hacker News
Full summary
A new report finds most leaked credentials are never revoked, leaving companies exposed for years due to fears of breaking production systems.
A recent report from security firm GitGuardian has uncovered a startling and persistent vulnerability within modern software development: the vast majority of leaked credentials are never revoked. According to analysis covered by The Hacker News, more than 64% of valid secrets discovered in public code repositories in 2022 were found to be still active four years later. This long-term exposure is not due to a lack of detection, but rather a widespread operational paralysis. Development and security teams are often so uncertain about what systems a credential is tied to that they choose to leave it active, fearing that revoking it could trigger cascading failures and critical service outages. This inaction effectively leaves a backdoor open for attackers for years on end, transforming a momentary mistake into a chronic, high-stakes security risk that silently grows over time. The findings paint a grim picture of the industry's struggle with managing "secrets sprawl," where the sheer volume and interconnectedness of digital credentials make remediation a daunting and often-avoided task.
The core of the problem lies in how organizations approach the remediation process. The GitGuardian report highlights that a common strategy—simply verifying if a leaked secret is still valid—is dangerously inadequate. This validity-only approach to triage was found to miss nearly half (46%) of the most critical secrets, because it fails to consider the potential impact of a compromise. A key might be valid, but its importance depends entirely on what it can access. For example, a credential for a non-critical, read-only internal dashboard poses a much lower risk than an API key with administrative privileges over a production database containing sensitive customer data. The report argues for a fundamental shift in mindset from "is it valid?" to "what will it break if compromised?" This impact-driven prioritization requires teams to have deep visibility into a credential's permissions, its scope of access, and whether it was leaked in a private or public context. Without this crucial context, teams are flying blind, unable to distinguish a minor issue from a potential company-ending threat, which leads them to treat all alerts with the same hesitant inaction.
This challenge of long-lived credentials is a direct consequence of modern development trends. The widespread adoption of cloud infrastructure, microservices architecture, and automated CI/CD pipelines has led to an explosion in the number of secrets—API keys, database passwords, and access tokens—that applications need to function. This phenomenon, known as secrets sprawl, means that credentials are now scattered across countless configuration files, code repositories, and developer environments. The pressure to innovate and deploy features quickly often leads to poor security hygiene, such as hardcoding secrets directly into source code, which can then be accidentally committed to a public GitHub repository. While tools for detecting these leaks have become more effective, the remediation side has not kept pace. The report's findings confirm what many in the security community have long suspected: organizations are accumulating a massive and growing "security debt" of un-remediated secrets, creating a vast and easily exploitable attack surface for malicious actors who actively scan public code for these exact mistakes.
The primary takeaway for founders, CTOs, and security leaders is that a secrets management strategy cannot end with detection. The real work begins after an alert is triggered. To overcome the operational paralysis highlighted in the report, organizations must invest in building a comprehensive inventory and dependency map for their credentials. This means implementing systems that can answer critical questions in real-time: Which applications and services rely on this specific key? What data can it access? When was it last used? Having this visibility is the prerequisite for confident and safe remediation. Looking ahead, the industry will likely see a greater focus on tools that not only find leaked secrets but also help automate the rotation process safely by identifying dependencies and validating that new credentials work before revoking the old ones. Ultimately, solving this problem requires treating secrets as first-class citizens in the software development lifecycle, with clear ownership, automated management, and a well-practiced plan for when they inevitably leak.
Why it matters
This reveals a huge, persistent attack surface that many engineering teams overlook. Leaked credentials that remain active for years are easy targets for attackers. The findings show that current remediation strategies are failing because they don't account for the operational fear of breaking systems when revoking a key.
Business impact
The widespread failure to revoke leaked credentials creates a massive, unmitigated security liability. A single compromised key can lead to a catastrophic data breach, resulting in significant financial losses, regulatory fines, and severe reputational damage. This operational paralysis is a direct threat to business continuity and customer trust.
Tags
Related on Notifire
Related stories
Primary source: The Hacker News