mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 04:04:25 +01:00
fae366a404357fa6c6611756a11e61546ebec4e0
* work in progress * Update test configs * adding test * golint and change to allowlist * fix race condition, this mistakenly got committed * Updating tests and examples * bump to v6 as this is a breaking change to the config * More consistent variables
Gitleaks is a SAST tool for detecting hardcoded secrets like passwords, api keys, and tokens in git repos. Gitleaks aims to be the easy-to-use, all-in-one solution for finding secrets, past or present, in your code.
Features:
- Scans for commited secrets
- Scans for uncommitted secrets as part of shifting security left
- Available Github Action
- Gitlab and Github API support which allows scans of whole organizations, users, and pull/merge requests
- Custom rules via toml configuration
- High performance using go-git
- JSON and CSV reporting
- Private repo scans using key or password based authentication
Installation, Documentation and Examples
This project is documented here
Sponsors ❤️
Corporate Sponsors
Gamma proactively detects and remediates data leaks across cloud apps. Scan your public repos for secret leaks with Gamma
Individual Sponsors
These users are sponsors of gitleaks:
![]() |
![]() |
|---|
Logo Attribution
The Gitleaks logo uses the Git Logo created Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
Releases
1
v8.21.2 mirrored binary
Latest
Languages
Go
83%
Go Template
16.5%
Shell
0.3%



