Security
EnhancedLeaks: A Next-Generation Open-Source Secrets Scanner
Betterleaks: The Advanced Open-Source Secrets Scanner
Introducing Betterleaks, a cutting-edge open-source tool designed to scan directories, files, and git repositories to detect valid secrets using predefined or customizable rules.
Secret scanners play a crucial role in identifying sensitive information like credentials, API keys, private keys, and tokens inadvertently disclosed in source code repositories.
Given that malicious actors frequently target public repositories to exploit configuration files for confidential data, tools like Betterleaks are essential in preemptively safeguarding secrets from potential breaches.
Developed as an enhanced successor to Gitleaks, Betterleaks is spearheaded by Zach Rice, the Head of Secrets Scanning at Aikido Security. This project is supported by Aikido and promises advanced features for robust secret detection.

Source: GitHub
Zach Rice, renowned for his work on Gitleaks with millions of downloads, emphasizes that Betterleaks represents a significant advancement in secret scanning capabilities.
One of the key highlights of Betterleaks is its rule-defined validation using CEL, enabling efficient and accurate scanning of secrets within repositories and files.
The tool boasts a token efficiency scanning mechanism based on BPE tokenization, offering a substantial improvement in recall rates compared to traditional entropy-based methods.
Furthermore, Betterleaks features a streamlined Pure Go implementation, ensuring seamless functionality without external dependencies like CGO or Hyperscan.
Additional enhancements in Betterleaks include automatic handling of doubly or triply encoded secrets, an expanded rule set for diverse providers, and parallelized Git scanning for rapid repository analysis.
Future iterations of Betterleaks are poised to introduce even more advanced functionalities, such as support for varied data sources, LLM-assisted analysis, enhanced detection filters, automatic secret revocation capabilities, permissions mapping, and performance optimizations.
With a focus on open-source governance, Betterleaks operates under the MIT license and is maintained by a dedicated team comprising contributors from esteemed organizations like the Royal Bank of Canada, Red Hat, and Amazon.
Rice’s vision for Betterleaks encompasses a design philosophy that harmonizes human-centric usability with AI agent workflows, catering to diverse user needs and ensuring compatibility with automated tools.

The Red Report 2026 delves into the evolving landscape of malware threats, highlighting the utilization of mathematical techniques by new adversaries to evade detection mechanisms. Stay informed and download our comprehensive analysis of 1.1 million malicious samples to uncover the top 10 evasion tactics.
-
Facebook5 months agoEU Takes Action Against Instagram and Facebook for Violating Illegal Content Rules
-
Facebook5 months agoWarning: Facebook Creators Face Monetization Loss for Stealing and Reposting Videos
-
Facebook5 months agoFacebook Compliance: ICE-tracking Page Removed After US Government Intervention
-
Facebook3 months agoFacebook’s New Look: A Blend of Instagram’s Style
-
Facebook5 months agoInstaDub: Meta’s AI Translation Tool for Instagram Videos
-
Facebook3 months agoFacebook and Instagram to Reduce Personalized Ads for European Users
-
Facebook3 months agoReclaim Your Account: Facebook and Instagram Launch New Hub for Account Recovery
-
Apple5 months agoMeta discontinues Messenger apps for Windows and macOS

