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
Maps a provider role · 3 methods
Reads the key’s role or product from the provider, then looks up its permissions in a fixed table.
Finds the key in its own API key list and looks up its permission from the key type in a fixed table. Team keys can't list API keys, so they get no permission.
Show evidence
Finds the key's own entry in GET /v1/api_keys by prefix and maps its key type through keyTypePermissions (PERSONAL to full_access, GRID and WORKSPACE_INVOKE to invoke, and so on). Team keys can't list API keys, so they get no permission binding.
Access method detailsReads the products on the item and maps each one to a set permission level.
Show evidence
Reads the item's products and maps each to a fixed permission level.
Access method detailsReads the user’s roles and looks up permissions in a fixed role table.
Show evidence
Reads the user's roles and maps them through a fixed role-to-permission table.
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.