{"schemaVersion":1,"id":"trufflehog","name":"TruffleHog","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/trufflehog/","officialUrl":"https://github.com/trufflesecurity/trufflehog","isCatalog":false,"description":"A credential scanner for source code and related sources: it helps find secrets and assess their risk in development workflows.","tasks":["Find accidentally published repository credentials","Inspect findings and determine which credentials require revocation and replacement"],"categoryIds":["software","infrastructure"],"subcategoryIds":["software.cli","infrastructure.developer"],"tags":["TruffleHog","CLI","Development"],"aliases":["trufflesecurity/trufflehog","trufflehog","secret-scanner"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under AGPL-3.0.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"AGPL-3.0 for the code; copyleft obligations apply to a modified version accessed over a network.","selectionGuide":{"purpose":"Find accidentally published repository credentials","chooseWhen":["Find accidentally published repository credentials","Inspect findings and determine which credentials require revocation and replacement"],"considerInstead":[],"requirements":["The README's Docker commands require running Docker. A local Git repository is cloned to a temporary directory by default to reduce risks from its configuration."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: AGPL-3.0 for the code; copyleft obligations apply to a modified version accessed over a network.","Unknown does not mean the secret is invalid. SARIF accumulates results in memory until scanning ends. Exit code 183 for detected secrets is used with --fail; error 1 may indicate an incomplete scan."],"faq":[{"question":"What can you use for free in TruffleHog?","answer":"Code and local use under AGPL-3.0."},{"question":"What additional costs might arise with TruffleHog?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for TruffleHog?","answer":"AGPL-3.0 for the code; copyleft obligations apply to a modified version accessed over a network."},{"question":"How do you get started with TruffleHog?","answer":"Choose a repository or another supported source for secret scanning. Inspect findings and determine which credentials require revocation and replacement. Save the working command or script and the result criteria."},{"question":"What do verified, unknown, and unverified mean in TruffleHog?","answer":"Verified means successful secret verification with the provider; unknown means a verification error; unverified means a detected but unconfirmed secret. Verification contacts the provider's service; disable it with --no-verification."}],"related":[],"sources":["https://github.com/trufflesecurity/trufflehog","https://raw.githubusercontent.com/trufflesecurity/trufflehog/HEAD/README.md","https://raw.githubusercontent.com/trufflesecurity/trufflehog/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Find accidentally published repository credentials.","inputs":["Project files or environment.","A shell and supported platform."],"steps":["Choose a repository or another supported source for secret scanning.","Inspect findings and determine which credentials require revocation and replacement.","Save the working command or script and the result criteria."],"checks":["The command correctly handles paths, Unicode, and invalid inputs.","Repeat runs behave predictably; credentials do not appear in the output."]},"sources":["https://github.com/trufflesecurity/trufflehog","https://raw.githubusercontent.com/trufflesecurity/trufflehog/HEAD/README.md","https://raw.githubusercontent.com/trufflesecurity/trufflehog/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Developer CLI","kind":"tool","pricingNote":"Code and local use under AGPL-3.0. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/trufflesecurity/trufflehog","label":"Official source"},{"url":"https://raw.githubusercontent.com/trufflesecurity/trufflehog/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/trufflesecurity/trufflehog/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"agpl-3","title":"AGPL 3.0 — copyleft with a network-service condition","scope":null,"summary":"Use, modification, and commercial use cases are permitted. GPL obligations apply to distribution. If you modify an AGPL-covered program and let users interact with it over a network, you must offer them the corresponding source code for that version. This applies to the covered program, not automatically to all your data or independent applications.","url":"https://opensource.org/license/agpl-3.0"}],"entryIds":[],"composition":null}