To report a security vulnerability, please use GitHub's private vulnerability reporting.
Do not open a public issue for security vulnerabilities.
If the secret-scan CI job fails, or a credential is otherwise found in this repository's source or history, treat it as compromised regardless of where it was committed from. Run the response below in order — do not stop at "remove from repo".
- Revoke at the provider. Disable or delete the credential in the issuing system (cloud console, package registry, identity provider, etc.) before doing anything else. A scrubbed git history does not invalidate a leaked token.
- Remove from the repo. Delete the secret from the working tree. If it landed on a long-lived branch or in history, rewrite with
git filter-repoand force-push, then have collaborators re-clone. - Rotate and redeploy. Issue a replacement, update every consumer (deployments, CI variables, local
.envfiles), and roll any dependent services that cached the old value. - Notify affected systems and people. Anything that authenticated with the old credential, plus the maintainer team and — for production credentials — downstream operators.
- Owner. The repo maintainer drives steps 1–4. Page them via the channel listed at the top of this document.