detect-secrets vs Talisman
detect-secrets
github.comTalisman
thoughtworks.github.ioSide by side
| Figure | detect-secrets | Talisman |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 1 |
| Spec score · Secrets Scanning Software | 8.5 (#3) | 7.7 (#15) |
| Integrations | The README documents installation through pip and Homebrew and integration as a pre-commit hook. | The documentation describes using Talisman with the pre-commit framework and Husky. |
| License | The repository identifies its license as Apache-2.0. | The documentation says Talisman is distributed under the MIT license. |
| Purpose | detect-secrets detects secrets in code and helps prevent new secrets from entering a codebase. | Talisman installs Git hooks that check outgoing changes for potential secrets before they leave a developer’s workstation. |
Plans
In their own words
detect-secrets
detect-secrets is a free, open-source Python module for finding secrets in codebases and helping stop new secrets from entering Git changes. It runs on Linux, macOS, and Windows, with self-hosted use documented through pip or Homebrew. Heuristic regular expressions inspect changes for newly committed secrets, alongside entropy and keyword detection. The scan command creates or updates a baseline of potential findings; hook flags new secrets; and audit lets analysts review, label, report, or compare baseline entries. Users can configure it as a pre-commit hook with the pre-commit framework. Built-in plugins and filters can be adjusted, and custom detector plugins and filters can be developed. Exclusions, matching-line or file exclusions, secret-value exclusions, and inline allowlist comments help handle false positives. The package can also be imported into Python scripts to scan files and serialize findings. Word-list filtering and gibberish detection require optional packages, and gibberish detection is disabled by default. The project uses Apache-2.0 licensing.
Talisman
Talisman is a free, open-source Git tool from ThoughtWorks that installs hooks to check outgoing changes for potential secrets before they leave a workstation. It runs as a pre-commit hook, pre-push hook, or standalone executable, with installation options for a global Git hook template, one repository, or the CLI. Detectors inspect encoded values, file contents, file sizes, high-entropy data, possible credit-card numbers, and filenames or extensions. The CLI can scan Git history for secrets that may already be committed and save reports. A .talismanrc file supports ignored files, allowed patterns, custom search patterns, and detector severity settings. Documentation describes integration with the pre-commit framework and Husky, and lists macOS, Linux, and Windows support. When a check finds a possible issue, Talisman reports the affected file and errors. It is MIT licensed and can be used in CI/CD. Documentation notes that forced-push secrets cannot be detected, and interactive ignore-file configuration is available only to non-Windows users.