GitGuardian says one leaked key had 13 copies, rotation took 3 days
GitGuardian says in a fictitious scenario that one leaked production API key had 13 copies; it advises inventorying every copy before revoking.
- Published
- Exploitation
- No. GitGuardian describes its leaked-key incident as fictitious, based on customer stories, and reports no real exploitation.
What happened
According to GitGuardian’s blog post of 16 November 2026, credential rotation is hard mainly because of the work around it, not the final rotate-and-revoke steps. The post walks through a fictitious incident. GitGuardian says the scenario is “fictitious” but “based on stories real customers have shared with us over the years” (GitGuardian). This is not a report of a real breach, and no victim, attacker or exploitation is named.
In GitGuardian’s example, one production API key for a SaaS application has 13 copies, and the team knows about one. The post says copies sit in hardcoded fallbacks in code, a config file, an old pipeline variable, a vault entry and a Jira ticket. A developer pushes a feature branch containing the key to a repository that turns out to be public. GitGuardian says the example leak was an accident (GitGuardian).
GitGuardian says that handled by hand, the response takes three days across three teams. It says the technical changes took a few hours, and the rest went to finding copies, working out which one mattered, and coordinating people. It adds that the Jira copy was still missed, so the incident closed with an incomplete inventory. The same leak replayed with GitGuardian fully deployed is described as handled in hours, with occurrences, owners and vault matches listed up front (GitGuardian).
The post also cites GitGuardian’s own State of Secrets Sprawl 2026. According to GitGuardian, it found 28.65 million new hardcoded secrets in public GitHub commits in 2025, a 35% year-over-year increase. It also says 64% of valid secrets detected in 2022 were still valid when retested in January 2026. We have not verified these figures independently. The source text we received is truncated, so the end of the walkthrough and the post’s advice on skipping rotation are not confirmed here.
This is a vendor blog post, and it promotes GitGuardian’s own product. Only one outlet carries it.
Am I affected?
This is not a vulnerability or a confirmed incident, so there is no product, version or CVE to check. The post is relevant if a long-lived API key or password has been copied into several places. GitGuardian lists code, config files, pipeline variables, vaults and tickets as examples. It is also relevant if nobody can say which copy a deploy actually trusts.
Whether your own environment has the same sprawl is not confirmed by the source. Only a search of your own sources can show that.
What to do now
The steps below follow GitGuardian’s described walkthrough. They are the post’s account of its fictitious example, not independently verified guidance.
- Confirm the leaked key belongs to your organization and still works, and check what it can access. GitGuardian’s example treated read and write access to customer records as critical (GitGuardian).
- Find every copy before revoking. GitGuardian says its manual team found the code, config and pipeline copies but skipped Jira, so one copy stayed live in a ticket.
- Work out which copy production reads, for example a pipeline variable versus a vault reference. GitGuardian says that if the variable overrides the vault, writing a new value to the vault changes nothing, and revoking first breaks the next deploy.
- Agree an order with the application, platform and SaaS administration owners. Then follow GitGuardian’s sequence: rotate, revoke, verify.
- Remove the leftover copies, including those in tickets, so the vault is the only place the key exists. GitGuardian says that was the fix in its example.