Scanner deep dive
How analyzers decide what a key can do
Each TruffleHog analyzer works out what a key can do in one of a few ways. Some analyzers use a different method for each key type, so the 43 analyzers shown use 47 methods in total. This shows how TruffleHog’s code works, not what a provider actually grants. No credential was tested.
AI-assisted classification · Pinned revision db665f0c24c6 · Classified 2026-11-16 · 1 withheld because their source changed or can’t be confirmed
Tests each permission · 14 methods
Tries each permission against the provider and records whether it was allowed or denied.
Calls a test endpoint for each scope.
Show evidence
Also: Reads from provider
Runs the HTTP test for each scope listed in scopes.json.
Show evidence
Also: Assumes a partial set
Runs the HTTP test for each scope listed in scopes.json.
Show evidence
Runs the HTTP test defined for each scope in scopes.json.
Access method detailsCalls a test endpoint for each permission and marks it allowed or denied. Some granted scopes also mark related scopes as granted.
Show evidence
Calls a test endpoint per permission and marks it granted or denied.
Access method detailsCalls read (GET) and delete (DELETE) endpoints for each permission and checks the status code.
Show evidence
Calls read and delete endpoints per permission and reads the status code.
Access method detailsCalls one endpoint per scope. On the first denial, it reads the granted scopes from the error message and stops.
Show evidence
Calls one endpoint per scope; on the first denial it reads the granted scopes from the error message and stops.
Access method detailsTests each permission on each repository with a dedicated check.
Show evidence
Tests each permission per repository through a dedicated check function.
Access method detailsAlso: Reads from provider
Runs each permission test listed in tests.json.
Show evidence
Runs the HTTP test for each scope listed in scopes.json.
Show evidence
Runs the tests for each scope.
Show evidence
Also: Assumes full access
Runs the HTTP test for each scope listed in scopes.json.
Show evidence
Runs HTTP tests for each scope, including branch and backup scopes.
Show evidence
Runs HTTP tests per scope, including branch and backup scopes.
Access method detailsFor each scope, runs its write test when one exists, otherwise its read test.
Show evidence
Runs the tests in restricted.yaml for every key type. The CLI shows “Full Access” for secret keys, but the result still comes from the tests.
Show evidence
Runs the restricted.yaml tests for every key type. The CLI prints "Full Access" for secret keys without listing; the result still comes from the tests.
Access method details
Withheld · 1
These analyzers’ source changed since they were classified, or this catalog can’t confirm it hasn’t. Their classification is not shown until it is re-checked.
Limits
Describes how TruffleHog assigns permissions, not what a provider actually grants. "assumes_full_access" is TruffleHog's model; providers may still limit a key by the owner's role.
An entry is shown only while its analyzer folder’s source hash matches the hash it was classified against.