Secret detection
The kinds of secrets and personal details Glimmer finds in captures, and how to choose which ones it looks for.
Glimmer reads the text in a capture (and looks for faces and codes) to find things you probably don’t want to share. It does this on your Mac. It runs:
- when you click Detect on the editor’s Redact tab,
- when the editor opens, if Settings ▸ Privacy ▸ Find secrets when the editor opens is on,
- before every upload, as part of the leak check.
What it finds#
| Kind | Examples |
|---|---|
| API key | Keys from AWS, GitHub, GitLab, Slack, Discord, Stripe, Google, Anthropic, OpenAI-style keys, Hugging Face, Twilio, SendGrid, npm, PyPI, DigitalOcean, Shopify, Mailgun, Telegram, Azure and more |
| Token | Bearer and basic auth headers, credentials inside URLs |
| JWT | JSON Web Tokens |
| Private key | PEM private keys |
| Password | password = … and similar assignments |
| Possible secret | Long random-looking strings |
| Email addresses | |
| Phone number | Phone numbers |
| Card number | Payment card numbers that pass the checksum |
| IBAN | Bank account numbers |
| IP address | IPv4 addresses (version numbers aren’t mistaken for them) |
| Face | People’s faces |
| QR/barcode | Codes, which can hold Wi-Fi passwords or two-factor seeds |
| Name | People’s names. Off by default: it flags many ordinary words. |
Choose what to look for#
Settings ▸ Privacy ▸ What to look for has a switch for each kind. Personal names is the only one off by default.
Allowed values holds values you marked Don’t flag this again in a leak check, kept only as keyed hashes, never as the values themselves. Clear empties the list.
Limits#
Detection works on the text Glimmer can read. Very small, blurry or stylised text may be missed, so look over a capture before you share it. Possible secrets found only because they look random are never treated as sure findings.
Next#
Something missing or unclear? Write to [email protected].