Betterleaks
Install latest/stable of Betterleaks
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install betterleaks
Don't have snapd? Get set up for snaps.
Details for Betterleaks
Package name
- betterleaks
License
- MIT
Last updated
- Today - latest/stable
- Today - latest/candidate
Websites
Contact
Source code
Report a bug
External link warning
You are about to open
Do you wish to proceed?
Report a Snap Store violation
Report Betterleaks for a Snap Store violation
Snap Store Violation Report submitted successfully
Thank you for your report. Information you provided will help us investigate further.
Error submitting report
There was an error while sending your report. Please try again later.
Share this snap
Generate an embeddable card to be shared on external websites.
Find leaked secrets in Git, files, code hosts and S3 buckets
Betterleaks detects passwords, API keys, tokens and other secrets in the history of Git repositories, in directories and files, in text read from standard input, and in GitHub, GitLab, Hugging Face and S3 sources. It can check findings against live APIs, reads Gitleaks configuration files, and writes reports as JSON, CSV, JUnit, SARIF or a custom template.
Examples
betterleaks git -v ~/projects/my-project
betterleaks dir -v ~/projects/my-project
cat notes.txt | betterleaks stdin
betterleaks github https://github.com/my-org --validation
File access
Betterleaks can scan repositories and files in your home directory. To also scan USB drives and other removable media (/media, /mnt), run:
sudo snap connect betterleaks:removable-media
The snap includes Git for scanning history and cloning over HTTPS.
| Revision | Channel | Version | Build | Commit | Download SBOM |
|---|
The build and commit information is derived from build infrastructure records.
Install Betterleaks on your Linux distribution
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.