# Gitleaks

Detect secrets before they enter history

Check staged content and historical changes for known secret patterns. Keep synthetic credentials on a scoped allowlist and redact sensitive values in reports.

Category: Security
Languages: Multiple languages

## Standard evidence

Rubric v1 · 2/8 verified · 6 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — The tool describes scanning Git content with configured rules and installing a pre-commit hook so findings can be checked before commit. Reviewed 2026-11-28. [Source](https://github.com/gitleaks/gitleaks#readme)
- **Measurement** (verified) — The documented default exit code is 0 for no leaks and 1 for a leak or error. Distinguishing a detection from a scanner error requires reading its report. Reviewed 2026-11-28. [Source](https://github.com/gitleaks/gitleaks#readme)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use Gitleaks in this repository to meet this standard: Detect secrets before they enter history. Check staged content and historical changes for known secret patterns. Keep synthetic credentials on a scoped allowlist and redact sensitive values in reports. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://github.com/gitleaks/gitleaks)
- [Agent skill](/skills/gitleaks/SKILL.md)
