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

19 lines
557 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "TruffleHog"
type: entity
tags: [security, secret-scanning, devops]
date: 2026-04-16
---
## Overview
TruffleHog 是 Git 预推送钩子工具,检测代码和配置中硬编码的 API key、token、密码等密钥信息防止敏感信息泄露到远程仓库。
## Key Use Case
- 在 git push 前扫描所有文件中的硬编码密钥
- 与 CI/CD 管道集成
- 阻止 AI Agent 意外将密钥写入代码
## Connections
- [[Self-Healing-Home-Server]]:家庭基础设施安全的必要组件
- [[DevSecOps]]DevOps 安全支柱工具