RepositoryGo
betterleaks

betterleaks/betterleaks

Find leaked secrets everywhere.

3.2kstars
213forks
92issues
7views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: devops

#1 Repository of the week

1
TINIX TRENDING·Topic: devsecops

#1 Repository of the week

1
TINIX TRENDING·Topic: gitleaks

#1 Repository of the week

🔍 Betterleaks: A Smarter Secrets Scanner from the Gitleaks Team

Betterleaks is a configurable, fast, and thorough secrets scanner maintained by the original creators of Gitleaks.

Built in Go by the team behind Gitleaks, Betterleaks scans for leaked secrets across Git repositories, GitHub, GitLab, Hugging Face, S3, local directories, and stdin. It improves on traditional scanners with CEL-powered filtering, async secret validation, and token-based false-positive reduction.

✨ Highlights

  • CEL-based filtering: Write contextual rule filters using fragment attributes like git author, commit message, and file path to reduce false positives.
  • Secrets validation: Validate detected secrets asynchronously via HTTP requests defined directly in CEL rules.
  • Token efficiency filtering: Use BPE tokenization to filter out natural language false positives by measuring string rarity.
  • Fast scans: Parallelized scanning with Aho-Corasick keyword filters and RE2 for high performance.
  • Multiple sources: Scan GitHub, GitLab, Hugging Face, S3, Cloudflare R2, local filesystems, and stdin with ease.
  • Portability: Small Go binary runs on any modern OS/architecture and integrates into any system.
  • Expressive config: Define pre-filters, post-match filters, and async validators all in CEL.

💡 Why it matters

Betterleaks builds on Gitleaks’ foundation with more expressive filtering and validation logic, making it easier to catch real secrets while suppressing noise. Its CEL-based approach allows developers to write precise, context-aware rules without hardcoding allowlists.

It fits well into CI/CD pipelines and DevSecOps workflows, especially for teams already using Gitleaks who want finer control over detection logic and secret verification.


#Betterleaks #SecretsScanning #DevSecOps #Go #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
go-gitea/gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD

59.4k
Dec 1, 2026
RepositoryGo
gitleaks/gitleaks

Find secrets with Gitleaks 🔑

31.5k
Nov 25, 2026
RepositoryGo
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

197.2k
Dec 2, 2026
RepositoryGo
ollama/ollama

Get up and running with Inkling, Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

188.9k
Dec 2, 2026
RepositoryGo
golang/go

The Go programming language

140.0k
Dec 1, 2026
RepositoryPython
bregman-arie/devops-exercises

Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

87.1k
Dec 27, 2025
RepositoryPython
521xueweihan/HelloGitHub

:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.

192.6k
Nov 27, 2026
RepositoryGo
nektos/act

Run your GitHub Actions locally 🚀

72.9k
Dec 1, 2026
RepositoryGo
moby/moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

72.3k
Nov 26, 2026