Skip to content

Rank #6 of 6 in Security Scanners

TruffleHog logo

TruffleHog

Open Source

Truffle Security Co.

27.9k2.9k/yr +218

Access

Install

brewbrew install trufflehog
dockerdocker run --rm -it -v "$PWD:/pwd" trufflesecurity/trufflehog:latest github --repo https://github.com/trufflesecurity/test_keys

Compare head-to-head

Alternatives to TruffleHog

Showcase

TruffleHog homepage screenshot
homepage · captured Sep 2026 · view live ↗
TruffleHog docs screenshot
docs · captured Sep 2026 · view live ↗

Try itExperimental

See what an agent can do with TruffleHog before you ever sign up. Pick a story: recorded sessions replay real probe-harness transcripts; sandboxed self-drive sessions are designed and gated (docs/TRY-IT.md).

$trufflehog --versionrecorded session — replayed, not live
recorded 2026-09-04 · exit 0 · captured verbatim by our probe harness, secrets redacted

Verified integrations

Connections to other tracked products — hover a chip for the verbatim evidence quote behind it.

By theme — the product's score on each story themeBy theme

Agenticness — how well agents can access and operate the productAgenticnessevidence →

How well agents can access and operate the product

19.0/100

Automation depth — how much of the product can run unattendedAutomation depthevidence →

How much of the product can run unattended

24.0/100

Ci precommit — stories about ci precommit in this arenaCi precommitevidence →

Stories about ci precommit in this arena

40.6/100

Container scanning — stories about container scanning in this arenaContainer scanningevidence →

Stories about container scanning in this arena

n/a

Coverage accuracy — stories about coverage accuracy in this arenaCoverage accuracyevidence →

Stories about coverage accuracy in this arena

15.0/100

Dependency sca — stories about dependency sca in this arenaDependency scaevidence →

Stories about dependency sca in this arena

n/a

Openness — open source, data portability, and self-hosting storiesOpennessevidence →

Open source, data portability, and self-hosting stories

38.0/100

Privacy posture — data-handling and privacy storiesPrivacy postureevidence →

Data-handling and privacy stories

8.0/100

Sast rules — stories about sast rules in this arenaSast rulesevidence →

Stories about sast rules in this arena

15.0/100

Secret detection — stories about secret detection in this arenaSecret detectionevidence →

Stories about secret detection in this arena

72.7/100

Supply chain sbom — stories about supply chain sbom in this arenaSupply chain sbomevidence →

Stories about supply chain sbom in this arena

n/a

Triage noise — stories about triage noise in this arenaTriage noiseevidence →

Stories about triage noise in this arena

20.3/100

Story verdicts — every judged story with its evidenceStory verdicts

What’s free: 8 free · 0 paid · 0 enterprise · 18 not stated in evidence

?

Sorted by importance (agentic first) (high → low) · 55/55 stories · click a row’s chevron for the rationale and evidence

Drive the product through a documented public API G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness3none0/10

Connect an agent via an official MCP server G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness3n/auntestednone yet

Delegate tasks to a built-in AI assistant inside the product G

Agentic features

ai-native userAgenticness — how well agents can access and operate the productAgenticness3n/auntestednone yet

Plug MCP servers into this product so it can use their tools G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness3n/auntestednone yet

Use an official CLI G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2fullfree8/10T

Run the product headlessly / in CI for automation G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2fullfree7/10C

Set up automations that run autonomously in the background G

Agentic features

ai-native userAgenticness — how well agents can access and operate the productAgenticness2partial5/10C

Point an agent at llms.txt or agent-oriented docs G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2partial4/10T

Subscribe to events via webhooks G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2partial4/10T

Build against official SDKs G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2none0/10

Download a machine-readable API spec (OpenAPI or equivalent) G

Api quality

ai-native userAgenticness — how well agents can access and operate the productAgenticness2none0/10

Explore an interactive API reference with runnable examples G

Api quality

ai-native userAgenticness — how well agents can access and operate the productAgenticness2none0/10

Rely on versioned APIs with a documented deprecation policy G

Api quality

ai-native userAgenticness — how well agents can access and operate the productAgenticness2none0/10

Get AI-generated insights and suggestions from my data inside the product G

Agentic features

