Detect secret in source code and scan your repo for leaks with python
GitGuardian Shield
Detect secret in source code, scan your repo for leaks. Find secrets with GitGuardian and prevent leaked credentials. GitGuardian is an automated secrets detection & remediation service.
The GitGuardian shield (gg-shield) is a CLI application that runs in your local environment or in a CI environment to help you detect more than 200 types of secrets, as well as other potential security vulnerabilities or policy breaks.
GitGuardian shield uses our public API through py-gitguardian to scan your files and detect potential secrets in your code. The /v1/scan endpoint of the public API is stateless. We will not store any files you are sending or any secrets we have detected.
You can also use gg-shield via the pre-commit framework on your repositories, or as a standalone pre-commit either