---
title: "TruffleHog: Stores Scanned, Detection and Scan Cost"
description: "TruffleHog record: free AGPL-3.0 secret scanner, 6 of 8 store kinds documented, 700+ verifying detectors, no personal-data detection, no open-source price."
url: https://sensitivedatadiscoverytools.com/tools/trufflehog/
canonical: https://sensitivedatadiscoverytools.com/tools/trufflehog/
reviewed: 2026-12-04
last_updated: 2026-12-04
---

# TruffleHog: free secret scanner that verifies credentials live

TruffleHog is a free AGPL-3.0 command-line tool that finds credentials, not personal data[[1]](https://api.github.com/repos/trufflesecurity/trufflehog) [[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). It scans git, cloud storage, Docker images, the filesystem, Elasticsearch and several SaaS sources, which covers 6 of the 8 kinds of data store, and the open-source edition has no price[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md).

Last reviewed December 4, 2026.

## At a glance

- The latest release, v3.100.1, was published November 23, 2026, and the last commit on the default branch is dated December 4, 2026[[3]](https://api.github.com/repos/trufflesecurity/trufflehog/releases/latest) [[4]](https://api.github.com/repos/trufflesecurity/trufflehog/commits?per_page=1).
- The repository had 29,877 GitHub stars on December 4, 2026 and is not archived[[1]](https://api.github.com/repos/trufflesecurity/trufflehog).
- With the --fail flag, TruffleHog exits with code 183 when results are found[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md).

## Where TruffleHog can look

Subcommands scan git, GitHub, GitLab, Hugging Face, Docker, S3, GCS, the filesystem, syslog, CircleCI, Travis CI, Postman, Jenkins, Elasticsearch and stdin[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). GitHub scans cover organizations, repositories, issues and pull requests, and the alpha github-experimental --object-discovery command scans deleted and hidden commits[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). Docker images can be scanned from a remote registry, the local daemon or a tarball[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). The only database target the README names is Elasticsearch; it names no warehouse[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). The README points to a separate TruffleHog Enterprise product for continuous monitoring of Jira, Slack, Confluence, Microsoft Teams and SharePoint; those sources are not in the open-source subcommand list, and the enterprise product is not covered here[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md).

Table: Kinds of data store TruffleHog documents

| Kind of store | Named in the documentation | Source |
|---|---|---|
| Object storage | Amazon S3, Google Cloud Storage | [[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md) |
| Databases | Elasticsearch | [[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md) |
| Warehouses | None found in the pages cited | [[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md) |
| SaaS apps | Postman, Jenkins, CircleCI, TravisCI, Hugging Face | [[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md) |
| File shares | None found in the pages cited | [[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md) |
| Endpoints | local filesystem (files and directories) | [[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md) |
| Code repos | git, GitHub, GitLab, Docker images | [[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md) |
| Logs | syslog | [[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md) |

## How it detects sensitive data

The README says TruffleHog classifies over 800 secret types, and its v3 notes say over 700 detectors support active verification against the provider's API[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). The pkg/detectors directory held 896 subdirectories on December 4, 2026; that is a directory count, not an official detector count[[5]](https://api.github.com/repos/trufflesecurity/trufflehog/contents/pkg/detectors). Each result is marked verified (the API accepted the credential), unverified (found but not confirmed) or unknown (verification failed on a network or API error)[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). The analyze subcommand sends further requests for about 20 common credential types to list the permissions and resources a key can reach[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). Custom regex detectors (alpha) are defined in a configuration file; they verify through a webhook that must return 200 OK, and without a verify block they report matches as unverified[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). The README publishes no accuracy figure, and TruffleHog has no personal-data detectors[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md).

## What a scan costs

The open-source edition is free under AGPL-3.0 and the README publishes no price for it[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). S3 scans can be limited by key prefix or file extension, and a skipped object costs no GET request[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). In CI, --since-commit and --branch limit a git scan to the commits on a branch[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). Archive scanning has maximum size, depth and timeout flags[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). It runs on the user's own machine or CI runner, with 12 concurrent workers by default[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). Unauthenticated GitHub scans are rate-limited, and a personal access token raises the limits[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). The README gives no throughput figure for normal scans; it says enumerating deleted and hidden GitHub commits takes between 20 minutes and a few hours[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md).

## Finding data stores nobody listed

It has no discovery of unlisted stores: it scans the sources the user names, and a GitHub --org scan lists and scans every repository in that organization[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md).

## Deployment and where the data goes

It is a Go command-line program, also available as a GitHub Action and a pre-commit hook[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). Verification sends each candidate credential to the provider's API; the --no-verification flag turns this off, and results are then reported as unverified[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). Local git repositories are cloned to a temporary directory before scanning, a guard against malicious git configurations (CVE-2025-41390)[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md).

## Output: exports, APIs and integrations

Results can be written as plain text, JSON, GitHub Actions annotations or SARIF for upload to GitHub code scanning; SARIF is held in memory until the scan ends[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). The --results flag limits output to verified, unverified or unknown results[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md). The README names no catalog, ticketing, SIEM or data subject request integration[[2]](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md).

## Sources

1. [GitHub API repo](https://api.github.com/repos/trufflesecurity/trufflehog)
2. [README](https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md)
3. [Latest release](https://api.github.com/repos/trufflesecurity/trufflehog/releases/latest)
4. [Last commit](https://api.github.com/repos/trufflesecurity/trufflehog/commits?per_page=1)
5. [Detector directory](https://api.github.com/repos/trufflesecurity/trufflehog/contents/pkg/detectors)
