What this change means
Source files changed. The change could not be classified.
Scanner deep dive
Private keys are used for securely connecting and authenticating to various systems and services. Exposure of private keys can lead to unauthorized access and data breaches.
ProviderNo provider details added yet.
Runs on any connection. Triggered by keywords in the content, after decoding.How TruffleHog works
The Private Key detector looks for a single value in text that resembles a credential. It uses the word “private key” to narrow its search.
Regex
(?i)-----\s*?BEGIN[ A-Z0-9_-]*?PRIVATE KEY\s*?-----[\s\S]*?----\s*?END[ A-Z0-9_-]*? PRIVATE KEY\s*?-----Known false positives:
What this detector does at each step of the TruffleHog pipeline.
Any one of these in the decoded text wakes the detector.
Verification. When a scan allows it, TruffleHog tests a match by calling the provider. A scan can turn this off for every detector or for this one. Atlas only describes this; it never tests credentials. How the verify decision works
Analyzer.Privatekey Analyzer
Wakes on “private key”, reads 512 bytes before and 4096 after each hit and tests matches with the provider. A default scan runs it.
The verification code lists keychecker.trufflesecurity.com as a destination. The detector decides whether a match passes using its own rules.
The detection and verification evidence on this page comes from the Open Source implementation. Check the Enterprise coverage guide for product availability.
Not expected to: it’s a GET request, which reads without changing anything, and the source declares no changes.
https://keychecker.trufflesecurity.com/fingerprint/%sSSH public key
Not found in source
If a result looks wrong, work through these steps. They’re built from the request and status rules above. The Atlas doesn’t send anything.
No command for this check. How the key is sent isn't recorded in a form that can be turned into a command.
Include the status code and response you got. Never include the key.
The CLI prints verified findings to stdout. Use --json for structured output.
Example scan output · credential redacted
✅ Found verified result 🐷🔑
Detector Type: PrivateKey
Decoder Type: PLAIN
Raw result: [redacted]Terminal printer sourceWith --github-actions, GitHub Actions displays this workflow command as a warning on the indicated file and line.
::warning file=config/example.env,line=8,endLine=8::Found verified PrivateKey result 🐷🔑GitHub Actions printer sourceLegacy compatibility. --json-legacy writes pre-v3 JSON for Git, GitLab, and GitHub sources only.
When Enterprise verifies that a secret is live, a configured notifier can alert your team. The finding is also available through the Enterprise API.
Optional analysis
In Open Source, run trufflehog analyze separately from the scan. Enterprise runs enabled self-discovery analyzers on first discovery of a supported live secret.
Its access model is withheld until it is re-checked against the current source.
17 permission names in source
Alert delivery has no documented ordering relative to analysis. How Analyze runs.
Atlas has no rotation guide for this detector.
TruffleHog’s source doesn’t name a token type or require a fixed prefix for this detector.
Written in the detector’s source by its authors. Shown as written: this doesn’t say what each page covers.
4 scanners have a confirmed match.
github_ssh_private_keyPush protection yes · Validity check yesbetterleaks.private-keyThe rule declares validation.1 recorded change since Sep 18, 2026; 1 still needs review.
Source files changed. The change could not be classified.
Facts on this page were read from trufflesecurity/trufflehog at commit 2325546.