Files
nexus/wiki/entities/TruffleHog.md
2026-04-16 13:01:42 +08:00

557 B
Raw Blame History

title, type, tags, date
title type tags date
TruffleHog entity
security
secret-scanning
devops
2026-04-16

Overview

TruffleHog 是 Git 预推送钩子工具,检测代码和配置中硬编码的 API key、token、密码等密钥信息防止敏感信息泄露到远程仓库。

Key Use Case

  • 在 git push 前扫描所有文件中的硬编码密钥
  • 与 CI/CD 管道集成
  • 阻止 AI Agent 意外将密钥写入代码

Connections