pkg.soopen package index

brew / 排名 645

使用 Homebrew, chocolatey, MacPorts, Nix, zypper, scoop 安装 trufflehog

查看 trufflehog 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install trufflehog

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install trufflehog

MacPorts ports tree · security/trufflehog/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#trufflehog

nixpkgs package indexes · pkgs/by-name/tr/trufflehog/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install trufflehog

openSUSE Tumbleweed package metadata · trufflehog · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install trufflehog

Chocolatey community package catalog · trufflehog · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/trufflehog

Scoop official bucket manifest trees · bucket/trufflehog.json · 来源: api.github.com

概览

软件包摘要

Find and verify credentials

命令和别名

  • trufflehog

历史

项目历史与用法

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.

时间线

  • Circa 2017: The original TruffleHog is written to find secrets committed to Git, based on the 2022 v3 announcement's five-year lookback.
  • 2022-04-04: Truffle Security introduces TruffleHog v3.
  • 2023-05-18: Truffle Security documents the TruffleHog GitHub Action for pull request and push scanning.
  • 2024-02-21: Truffle Security publishes a detailed explanation of TruffleHog secret verification.

Related projects

  • Gitleaks is mentioned by the v3 announcement as inspiration for some Git improvements.
  • GitHub Actions is a common integration surface for running TruffleHog on pull requests and pushes.
  • Driftwood is referenced by Truffle Security as a related technique for private encryption key checks.

安全态势

尚未找到受保护工具覆盖

没有找到 trufflehog 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
trufflehogcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本3.96.0
管理器更新时间2026-07-26
本地数据OK
上游当前
检测到的最新版本v3.96.0

https://github.com/trufflesecurity/trufflehog

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametrufflehog
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

trufflehog

nix profile install nixpkgs#trufflehog
  • normalized package name match
  • 匹配方式:Trufflehog
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tr/trufflehog/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

trufflehog 3.96.0-1.1

CLI tool to find exposed secrets in source and archives

https://github.com/trufflesecurity/trufflehog

sudo zypper install trufflehog
  • License: AGPL-3.0-or-later AND MPL-2.0 AND LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: trufflehog
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Trufflehog
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: trufflehog from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

trufflehog

sudo port install trufflehog
  • normalized package name match
  • 匹配方式:Trufflehog
MacPorts ports tree · api.github.com · MacPorts ports tree: security/trufflehog/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

trufflehog

choco install trufflehog
  • normalized package name match
  • 匹配方式:Trufflehog
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: trufflehog from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','trafficlight-chrome'
Scoop95%

main/trufflehog

scoop install main/trufflehog
  • normalized package name match
  • 匹配方式:Trufflehog
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/trufflehog.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation