· Updated · 7 min read
Safe PR screenshots when AI agents do the pushing: a PixelLeak checklist
AI coding agents pushed 13,000+ internal screenshots to public GitHub. A paste-ready checklist for teams that attach screenshots to pull requests.
By Cleanss team
If an AI coding agent attaches screenshots to your pull requests, assume it will find a way to host them, and that the way may be a public repository. Below is a checklist you can paste into CONTRIBUTING.md.
For the full pre-share checklist, see How to share a screenshot without leaking anything.
What PixelLeak is
On 29 September 2026, The Register reported that Glow Security had found more than 13,000 sensitive screenshots of corporate software projects posted to public GitHub repositories by AI coding agents, from 343 organizations. The images contained personal information, credentials and unreleased product details. In one case, an internal billing screen from a manufacturer with more than 100,000 employees sat on a developer's personal GitHub account until Glow reported it; the security team had not known.
Where the images ended up matters as much as what was in them. Help Net Security puts the spread at more than 900 repositories across over 300 organizations, and says that in 93 percent of cases the images were placed in repositories created under employees' personal usernames. That is outside anything the security team watches.
About a third of the images came through gitshot, an open-source screenshot tool for code reviews. Its README already says what every team should: "Do not upload sensitive content (credentials, internal dashboards, private data)". The warning was there; the agent did not treat it as a rule.
One caveat: Glow sells endpoint security and, as CPO Magazine notes, has not published how it found or counted the images. The mechanism, though, is reproducible, and that is the part you can act on.
Why it happens
Until recently, an agent could not attach an image to a pull request on a private repo the way you do. GitHub's attachment upload worked only in the browser, and the agent works from a shell. GitHub CLI gained a shell route on 1 September 2026: an --attach flag on gh pr create, gh pr edit and gh pr comment, in gh v2.99.0 or later. An agent on an older gh, or one that does not know the flag exists, is still stuck with the browser it cannot drive. Glow reproduced the behaviour with Claude Code running Opus 5, and the agent's own reasoning, as reported by The Hacker News, was that "the only way to satisfy the requirement of displaying the images was to host them in a public repository". The Register's summary is blunter: the agents uploaded to public repos "without asking".
So the agent is not malfunctioning. You asked for a before-and-after screenshot, and the GitHub bug-report template copied into thousands of repos asks for the same thing: "If applicable, add screenshots to help explain your problem". The agent found a path that satisfied the instruction, and nobody had told it the path was off limits.
The second half of the problem is that a screenshot carries more than you meant to show. A dashboard capture has the account email in the corner, customer names in the table, an internal hostname in the address bar and a staging URL with a token in it. A terminal capture has the environment variables you printed two commands ago, still in the scrollback. As one redaction guide puts it, the leaks are almost always at the edges, "because that is where you were not looking".
Once the PNG is public, the usual safety net is gone. No secret scanner we found (TruffleHog, Gitleaks, GitGuardian) is documented as OCR-scanning images. Text secrets get caught by push protection. Pixels do not.
The checklist
Paste this into CONTRIBUTING.md under "Screenshots in pull requests" and edit the parts in square brackets.
Before a screenshot leaves the machine
- Capture the smallest area that proves the change. Every extra pixel is something to check.
- Run
clearin the terminal before you capture it, so printed env vars and tokens are not in the scrollback. - Use a seeded demo account, never a customer's.
- Check the edges: address bar, tab titles, notification banners, autocomplete dropdowns, account menu, sidebar.
- Find and remove, in this order: API keys and tokens, passwords, emails, card and account numbers, internal hostnames and staging URLs, customer data, unreleased feature names.
- Redact with a solid box, not blur or pixelation. Bishop Fox's Unredacter research recommends "black bars covering the whole text, and never use anything else"; the standing Hacker News advice is that "pixelation is reversible".
- Redact on the device. One HN commenter dropped a tool because "when I blurred something it made a network request to it's server".
Attaching the image without a public repo
- Commit the PNG to the PR branch under
[docs/pr-images/]and reference it with a relative path in the PR description. It is then exactly as private as the repo. - If a human is reviewing anyway, let the human drag the image into the PR in the browser. An agent with GitHub CLI v2.99.0 or later can do the equivalent with
gh pr comment --attach. Either way, on a private or internal repo GitHub Docs says only people with access to the repository can view the uploaded file. - Never let an agent create a repo, gist or any other public location to host an image. Treat it as a blocked action, not a judgement call.
What to tell the agent
- Put this in CLAUDE.md, AGENTS.md or whatever file your agent reads: "Do not upload images or files anywhere outside this repository. If you cannot attach an image to the PR, save it to
[docs/pr-images/]on the branch and say so. Never create public repositories or gists." - Ask for screenshots as file paths, not hosted URLs.
Reviewing the PR for images
- Before approving, search the PR description and comments for
![and for any image URL whose host is not yours. - Open every image at full size and read it the way an attacker would: corners, URL bar, every table cell.
- Reject the PR if an image is hosted outside the repo, even if it looks clean. The hosting is the problem.
If one leaked
- Treat every secret visible in the image as compromised. Resend's guidance for leaked keys: if a key "touched GitHub, Pastebin, a public gist, a client-side app, or even a shared screenshot, assume scrapers already grabbed it". Rotate first, investigate second.
- Delete the image from the public repo, but do not count on deletion. Rotation is the fix.
- Audit personal accounts. The 93 percent figure means the images are most likely under a developer's own username, so ask every engineer who runs an agent to list public repos created since they started.
- Record what the screenshot showed and notify the owners of that data under your incident process.
Where Cleanss fits
Cleanss is a screenshot app for Mac and Windows. It covers the capture and redaction steps above. It does not integrate with any coding agent or with GitHub, so steps 8 to 15 are still yours.
- Captures an area, the full screen or a single window.
- The sensitive-info scan reads the screenshot on the device. Nothing is uploaded. It finds emails, card numbers, passwords and API keys, outlines each one, and offers a one-click "Blur all".
- The scan can run automatically on every capture.
- Blur and Pixelate stay locked to the screenshot.
- Export is Copy (⌘C on Mac, Ctrl+C on Windows) or Save as PNG (⌘S on Mac, Ctrl+S on Windows) at full native resolution.
Two limits to know before you rely on it. For step 6, Cleanss has no solid box tool. Its Box draws an outline only, so the strictest cover it offers is Pixelate or Blur at a high strength. The exported PNG is a single flat image rendered from the canvas, with no layers, no metadata and none of the original pixels under a blurred region. If your policy says solid bars only, use another tool for that step. For step 5, the scan also flags IPv4 addresses and long random-looking strings, which catches many session tokens, but it does not look for hostnames or domain names, so check the address bar yourself.
FAQ
Is PixelLeak a bug in one specific agent?
No. Glow reproduced it with Claude Code running Opus 5, but the cause is the task, not the tool. The agent is asked to show an image in a PR it has no way to upload to (GitHub CLI's --attach flag only arrived on 1 September 2026, in v2.99.0), and the only route it can see is a public host.
Does secret scanning catch secrets in screenshots?
Not that we could find. No secret scanner we found is documented as OCR-scanning images; they work on text in commits. A PNG with a key in it is not text.
Is blur enough for a PR screenshot?
For a key, a password or a card number, no. Replace the value with a dummy before you capture, then cover it with a solid box. Keep blur for things that are sensitive but not secret, like a name in a table.
You can download Cleanss for Mac and Windows.