# betterleaks/betterleaks

Find leaked secrets everywhere.

Repository: https://github.com/betterleaks/betterleaks
Canonical: https://ross.abutalabs.com/products/betterleaks
Homepage: https://betterleaks.com
Language: Go
License: MIT
License Family: permissive
Topics: cicd, credentials, developer-tools, devops, devsecops, git, github, gitleaks, go, golang, secret, secrets, sast, security, security-tools, static-analysis, dynamic-analysis, secrets-management, secrets-detection, secrets-scanning
Last push: 2026-08-26T20:05:47+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 15
- inputs: {"age_days": 211, "days_push": 7, "days_rel": 15, "gap_med": 8.5, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1792, forks 131 (observed 2026-08-28T04:05:36.239722+00:00)

## What it is
Betterleaks is a fast, configurable secrets scanner for finding leaked credentials in git repositories, filesystems, and platforms like GitHub, GitLab, Hugging Face, and S3. Built by the Gitleaks maintainers, it adds Expr-based contextual filtering, live secret validation, and token-efficiency filtering to reduce false positives.

## Use cases
- scan a git repo for leaked api keys
- find exposed credentials in a github organization
- detect secrets in ci pipelines
- check if leaked credentials are still active
- scan a directory for hardcoded passwords
- reduce false positives in secrets scanning
- scan gitlab projects for leaked tokens

## When to choose
- you need a fast, portable secrets scanner with low false positives
- you want to scan sources beyond git like GitHub, GitLab, Hugging Face, or S3
- you need to validate whether detected secrets are still live
- you want configurable contextual filtering beyond regex and entropy

## When to avoid
- you need a GUI-based security dashboard rather than a CLI tool
- you need full SAST beyond secrets detection
- you require long-term stable tooling and prefer the more established Gitleaks ecosystem

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, secrets-management, vulnerability-scanning, cli, developer-tools
- domain: security, developer-tools, version-control
- platform: windows, cli, go
- tags: secrets-scanning, gitleaks-successor, sast, credential-detection, devsecops, static-analysis, ci-cd, devops, linux, macos, docker

## Member repositories
- betterleaks/betterleaks (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:36.239722+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:22:57.623492+00:00, confidence not recorded.
  - readme: https://github.com/betterleaks/betterleaks (fetched 2026-08-28T04:05:36.239722+00:00, sha 1c90b0665580)
  - homepage: https://betterleaks.com (fetched 2026-08-29T11:01:50.691409+00:00, sha f5eae3380d74)
- Data as of 2026-08-30T08:39:29.467469+00:00.
