Betterleaks, a new open-source secrets scanner to replace Gitleaks
嗯,用户让我用中文帮他总结一下这篇文章,控制在100个字以内,而且不需要以“文章内容总结”或“这篇文章”这样的开头。直接写文章描述即可。 首先,我需要通读整篇文章,抓住主要内容。文章主要介绍了一个新的开源工具Betterleaks,它能够扫描目录、文件和Git仓库,识别有效秘密。这个工具是Gitleaks的继任者,由Zach Rice开发,得到了Aikido公司的支持。 接下来,我需要提取关键点:Betterleaks的功能、它取代了Gitleaks、开发者是谁、支持的公司、以及它的优势和未来计划。这些都是用户可能关心的信息。 然后,我要把这些信息浓缩到100字以内。要确保涵盖主要功能、开发者背景、以及它作为Gitleaks的继任者这一点。 最后,检查一下语言是否流畅自然,没有使用任何开头的固定格式。确保信息准确且简洁。 </think> 新工具Betterleaks是一款开源的秘密扫描器,可扫描目录、文件和Git仓库,并通过默认或自定义规则识别有效密钥。它是Gitleaks的继任者,由Zach Rice开发并得到Aikido公司支持,具有更快的扫描速度和更强大的功能。 2026-3-15 14:30:22 Author: www.bleepingcomputer.com(查看原文) 阅读量:4 收藏

Betterleaks, a new open-source secrets scanner to replace Gitleaks

A new open-source tool called Betterleaks can scan directories, files, and git repositories and identify valid secrets using default or customized rules.

Secret scanners are specialized utilities that scour repositories for sensitive information, such as credentials, API keys, private keys, and tokens, that developers accidentally committed in source code.

Since threat actors often scan configuration files in public repositories for sensitive details, this type of utility can help identify secrets and protect them before attackers can find them.

The new Betterleaks project is intended as a more advanced successor to Gitleaks and is maintained by the same team, with support from Aikido, a Belgian company that provides a platform for securing the development cycle.

Scanning speed comparison
Scanning speed comparison
Source: GitHub

Betterleaks is developed by Zach Rice, Head of Secrets Scanning at Aikido Security, who also authored the popular Gitleaks with 26 million downloads on GitHub and more than 35 million pulls on Docker and GitHub Container Registry (GHCR).

"Betterleaks is the successor to Gitleaks. We’re dropping the “git” and slapping  “better” on it because that’s what it is, better," Rice says.

Betterleaks was created after Rice lost full control over Gitleaks, which he started developing eight years ago. The list of features in the new tool includes:

  • Rule-defined validation using CEL (Common Expression Language)
  • Token Efficiency Scanning based on BPE tokenization rather than entropy, achieving 98.6% recall vs 70.4% with entropy on the CredData dataset
  • Pure Go implementation (no CGO or Hyperscan dependency)
  • Automatic handling of doubly/triply encoded secrets
  • Expanded rule set for more providers
  • Parallelized Git scanning for faster repository analysis

The developer has also revealed additional features planned for the next version of Betterleaks, like support for additional data sources beyond Git repositories and files, LLM-assisted analysis for better secret classification, more detection filters, automatic secret revocation via provider APIs, permissions mapping, and performance optimizations.

Regarding the project’s governance, Rice explains that it uses the open-source MIT license and is maintained by three additional people beyond himself, including contributors from the Royal Bank of Canada, Red Hat, and Amazon.

Rice underlined that Betterleak’s design philosophy combines human-centric use with accommodation for AI agent workflows, including CLI features optimized for automated tools that scan AI-generated code.

tines

Red Report 2026: Why Ransomware Encryption Dropped 38%

Malware is getting smarter. The Red Report 2026 reveals how new threats use math to detect sandboxes and hide in plain sight.

Download our analysis of 1.1 million malicious samples to uncover the top 10 techniques and see if your security stack is blinded.


文章来源: https://www.bleepingcomputer.com/news/security/betterleaks-a-new-open-source-secrets-scanner-to-replace-gitleaks/
如有侵权请联系:admin#unsafe.sh