The bug screenshot looks harmless — a settings panel, a form error, a map view — and it goes into a public GitHub issue. The file is a JPEG or a phone screenshot that still carries EXIF: GPS, a device model, a timestamp, sometimes a software version. A reviewer can see the UI, and anyone who downloads the attachment can read the metadata too. Someone says they will "strip it later" and the original file stays attached.

I've started treating EXIF on a public attachment as a leak, not as a formatting detail. Cropping or blurring the pixels is not the same job. Location and camera metadata live in the file headers, and they survive a crop if you never strip them.

This is not a request to scrub every internal screenshot. If the issue is private and the team already treats attachments as internal, follow that. The habit is to check the file before it becomes a public URL.

When stripping EXIF is actually needed

Good fit:

  • A phone or camera photo attached to a public issue, PR, or docs page
  • A JPEG screenshot that still has GPS or device tags
  • A marketing or README photo that will be copied off the repo

Poor fit:

  • A PNG you already exported from a tool that writes no EXIF
  • Redacting on-screen content (emails, tokens, customer names) and calling that a metadata strip
  • Uploading the original to a random hosted converter "just to clean it"

If the screenshot itself shows a home address or a personal dashboard, blur or crop that first. Then strip the metadata so the cleaned file does not reattach the location in the headers.

A simple metadata policy

  • Check public image attachments for EXIF before you post them
  • Strip location and camera tags when the file still has them
  • Do not attach both the original and the cleaned file "just in case"
  • Keep the format the folder already expects, usually PNG for UI screenshots

Paste this expectation into the prompt when the agent is attaching a capture to a public issue.

Strip EXIF in the tab, then attach the cleaned file

You want a local pass: open the image, remove the metadata, and download the cleaned file. No reason to send a product screenshot to a hosted converter you will not look at again.

When you are already in the browser, an in-tab EXIF stripper is enough. EXIF stripper strips location and camera metadata from JPEG, PNG, WebP, or GIF and lets you download a cleaned file without leaving the tab. Handy for one public issue or PR image. If the team already has a CLI or a git hook for this, use that as the source of truth.

Caveats: stripping EXIF does not hide text or UI that is visible in the pixels. And some pipelines re-encode the image; confirm the downloaded file is the one you attach, not a second copy of the original.

If the agent already attached a phone photo, the review question is not "can I see the bug?" It is "does this public file still carry a location or a device tag?"

Reject / send back

Reject

  • A public issue or PR image that still carries GPS or device EXIF
  • Both the original and the cleaned file committed or attached
  • A hosted conversion of a screenshot that did not need to leave the machine
  • A crop or blur that leaves the original metadata in the file

Accept

  • A public attachment with location and camera metadata removed
  • A PNG that never had EXIF and was left alone
  • A repo hook or script that strips EXIF on attach, when that is already the team contract