GitGuardian urges impact-led remediation for exposed credentials

GitGuardian links slow secret remediation to uncertainty over outages
GitGuardian reported that 64% of valid secrets discovered in 2022 were still working in January 2026, four years later. Its State of Secrets Sprawl 2026 research attributes the persistence in part to teams being unable to determine what will fail when an exposed credential is revoked.
The company argues that discovery alone does not resolve the risk. A security engineer may establish that a key is active and exposed, yet lack the operational knowledge or authority to identify the applications, services and pipelines that depend on it. Developers, identity and access management teams, platform engineering teams and endpoint teams can each hold only part of that context.
This fragmentation creates a choice between the risk of credential misuse and the risk of disrupting production. GitGuardian says the resulting investigation and coordination work can push remediation into backlogs, even though the goal is to remove the leaked credential without breaking running systems or pipeline builds.
Validity is not sufficient for prioritisation
GitGuardian advises organisations to rank incidents by impact rather than validity alone. It said validity-only triage misses 46% of critical secrets, such as custom API tokens and SSH keys, because they cannot be verified automatically.
Context should include what a credential can access, whether it reaches sensitive data or core systems, its exposure locations, its owner and its dependencies. Public exposure increases urgency, while an active breach can require an accelerated response. The company recommends a risk score that changes as investigators obtain new information rather than a score fixed at the moment of discovery.
Remediation requests should carry that context into existing engineering workflows. A request to replace a production credential should identify known exposure locations, validity status and dependencies, and where possible connect the technical issue to business operations. Central tracking and follow-up can show progress across teams and retain evidence for audit purposes.
Replacement and vault adoption must precede revocation
GitGuardian sets out a sequence intended to preserve availability: issue a replacement credential, store it in a vault, replace plaintext copies with vault calls across every known consumer, deploy the changed code or configuration, and monitor the result. The original credential should be revoked only after the affected systems are using the new vaulted value.
For environments already using a secrets manager throughout production, rotation can be simpler because applications retrieve credentials from the vault. Where credentials remain in plaintext configuration or unmanaged files, every consumer must be migrated before revocation. Reversing the order can turn a security fix into an operational incident.
The company also recommends closing an incident only after verifiable confirmation that the old credential no longer authenticates. Records should show what was found, who acted, how the result was proved and how long remediation took. Incidents closed while the old credential remains valid require separate review because a rotation in one system may leave another active copy behind.
Business implication
Businesses should make credential remediation an owned, evidence-based workflow: prioritise by access and exposure, give implementers dependency context, migrate consumers to vaulted replacements, and revoke only after monitored deployment and authentication checks confirm the original key is unusable.

