Skip to content
SPECIFICTION
Get listed

Gitleaks vs scan4secrets

Gitleaks

github.com

scan4secrets

scan4secrets.m14r41.in

Side by side

FigureGitleaksscan4secrets
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYesYes
macOSYes—
LinuxYesYes
Self-hostedYes—
Plans published11
Spec score · Secrets Scanning Software7.8 (#11)7.3 (#19)
LicenseThe repository is distributed under the MIT License, which permits use, copying, modification, distribution, sublicensing, and sale subject to its terms.The project is MIT licensed.
PurposeGitleaks detects secrets such as passwords, API keys, and tokens in Git repositories, files, and stdin.The tool scans source trees, running web apps, and CI logs for leaked credentials, code vulnerabilities, and misconfigurations.
ReportsGitleaks can output reports in JSON, CSV, JUnit, SARIF, or template format.Output formats include SARIF, JSON, JSONL, CSV, HTML, Excel, and PDF.

Plans

Gitleaks

  • GitleaksFree

Gitleaks pricing →

scan4secrets

  • MIT-licensed open-source CLIFree

scan4secrets pricing →

In their own words

Gitleaks

Gitleaks is free, MIT-licensed software that detects secrets such as passwords, API keys, and tokens in Git repositories, files, and standard input. It runs on Linux, macOS, Windows, and self-hosted systems. Scans can target repositories, directories, individual files, or streamed data. Custom rules can use Go regular expressions, entropy checks, path matching, keywords, and allowlists. A previous report can serve as a baseline so later scans show only new findings. Output is available in JSON, CSV, JUnit, SARIF, or template formats. The project documents pre-commit hook and GitHub Action use, plus CI/CD, pull-request, and supported VCS workflows for GitHub, GitLab, Azure DevOps, Gitea, and Bitbucket. Installation options include Homebrew, Docker, Go, and prebuilt release binaries. A redaction option masks secrets in logs and standard output, with a default redaction value of 100%. The project describes itself as feature complete, with future releases limited to security patches, and its security policy supports only the latest version.

Visit github.com

scan4secrets

scan4secrets has no write-up on Specifiction yet; its figures are above.

Visit scan4secrets.m14r41.in