ai-native userAgenticness — how well agents can access and operate the productAgenticness2noneuntestednone yet

Issue scoped/least-privilege API credentials for an agent G

Agent access

ai-native userAgenticness — how well agents can access and operate the productAgenticness2n/auntestednone yet

Operate the product with natural-language commands G

Agentic features

ai-native userAgenticness — how well agents can access and operate the productAgenticness2n/auntestednone yet

Test against a sandbox environment without touching production data G

Api quality

ai-native userAgenticness — how well agents can access and operate the productAgenticness1none0/10

Run the scanner as a pre-commit hook so secrets and issues never enter my git history C

Pre commit

developerCi precommit — stories about ci precommit in this arenaCi precommit3full9/10C

Scan a repository and its full git history for hardcoded secrets and credentials C

Secret scanning

developerSecret detection — stories about secret detection in this arenaSecret detection3full9/10C

Self-host the core product G

ai-native userOpenness — open source, data portability, and self-hosting storiesOpenness3fullfree8/10C

Define rules that trigger actions automatically on events G

ai-native userAutomation depth — how much of the product can run unattendedAutomation depth3partial6/10C

Run scans in CI on every pull request and fail the build on new findings via exit codes C

Ci gates

devops-leadCi precommit — stories about ci precommit in this arenaCi precommit3partial6/10C

Baseline or ignore existing and false-positive findings so only new issues alert C

Fp management

security-engineerTriage noise — stories about triage noise in this arenaTriage noise3partial5/10C

Have an agent run a scan headlessly via the CLI, parse machine-readable results, and file issues for real findings G

Agent scanning

ai-native userCi precommit — stories about ci precommit in this arenaCi precommit3partialfree5/10C

Use AI to triage findings — explaining them, deduplicating, and flagging likely false positives C

Ai triage

ai-native userTriage noise — stories about triage noise in this arenaTriage noise3none0/10

Export all of my data in open formats and leave G

ai-native userOpenness — open source, data portability, and self-hosting storiesOpenness3noneuntestednone yet

Prevent my data from being used to train AI models G

ai-native userPrivacy posture — data-handling and privacy storiesPrivacy posture3n/auntestednone yet

Run static analysis that finds vulnerability classes like injection and XSS in my source code C

Code analysis

developerSast rules — stories about sast rules in this arenaSast rules3n/auntestednone yet

Scan container images for OS-package and application-layer vulnerabilities before deploying them C

Containers

devops-leadContainer scanning — stories about container scanning in this arenaContainer scanning3n/auntestednone yet

Scan my dependency manifests and lockfiles for packages with known vulnerabilities C

Sca scanning

developerDependency sca — stories about dependency sca in this arenaDependency sca3n/auntestednone yet

Define custom detection rules for my organization's internal token and secret formats C

Custom detection

security-engineerSecret detection — stories about secret detection in this arenaSecret detection2full9/10C

Have detected secrets verified against the issuing service so I know which ones are live C

Secret scanning

security-engineerSecret detection — stories about secret detection in this arenaSecret detection2full9/10C

Read the product's source under an open license G

ai-native userOpenness — open source, data portability, and self-hosting storiesOpenness2fullfree7/10T

Filter and gate on findings by severity or confidence so low-value noise does not block builds C

Fp management

developerTriage noise — stories about triage noise in this arenaTriage noise2partial6/10C

Perform bulk operations across many items at once G

ai-native userAutomation depth — how much of the product can run unattendedAutomation depth2partialfree5/10C

Scan projects across all the major languages and package ecosystems my organization uses C

Coverage

developerCoverage accuracy — stories about coverage accuracy in this arenaCoverage accuracy2partial5/10C

Wire the scanner into my coding agent so AI-generated code is scanned for issues before it lands C

Agent scanning

ai-native userCi precommit — stories about ci precommit in this arenaCi precommit2partialfree5/10C

Write custom static-analysis rules in a simple syntax and share them across repositories C

Custom rules

security-engineerSast rules — stories about sast rules in this arenaSast rules2partial5/10C

Choose where my data is stored (region/residency) G

ai-native userPrivacy posture — data-handling and privacy storiesPrivacy posture2partial4/10C

Scan non-git sources like S3 buckets, Docker images, and CI logs for leaked secrets C

