macOS
brew install trufflehoglocal Homebrew formula metadata
sudo port install trufflehogMacPorts ports tree · security/trufflehog/Portfile · 来源: api.github.com
安装
brew install trufflehoglocal Homebrew formula metadata
sudo port install trufflehogMacPorts ports tree · security/trufflehog/Portfile · 来源: api.github.com
nix profile install nixpkgs#trufflehognixpkgs package indexes · pkgs/by-name/tr/trufflehog/package.nix · 来源: api.github.com
sudo zypper install trufflehogopenSUSE Tumbleweed package metadata · trufflehog · 来源: download.opensuse.org
choco install trufflehogChocolatey community package catalog · trufflehog · 来源: community.chocolatey.org
scoop install main/trufflehogScoop official bucket manifest trees · bucket/trufflehog.json · 来源: api.github.com
概览
Find and verify credentials
历史
TruffleHog is an open-source secrets scanner for finding, classifying, verifying, and analyzing leaked credentials across Git repositories and many other sources.
The original TruffleHog was written to detect API keys, passwords, and secrets committed to Git. In April 2022, Truffle Security introduced TruffleHog v3 as a major rewrite focused on speed, broader detector coverage, and automatic validation for supported secrets.
The v3 announcement positioned verification as the central change: instead of only matching strings, the scanner can call provider APIs to determine whether a discovered secret is live. The project also moved toward a larger open detector ecosystem, with hundreds of supported key types and contribution paths for new detectors.
The current README describes TruffleHog as a discovery, classification, validation, and analysis tool that scans Git, chats, wikis, logs, API-testing platforms, object stores, filesystems, and more. It also documents enterprise monitoring as a commercial layer while keeping the core scanner open source.
TruffleHog spread because secret leakage is a concrete, recurring operational problem: a key committed once may remain in Git history even after later commits remove it. Truffle Security's GitHub Actions guide shows the tool used in CI to scan pull requests and pushes before leaks move farther into deployment pipelines.
The tool's package-manager footprint is broad: Homebrew, Docker images, binary releases, install scripts, and distro packages all make it easy to drop into local audits, CI jobs, pre-commit workflows, and incident response scripts.
Common CLI usage includes scanning a remote Git repository, a GitHub organization, a local Git repository, S3 or GCS buckets, Docker images, filesystems, Jira, Slack, and other collaboration surfaces. Security teams often run it with verified-only results to prioritize active credentials.
For package nerds, TruffleHog is a canonical 'install this before you publish or rotate credentials' tool: it is easy to add to a shell, CI workflow, or one-off audit and it returns structured JSON when automation needs to consume findings.
TruffleHog matters because it turned secrets scanning into a normal CLI/package-manager concern. The same binary can be used interactively with Homebrew, containerized through Docker, or pinned in CI, which fits how security tooling actually lands in developer environments.
Its distinction from simple grep-like scanners is verification. Package users care because reducing false positives changes the economics of adopting a scanner in every repository.
安全态势
没有找到 trufflehog 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
trufflehog | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/trufflesecurity/trufflehog
安装元数据
| 软件包键 | brew:trufflehog |
|---|---|
| 版本 | 3.96.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/trufflehog |
| 主页 | https://trufflesecurity.com/ |
| 仓库 | https://github.com/trufflesecurity/trufflehog |
| 上游文档 | https://trufflesecurity.com/ |
| 许可证 | AGPL-3.0-only |
| 源码归档 | https://github.com/trufflesecurity/trufflehog/archive/refs/tags/v3.96.0.tar.gz |
| 最后更新 | 2026-07-26T00:51:28+02:00 |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | trufflehog |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
trufflehog
nix profile install nixpkgs#trufflehogtrufflehog 3.96.0-1.1
CLI tool to find exposed secrets in source and archives
https://github.com/trufflesecurity/trufflehog
sudo zypper install trufflehogtrufflehog
sudo port install trufflehogtrufflehog
choco install trufflehogmain/trufflehog
scoop install main/trufflehog来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.