Skip to content
SPECIFICTION
Get listed

ggshield vs TruffleHog

ggshield

gitguardian.com

TruffleHog

trufflesecurity.com

Side by side

FigureggshieldTruffleHog
Price fromFreeFree
Free planYesYes
Free trialYes—
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
APIYes—
Self-hostedYesYes
Plans published32
Spec score · Secrets Scanning Software8.1 (#6)7.5 (#17)
CompanyGitGuardian says it was founded in Paris in November 2017.Truffle Security Co. identifies itself as the company behind TruffleHog, and its website footer says “Since 2021.”
DetectionThe documentation says ggshield detects more than 600 types of secrets.It scans version history across branches and can find secrets in comments, Docker images, and other locations beyond repositories.
Founded20172021
Operating systemsggshield works on macOS, Linux, and Windows; the standard installation requires a supported, non-end-of-life Python version and Git, except when using standalone packages.The project documents Homebrew installation for macOS, Windows Docker examples, and binary releases; its installer supports Darwin, Linux, and Windows on amd64 and arm64.
Purposeggshield is GitGuardian’s command-line application for detecting and preventing hardcoded secrets before code is pushed.TruffleHog scans code repositories and other sources to find exposed secrets, passwords, and sensitive keys.
SupportGitGuardian directs users to the official GitHub repository to report bugs or request features.The Enterprise plan lists deployment and onboarding support plus ongoing priority technical support.

Plans

ggshield

  • StarterFree
  • BusinessPriced on request
  • EnterprisePriced on request

ggshield pricing →

TruffleHog

  • Open-sourceFree
  • EnterprisePriced on request

TruffleHog pricing →

In their own words

ggshield

ggshield is GitGuardian’s command-line tool for finding hardcoded secrets before code is pushed. It can scan local files and repositories, run before commits or in CI pipelines, and act as a pre-receive hook for self-managed version control. It also scans Docker image layers, build arguments, and Dockerfiles. GitGuardian’s documentation describes detection for more than 600 secret types. The open-source CLI uses a closed-source secrets detection library behind GitGuardian’s public API. It runs on macOS, Linux, and Windows, with API and self-hosted options. Standard installation needs Git and a supported, non-end-of-life Python version; standalone packages are an exception. Scans require an API key for a GitGuardian workspace, and the login command can provision and store a personal access token. Files over 1 MB are ignored, and API calls accept up to 20 documents each. The free Starter plan is free, billed Always; it includes up to 25 developers, 10K API calls per month, up to 500 historical scan detections, and unlimited real-time scanning.

Visit gitguardian.com

TruffleHog

TruffleHog scans code repositories and other sources for exposed secrets, passwords, and sensitive keys. It checks version history across branches and can find credentials in comments and Docker images, among other locations. For detected credentials, it checks the relevant protocol or API to determine whether they are live, helping reduce false positives. Its Analyze feature identifies the resources and permissions associated with API keys and other secrets without requiring access to a provider’s user interface. Pre-commit and pre-receive hooks can scan changes before they are committed. Alerts can point to credential-rotation actions and security guidance. Integrations include GitHub, GitLab, Bitbucket, Gerrit, Docker, Jenkins, Slack, Teams, Jira, Confluence, Google Drive, S3, and SharePoint, among others. Notifications can go to Slack, Jira, Splunk, webhooks, email, or stdout. The open-source plan costs nothing and includes 800+ secret detectors.

Visit trufflesecurity.com