Secret scanning

security-engineerSecret detection — stories about secret detection in this arenaSecret detection2disputed4/10D

Apply suggested or automatic code fixes for findings instead of only reading reports C

Fix suggestions

developerSast rules — stories about sast rules in this arenaSast rules2none0/10

Do everything through the API that I can do in the UI G

ai-native userOpenness — open source, data portability, and self-hosting storiesOpenness2none0/10

Schedule recurring jobs or workflows G

ai-native userAutomation depth — how much of the product can run unattendedAutomation depth2none0/10

Control data retention and deletion G

ai-native userPrivacy posture — data-handling and privacy storiesPrivacy posture2noneuntestednone yet

Detect taint-style vulnerabilities that flow across files and function boundaries C

Code analysis

security-engineerSast rules — stories about sast rules in this arenaSast rules2n/auntestednone yet

Emit scan results in machine-readable formats like JSON or SARIF for downstream tooling C

Output formats

developerCoverage accuracy — stories about coverage accuracy in this arenaCoverage accuracy2nonefreeuntestednone yet

Generate a software bill of materials (SPDX or CycloneDX) for my project or image C

Sbom

security-engineerSupply chain sbom — stories about supply chain sbom in this arenaSupply chain sbom2n/auntestednone yet

Get concrete upgrade paths or automated fix pull requests that remediate vulnerable dependencies C

Dependency fixes

developerDependency sca — stories about dependency sca in this arenaDependency sca2n/auntestednone yet

Have AI draft remediation pull requests for security findings that I review and merge C

Ai remediation

ai-native userSast rules — stories about sast rules in this arenaSast rules2n/auntestednone yet

Opt out of telemetry and usage tracking G

ai-native userPrivacy posture — data-handling and privacy storiesPrivacy posture2noneuntestednone yet

Prioritize dependency alerts by whether the vulnerable code is actually reachable from my code C

Sca scanning

security-engineerDependency sca — stories about dependency sca in this arenaDependency sca2n/auntestednone yet

Scan Terraform, Kubernetes, and other IaC files for security misconfigurations C

Iac misconfig

devops-leadContainer scanning — stories about container scanning in this arenaContainer scanning2n/auntestednone yet

See scan findings surfaced as pull-request comments or checks in GitHub or GitLab C

Ci gates

developerCi precommit — stories about ci precommit in this arenaCi precommit2noneuntestednone yet

Detect the licenses of my dependencies and enforce a license policy in scans C

Licenses

devops-leadSupply chain sbom — stories about supply chain sbom in this arenaSupply chain sbom1n/auntestednone yet

Version, review, and roll back my automations G

ai-native userAutomation depth — how much of the product can run unattendedAutomation depth1n/auntestednone yet

Opportunities — the stories that would move this product's scores, from its own judged verdictsOpportunitiestop 8 of 29 stories with headroom

