Skip to content
Supported/Secrets

TruffleHog + AppGuard

Scan Git repositories for credentials and sensitive information with deep content analysis and entropy detection.

What is TruffleHog?

TruffleHog is an open source secret scanning tool by Truffle Security that finds exposed credentials in git repositories, S3 buckets, GCS buckets, filesystems, and more. Unlike basic regex scanners, TruffleHog uses entropy analysis and verified detection to reduce false positives. It supports 700+ secret detectors for known credential formats.

Supported result formats

JSON

Integrate TruffleHog with AppGuard

1

Install TruffleHog

Install TruffleHog via the official script or Docker.

brew install trufflehog
2

Scan your repository

Run TruffleHog against your git repo.

trufflehog git file://. --json > results.json
3

Push to AppGuard

Send the results to AppGuard.

curl -X POST "$APPGUARD_PUBLIC_URL/api/ingest" \
  -H "X-Api-Token: $API_TOKEN" \
  -F "[email protected]"

What AppGuard adds to TruffleHog

Secret severity classification

Automatic severity assignment based on secret type and verification status.

Remediation workflow

Track secret rotation and remediation progress with assignments and due dates.

Cross-scanner context

See secrets alongside SAST and SCA findings for complete code risk assessment.

Track TruffleHog results with AppGuard

Self-host AppGuard and connect TruffleHog in minutes. AGPLv3 licensed, full data ownership.

Frequently Asked Questions

What is the difference between TruffleHog and Gitleaks?
TruffleHog uses entropy analysis and verified detection for higher accuracy, while Gitleaks uses regex patterns for faster scanning. TruffleHog also supports non-git sources like S3 buckets. Many teams use both for comprehensive coverage.
Does TruffleHog support GitHub Enterprise?
Yes. TruffleHog can scan GitHub, GitHub Enterprise, GitLab, Bitbucket, and Azure DevOps repositories.