Skip to content
SPECIFICTION
Get listed

ggshield vs Secretlint

ggshield

gitguardian.com

Secretlint

github.com

Side by side

FigureggshieldSecretlint
Price fromFreeFree
Free planYesYes
Free trialYes—
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
APIYes—
Self-hostedYes—
Plans published31
Spec score · Secrets Scanning Software8.1 (#6)7.5 (#16)
Purposeggshield is GitGuardian’s command-line application for detecting and preventing hardcoded secrets before code is pushed.Secretlint is a pluggable linting tool to find credentials in projects and prevent committing them.
Scanningggshield can scan local files and repositories, run as a pre-commit hook, run in CI, and run in a pre-receive hook for self-managed version control instances.The CLI scans files or glob patterns and supports stdin input.
SupportGitGuardian directs users to the official GitHub repository to report bugs or request features.The README directs users to create a GitHub issue for bugs and feature requests.

Plans

ggshield

  • StarterFree
  • BusinessPriced on request
  • EnterprisePriced on request

ggshield pricing →

Secretlint

  • SecretlintFree

Secretlint 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

Secretlint

Secretlint is a free, MIT-licensed, open-source linting tool for finding credentials in projects and helping prevent commits that contain them. Its command-line interface scans files, glob patterns, or standard input. Detection rules are separate modules, and custom rules can be distributed as npm packages. Secret values are masked in lint error messages by default, reducing exposure in terminal output and logs. Secretlint supports Git workflows, including pre-commit integrations with Husky and lint-staged, pre-commit, and Git hooks. Documentation covers GitHub Actions checks and pull-request annotations through the GitHub formatter. Listed integrations also include Mega-Linter, SARIF formatting, a browser extension, and a macOS clipboard app. The WebExtension works with Chrome and Firefox DevTools to help notice credentials in requests and responses. Installation options include Node.js, Docker, or a single executable without Node.js; the Node.js route requires version 22 or later. It detects secrets but does not automatically fix them.

Visit github.com