What would move TruffleHog’s scores — derived from its own judged verdicts, biggest headroom first. Each line quotes what the judge found missing; shipping it (or evidencing it publicly) is the fix.

  1. Agenticness — how well agents can access and operate the productDrive the product through a documented public API

    nonemoves agent-readyimpact 45

    No evidence of a documented public API (REST/GraphQL/SDK) for programmatically driving TruffleHog; probes for llms.txt and openapi/swagger specs both 404, and only CLI flags/config and a webhook for custom-detector verification are documented, not a driving API.

  2. Triage noise — stories about triage noise in this arenaUse AI to triage findings — explaining them, deduplicating, and flagging likely false positives

    nonemoves PA Scoreimpact 30

    TruffleHog's evidence shows credential verification, classification, and permission analysis (analyzer) to reduce false positives, but none of this involves AI/LLM-based explanation, deduplication, or triage of findings — it's rule-based verification, not AI reasoning.

  3. Openness — open source, data portability, and self-hosting storiesExport all of my data in open formats and leave

    nonemoves PA Scoreimpact 30

    The evidence covers scanning, detection, verification, and hosted/self-hosted deployment options, but there is no documentation of any data export feature, open export format, or migration/exit path for users of the hosted platform or CLI findings store.

  4. Agenticness — how well agents can access and operate the productGet AI-generated insights and suggestions from my data inside the product

    nonemoves Built-in AIimpact 30

    TruffleHog is a secrets-scanning/detection tool; the evidence pack describes verification, classification, and analyzer features but no AI-generated insights, summaries, or suggestions surfaced to users—no LLM-based feature is mentioned anywhere.

  5. Agenticness — how well agents can access and operate the productBuild against official SDKs

    nonemoves agent-readyimpact 30

    The evidence pack documents TruffleHog's CLI, Docker image, detectors, and API-like analyzer features, but contains no mention of an official SDK (Python, JS, Go client library, etc.) for developers to build against; probes for OpenAPI specs also returned 404s, indicating no such offering.

  6. Agenticness — how well agents can access and operate the productExplore an interactive API reference with runnable examples

    nonemoves API qualityimpact 30

    TruffleHog is a CLI/scanning tool with docs and CLI examples, but there is no evidence of an interactive API reference (e.g., Swagger/OpenAPI explorer) with runnable examples; the openapi probe explicitly returned 404s for all candidate API spec paths and no interactive docs are mentioned.

  7. Agenticness — how well agents can access and operate the productDownload a machine-readable API spec (OpenAPI or equivalent)

    nonemoves API qualityimpact 30

    A direct probe for OpenAPI/swagger endpoints returned 404 for all candidate paths, and no evidence anywhere in the pack points to a downloadable machine-readable API spec.

  8. Agenticness — how well agents can access and operate the productRely on versioned APIs with a documented deprecation policy

    nonemoves API qualityimpact 30

    No evidence of versioned APIs or a documented deprecation policy; probe results show no OpenAPI spec found (404s across all candidate paths), and no docs mention API versioning or deprecation practices.

Showing the top 8 of 29 — every none/partial verdict in the story verdicts table is headroom.

Think a verdict is wrong? Every verdicts-table row has a Flag link — see the methodology.

Coverage map — which docs area, API section, or community source covers which judged storiesCoverage map7 surfaces · 22 covered stories

Where the cited evidence behind each covered verdict came from — the same citations the verdicts table shows, no extra judging.

Probe proofs — replayable recordings from the probe harnessProbe proofs

Replayable recordings from our probe harness — see the Prove-It protocol to submit one.

$trufflehog --versionreproduced
$ trufflehog --version
trufflehog 3.97.4
proves: Use an official CLIrecorded 2026-09-04

Claims vs evidence — vendor claims reconciled against independent verdictsClaims vs evidence

2 of 12 testable claims verified · 2 contradictedintegrity 0/100

28 distinct capability claims found in TruffleHog’s own claimed-docs/GitHub materials, reconciled against our judge’s independent verdicts.

2

Verified

8

Unverified

2

Contradicted

11

Undersold

Verified (3)
Unverified (20)
Contradicted (4)
Undersold (11)
Claims outside our story set (4)

Real capability claims found in TruffleHog’s own materials, but no story in this arena’s taxonomy covers them yet — that’s feedback on the taxonomy, not a mark against the product.

  • Analyze command investigates a secret's creator, accessible resources, and permissions

    source ↗
  • Onboarding flow connects a source and streams findings into a web UI

    source ↗
  • Checksums for release artifacts are signed with cosign for supply-chain integrity

    source ↗
  • Product page describes offering SSO (SAML2.0/OAuth2.0) and role-based access control

    source ↗
Suggest a story for these →

Business model

open-sourceenterprise-custom

TruffleHog OSS (AGPL-3.0) is free; Truffle Security sells TruffleHog Enterprise with managed or self-hosted scanners, secret analysis, and remediation workflows.

pricing ↗

Score trend

How this product’s scores have moved as evidence and verdicts are re-derived — a point per change, not per day.

PA Score21 (Sep 4 '26)23 (Sep 16 '26)
Agent-ready24 (Sep 4 '26)31 (Sep 16 '26)

Try Experimental

Run it in the microterminal →

Recorded agent sessions — and a live MCP handshake where the vendor ships one.

Flag

⚑ Flag a verdict

Think a verdict is wrong? Opens a prefilled GitHub issue — or use the ⚑ next to any verdict above.

Badge

Embed this product's score badge →

Hotlinked SVG — always shows the live current score.

For agents

Data