Skip to content

How to share a screenshot in a bug report without leaking secrets

By RedactSnap · · Updated

Bug reports, support tickets and forum posts are full of screenshots of terminals, logs and dashboards. Those screenshots often show API keys, access tokens, customers' emails and internal URLs, and public issue trackers are indexed and scraped. Hide them with solid boxes before you post, and rotate any secret that was ever visible.

What to hide in a bug report screenshot

  • API keys, tokens, passwords and private keys, including those in config output and environment variables.
  • Session cookies and Authorization headers in network panels.
  • Customers' names, emails and IDs in logs and dashboards.
  • Internal hostnames, IP addresses and file paths, if your organisation treats them as sensitive.
  • Tabs, bookmarks and notifications around the edge of the screen.

Redact it with Screenshot Studio

Screenshot Studio reads the screenshot with OCR on your device and boxes API keys and tokens, high-entropy strings, emails, phone numbers, card and account numbers, and names. The screenshots use a fictitious log.

  1. Step 1: Open redactsnap.com/studio and drop in the screenshot. Wait a moment while the text is read on your device. Detected keys, emails and other items are boxed, grouped under "Hide automatically".

  2. Step 2: Switch the style from Blur to Solid box. Blur is the default, and blurred keys can sometimes be recovered.

    Screenshot Studio with the API key and the customer's email covered by solid boxes in a sample log
  3. Step 3: Drag on the image to cover anything it missed, then click Save PNG, or Copy image to paste straight into the issue.

    The saved screenshot with the API key and the request URL containing the email covered
  4. Step 4: If a real secret was ever in a screenshot you shared, rotate it now. Redacting a later copy doesn't undo the leak.

Try it on your own file

Both tools run in your browser. The image is not uploaded.

Frequently asked questions

Does Screenshot Studio detect every kind of key?

It recognises common formats (AWS, Stripe, Slack, Google Cloud, GitHub, private keys), assignments like api_key=…, and other high-entropy strings. Check the result by eye before you post.

Why not just blur the key?

Blurred and pixelated text has been recovered by matching it against rendered guesses, and keys use a known character set and font. Use a solid box.

Does it work on dark-mode terminals?

Yes. Studio reads dark-mode and coloured areas in a second pass, redrawn as dark text on white. OCR can still misread a character, so if something isn't boxed, drag a box over it by hand.

Is my screenshot uploaded?

No. OCR and detection run in your browser, and no copy is sent to a server.