The incident details are very accurate. I can clearly see which line caused the incident, or which part contains a hardcoded secret key that could affect us.
Installing ggshield as a pre-commit hook has been one of the simplest changes we’ve made with the biggest payoff. When a secret-like value shows up, the commit gets blocked before anything is pushed, and the CLI clearly shows what triggered the detection. We also run it in CI, and the same tooling can be used with pre-receive hooks, which makes it easier to keep checks consistent across local development and the repository. Historical Scanning is just as important, because removing a key from the current version of a file doesn’t remove it from older commits. We use the repository integrations and dashboard to trace the incident, pinpoint where the secret first appeared, and organize remediation. In larger setups, Remediation Playbooks and integrations with Slack, Jira, and ServiceNow help turn an alert into an actual process, instead of just another notification people acknowledge and forget. Honeytokens are a different kind of signal that I also find useful. We can create decoy AWS credentials through ggshield and place them in controlled locations; if someone uses them, there’s very little ambiguity about whether that access was expected. I wouldn’t replace normal monitoring with honeytokens, but they’re helpful when you want to detect real interaction with information that should never be touched.
GitGuardian’s mission is to empower organizations to prevent breaches from unmanaged identities and leaked secrets by providing end-to-end Secret Security and NHI Governance solutions, reducing leaks and ensuring proactive NHI security posture management across vaults, IAM systems, and third-party apps.