Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/betterleaks/betterleaks
Static AnalysisVulnerability ScannersCode AnalysisConfiguration AuditingInformation GatheringCloud SecurityDevSecOpsSecret DetectionSupply Chain Security
GitHubbetterleaks/betterleaks

betterleaks

Fast, configurable secrets scanner for filesystems, git history, containers, and cloud sources, with Expr-based filtering, credential validation, and analysis.

3.1k20011313小时58分前Kitploit 审核通过
分享
查看仓库网站
内容在请求的语言中不可用。显示英文版本。

Betterleaks

 + ○
   ▾

Betterleaks is a configurable, fast, and thorough secrets scanner. It is maintained by the folks who made Gitleaks, including the original author. Check out this series of blog posts to learn how the detection engine works: 1. Regex is all you need, 2. Rare Not Random, 3. Express YourCELf, 4. Better generic secrets detection.

Development is supported by Aikido Security

Notable Features

FeatureDescription
Simple PrioritizationRank by confidence, validation status, and analyzed severity scores to make triage as simple as 123.
Secrets ValidationValidate if a detected secret is active by making asynchronous HTTP requests directly from within the rule definition using Expr.
Secrets AnalysisEnrich valid credentials with provider-neutral identity, account, capability, and severity information.
Secrets RevocationOptionally revoke secrets.
Expr-based filteringWrite contextual rule filters that evaluate fragment (data chunks) attributes (like git author, commit message, and file path) and finding data to reduce false positives.
BPE filteringFilter out natural language false positives by using BPE tokenization to measure how "rare" or non-human a string is.
Fast scansAchieve fast performance through sane default parallelization settings, ahocorasick keyword filters, and re2.
New SourcesSupport for sources like GitHub, GitLab, Hugging Face, S3, and more. It's easy to add new sources too!
Container ImagesScan all platforms, historical layers, configuration, and embedded attestations, with digest provenance and deleted/overwritten path reporting. See the container guide.
PortabilityRuns on any modern OS/Arch. The small binary can be integrated in any system.

Installation

The main branch is for v2 development. V1 maintenance and documentation live on the v1.x branch.

Upgrading from v1? See the v2 migration guide for CLI, config, report, and SDK changes.

Until the first stable v2 release, package managers and the Docker latest tag may still provide v1. Use the migration guide's release candidate instructions to try v2 before then.

# Package managers
brew install betterleaks
brew install --cask betterleaks/tap/betterleaks

# Fedora Linux
sudo dnf install betterleaks

# Containers (stable v2)
docker pull ghcr.io/betterleaks/betterleaks:v2

# Go
go install github.com/betterleaks/betterleaks/v2@latest

# Source
git clone https://github.com/betterleaks/betterleaks
cd betterleaks
make build

Stable v2 releases update the tap's betterleaks cask and Docker :v2 and :latest tags. Homebrew core updates separately. To keep v1 installed alongside v2, use brew install --cask betterleaks/tap/betterleaks@1 (command: betterleaks-v1) or the Docker :v1 tag.

Usage

Scans detect secrets without credential provider requests by default. Use -v / --validate to check credentials, or -a / --analyze to also resolve identity and permissions. Analysis implies validation. Set BETTERLEAKS_VALIDATE=true or BETTERLEAKS_ANALYZE=true to enable these stages through the environment. Explicit flags override the corresponding variable.

# Scan the filesystem
betterleaks /path/to/target
# Equivalent explicit command
betterleaks filesystem /path/to/target
# Short command alias
betterleaks fs /path/to/target
# Flags may also precede the command
betterleaks --no-banner fs /path/to/target

# Validate detected credentials
betterleaks fs /path/to/target -v
# Validate and analyze identity and permissions
betterleaks fs /path/to/target -a

# Scan a git repo
betterleaks git /path/to/repo

# Also scan merge commit patches (against the first parent)
betterleaks git /path/to/repo --include=merges

# Scan a remote PR's commits relative to its base branch
betterleaks git https://github.com/owner/repo \
  --clone-ref=refs/pull/123/head --revision=main..refs/pull/123/head

# Automatically detect a remote repository and scan its history
betterleaks https://github.com/betterleaks/betterleaks
# The default command can also be named explicitly
betterleaks auto https://github.com/betterleaks/betterleaks
# Explicitly download and scan a web response (without crawling)
betterleaks url https://example.com/config.txt

# Scan GitHub org
betterleaks github https://github.com/betterleaks
# Scan GitHub user
betterleaks github https://github.com/cooluser123456789 --include issues,prs,actions,releases,gists
# Scan a PR's title, description, and comments
betterleaks github https://github.com/betterleaks/betterleaks/pull/113

# Scan GitLab group or project
betterleaks gitlab https://gitlab.com/mygroup
betterleaks gitlab https://gitlab.com/mygroup/myproject --include issues,mrs,releases,ci-jobs
# Scan a specific GitLab merge request
betterleaks gitlab https://gitlab.com/mygroup/myproject/-/merge_requests/42

# Scan Hugging Face models, datasets, Spaces, and buckets
betterleaks huggingface https://huggingface.co/myorg
betterleaks hf https://huggingface.co/datasets/myorg/mydataset
betterleaks hf --include=discussions,prs https://huggingface.co/myorg/model
betterleaks hf hf://buckets/myorg/mybucket/path

# Scan a public s3 dataset (Common Crawl).
betterleaks s3 https://commoncrawl.s3.us-east-1.amazonaws.com/crawl-data/CC-MAIN-2018-17/segments/1524125937193.1/warc/
# Enumerate and scan every bucket in a Cloudflare R2 account
betterleaks s3 'https://<account-id>.r2.cloudflarestorage.com/*'

# Scan stdin
cat some_file.txt | betterleaks stdin

# Revalidate a known credential without running detection
printf '%s\n' "$GITHUB_TOKEN" | betterleaks validate --rule github-pat

# Find rule IDs that support credential analysis
betterleaks config show ids --analysis

# Validate it and resolve identity and permissions
printf '%s\n' "$GITHUB_TOKEN" | betterleaks analyze --rule github-pat

# Print only its status (for example, VALID)
printf '%s\n' "$GITHUB_TOKEN" | betterleaks validate --rule github-pat --simple

Git URL scans fetch full branch and tag history, plus notes, into a temporary bare repository. Use --clone-ref to add specific review refs or patterns, or --clone-all-refs to fetch all advertised refs. See the Git scanning guide for resource selection, commit filters, and staged-change scans.

Use --hmac-key or BETTERLEAKS_FINGERPRINT_HMAC_KEY for keyed match fingerprints; see fingerprint privacy and key setup.

-j / --jobs controls detection concurrency only, defaulting to 4 * GOMAXPROCS. Sources manage their own bounded reads and downloads.

Rules may also define an optional revoke Expr for explicit credential revocation. Use betterleaks config show ids --revocation to find configured support and betterleaks revoke --rule <id> to execute it. Scans never run revocation. See the revocation guide.

Go SDK

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    837
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    536
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    424
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    355
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    294
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    276

探索所有工具

浏览我们的工具集合

查看所有工具 →