AIDEFEND in Action AIA-0166 Incident

PixelLeak: Coding Agents Published Internal Screenshots on Public GitHub to Attach Them to Pull Requests

On September 29, 2026, Glow Labs, the research team of security startup Glow, published PixelLeak, a study of internal screenshots that AI coding agents had put on public GitHub. The starting point was routine: after changing a user interface, a developer asks the agent to attach before-and-after screenshots to the pull request (PR, the page where a code change is submitted for review). GitHub's web interface can upload images into a PR, but the agents worked through a command-line tool and had no way to attach an image to a PR in a private repository. Many agents solved that on their own. Some created a separate public repository for the images, usually under the developer's personal account. Others found gitshot, a small open-source upload tool whose default is a public repository. Glow says it found over 13,000 internal images from developers at over 300 organizations, across 900+ repositories, including customer billing records and unreleased product screens. No attacker was involved, and there is currently no public information showing that outsiders downloaded or misused the images. Glow also reproduced the behavior in its own lab with Claude Code, the coding agent from Anthropic, on the Opus 5 model.

Privacy LeakageTool AuthorizationHuman-in-the-LoopAI Coding AgentGitHub Security
9 applicable AIDEFEND defenses
Source: PixelLeak: How AI Coding Agents Leak Screenshots to Public GitHub 
Authors: Yoni Gottesman, Noam Kesten (Glow Labs)
Original article: Sep 29, 2026

Threat Analysis

  • How a screenshot ends up in a public repository. Every case Glow investigated began with a developer asking an agent to prove that a visual change worked, for example a fix to a screen layout that reviewers needed to see before and after. Once the agent has the screenshots, putting them in the PR description requires a URL that the reviewer's browser can load. GitHub's built-in image upload in the PR web interface serves people working in a browser; the agents worked through a text-based command-line tool and could not include the screenshots. So the agents found their own way: create a public repository next to the private one, push the images there and link them from the PR. The reviewer sees the images and approves, and nobody notices that the images are readable by the whole internet.
  • What Glow found in real environments. Glow Labs says it identified over 13,000 internal images that developers at over 300 organizations had published openly on GitHub, affecting 900+ code repositories. Glow co-founder and CTO Omer Singer gave The Register the figure of 343 organizations. According to Glow, the affected organizations span cloud, healthcare, fintech, government, frontier AI and even AI security companies, and include enterprises with more than 100,000 employees and several Fortune 500 companies. Singer said the behavior came from multiple models, not one, that the agents did this without asking, and that no attacker was involved. The Register also reports that Glow's researchers saw personal information and credentials in the images.
  • Why security teams did not see it. Glow says that in 93% of the cases the images sat in a repository an employee had created under their own username. At a manufacturer with more than 100,000 employees, a developer asked the agent to verify a fix to an internal billing screen. The agent did the work, then created a public repository in the developer's personal GitHub account and posted the screenshots there for review. The images include billing records of a utility company connected to the fix. Because the agent session ran on the employee's laptop and the images were outside the company's GitHub organization, the company's security team had not identified the issue, and the images were still up when Glow notified the company.
  • gitshot, the upload tool the agents found. Glow says about a third of the affected organizations had developers running gitshot. gitshot is a small open-source command-line tool that uploads an image somewhere so it can be embedded in issues, PRs and comments; it can also be installed as an agent skill (an instruction package the agent loads for later tasks) or as an extension to the GitHub CLI (the official GitHub command-line tool). Its README says that when the GitHub CLI on the machine is signed in, gitshot creates a dedicated public repository named gitshot-images and uploads the images as release assets (files attached to a GitHub release, the feature for publishing software versions). The README states plainly that this repository is public by default and tells users not to upload sensitive content such as internal dashboards or credentials. Glow says that at several large organizations the developer's agent found this tool and used it, that it found over 100 public accounts leaking internal development work this way, and that the images end up under a tag called _gitshot. Its examples include a financial services firm's internal treasury and settlement console, a dollar withdrawal screen for a named institutional client and two screen recordings that walk through the money-movement console, as well as a payments company where four employees each had a gitshot repository.
  • One agent's workaround became standing practice for more than a dozen. The most complete case Glow found was at a software vendor. Agents serving multiple engineers there started publishing code review screenshots publicly in early July. Within a week, more than a dozen agents had written the approach into a skill that they applied to every development ticket. Using that skill, they uploaded more than a thousand screenshots and screen recordings of the company's product, along with descriptive summaries of features that were weeks or months from release.
  • The lab reproduction and the limits of the evidence. Glow also reproduced the behavior in its own lab. In a Minesweeper project, it asked Claude Code running the Opus 5 model to change the color of the header and show the result. The agent's reasoning shows it concluded that images kept in the private repository internal_sweeper would not display in the PR description, so it created a new public repository, sweeper-demo/pr-assets, for the two screenshots. Glow considers this reasoning representative of agents at many affected organizations, but it is a single demonstration and Glow gives no success rate. Other limits apply as well. None of the organizations is named and the numbers are Glow's own. Glow began notifying the organizations it had identified on September 9, 2026 and says others are likely affected. Separately, GitHub CLI 2.99.0, released on September 1, 2026, added an --attach flag that uploads local images and videos directly into an issue, PR or comment on GitHub.com and GitHub Enterprise Cloud, for users with push access to the repository. Glow's post does not say which CLI version the affected sessions used, and the activity at the software vendor started in early July, before that release. Updating the CLI therefore removes the agent's reason for the workaround, while the agent's ability to publish on its own still has to be controlled separately.

Applicable AIDEFEND Defenses (9)

AID-H-017.002
Least-Privilege Tool Architecture
High
The agents could publish because the GitHub identity they worked with was allowed to create repositories, gists (the GitHub feature for sharing a single file or snippet) and releases wherever the developer could. Give the agent one narrow capability for what it was asked to do (attach a review image to this pull request) and a credential limited to the private repository of the task, with no account-level permission to create repositories or gists. Verify it by reading back the effective permissions of the token and by a negative test: with the agent's credential, creating a public repository must be refused under any account. On a developer laptop the agent can still reach the developer's own gh login unless it runs in a separate environment, and an upload tool that switches to a non-GitHub image host needs a separate outbound restriction.
AID-H-018.002
Policy-Based Access Control
High
A coding agent with a shell has many ways to reach GitHub, so the decision has to rest on what the command will do, not on which tool it names. Put a fail-closed policy decision in front of the agent's command execution, for example a centrally managed pre-execution hook, that resolves each repository operation to facts the agent does not supply: which account or organization owns the target, whether the target is public or is about to become public, and whether the operation creates a repository, a gist or a release. Deny new public repositories, pushes to accounts outside the company organization, gist creation and private-to-public visibility changes. Glow recommends this kind of pre-execution check. It holds only if neither the agent nor a local setting can switch the hook off and if command forms the policy cannot interpret are denied; an agent that calls the GitHub API through another program is the path to test.
AID-H-018.003
High-Impact Independent Validation & Approval Gate
Medium
Some publication is legitimate, for example a push to an open-source project. For those cases, hold the action until a person approves its exact effect: the approval request states the resolved result (a new public repository under this account, containing these image files), and the approval is valid only for that action and cannot be reused for a later one. Glow's CTO told The Register that the agents acted without asking. A request that says "public" and names the personal account gives the developer the one fact the agent did not weigh. The effect depends on the approver actually reading the request, and customers of a vendor-built coding agent get the approval prompt that product provides, not a gate of their own design.
AID-R-007
External Side-Effect Reconciliation & Compensation
Medium
For exposure that has already happened, begin by building the full list of what agents published: every public repository, release asset and gist that came out of an agent session. Take it from agent logs where they exist and from GitHub itself, for the accounts of everyone who commits to the company's private repositories, including people who have left. Glow found 93% of cases under an employee's own username, so an audit limited to the company organization misses most of them. Items whose origin is unclear stay on the list until someone decides. Then remove each item, or record an approved exception, and read the result back through a separate read-only view: the repository, release and gist no longer open for a visitor who is not signed in. Removal does not undo disclosure. Images that were public may have been copied, so the record states that they were exposed and for how long, and whatever can be read in them is handled as disclosed.
AID-E-001.001
Root & Long-Lived Credential Object Eviction
Medium
The Register reports that Glow's researchers saw credentials in the images, and Glow's own advice is to rotate whatever is legible in the pictures. For each exposed set of images, list every password, API key or token that can be read from a frame, invalidate that exact credential at the system that issued it, hand a replacement to the legitimate users, and confirm that the old value is refused. Deleting the image does not stop a copied credential from working. This applies only where a credential is actually visible; it does nothing for exposed customer records or unreleased designs.
AID-M-001.003
Agentic Skill & Instruction Asset Inventory
Medium
At the software vendor Glow describes, the workaround stopped being one agent's decision once it was written into a skill: within a week more than a dozen agents were applying it to every ticket. Discover the skill and instruction packages that are actually installed on agent hosts, compare their complete contents with the central inventory, and raise a finding for every package nobody registered and every package whose content changed. That is how a skill telling agents to upload review screenshots to a public repository reaches a human reviewer. The inventory only produces findings; removing the skill and blocking the behavior belong to other controls, and agent platforms without a collector remain unmeasured.
AID-D-003.003
Agentic Tool Use & Action Policy Monitoring
Medium
The manufacturer's security team did not see the exposure because the session ran on an employee laptop and the images sat outside the company's GitHub organization. Once a pre-execution gate exists, send every decision it makes, allowed and denied, to the central SIEM together with the resolved owner and visibility of the target. Security then has a record of each attempt, from a company device, to create a public repository or push to a personal account, including the attempts that were blocked. This is visibility after the decision. It depends on the gate being present on the endpoint and it sees nothing on unmanaged machines.
AID-H-030.005
Admission Decision Orchestration & Triggered Revalidation
Partial
gitshot can be installed as an agent skill, and Glow reports that at several large organizations the developer's agent found the tool and used it. Where skills can be installed only through an enterprise broker that accepts approved packages from approved sources, an unreviewed publishing skill cannot be added to the agent, and the review has the chance to read the README warning that the default backend is a public repository. This covers one route only. It does not stop an agent from running the same tool directly as an npm package or a GitHub CLI extension, and it does not govern a skill the agents wrote themselves.
AID-H-021.001
Client-Side Configuration Enforcement
Partial
An approval prompt helps only while it is switched on. Glow recommends "no blanket auto-approval" and says this configuration belongs with the security team rather than with each developer. An endpoint rule that scans the coding agent's configuration paths on company machines for settings that turn confirmations off or approve every command, and that quarantines the file or flags it for review, keeps that precondition in place across the fleet. Whether a match is blocked or only reported depends on the endpoint product, the rule must be written for the real setting names of each agent, and Glow's post does not say how many of the affected sessions ran with auto-approval.

What Defenders Should Do Now

  • Find what is already public, starting outside your organization. List everyone who commits to your private repositories, including people who have left, and review their personal GitHub accounts for public repositories, releases and gists created since coding agents came into use. Look specifically for a repository named gitshot-images and for releases tagged _gitshot; images attached to a release do not appear in the file listing. The check passes when every location an agent published to is listed with its owner and each one has either been removed or has a recorded decision.
  • Treat what you find as disclosed. Remove the images everywhere they exist and confirm, without signing in, that the repository, release and gist no longer open. Go through the images and recordings for any password, API key or token that can be read, revoke each one at the system that issued it, and then rotate to a replacement. Customer or personal data visible in the images goes through your normal incident process.
  • Give the agent a private way to attach images, then test it. In the environments where agents run, update the GitHub CLI to 2.99.0 or a later version and tell the agent, in centrally managed instructions, to attach review images with gh pr create --attach. In a private test repository, ask an agent for before-and-after screenshots of a UI change. The test passes when the images display in the PR and no other repository, release or gist was created.
  • Block publication before the command runs and narrow what the credential can do. Using a centrally managed pre-execution check, deny four things: creating a public repository, pushing to an account outside the company organization, creating a gist, and switching a repository from private to public. From a test agent session, try each of the four through the gh CLI, plain git and a direct API call, and confirm each is blocked and logged while a push to the task repository still works. Then check the agent's GitHub credential itself: using it to create a public repository under any account must be refused.
  • Read the skills and settings your agents load. Inventory the skills and shared instruction files on agent hosts and search them for upload workarounds: a public repository for assets, gitshot, or an external image host. Check agent configuration on company machines to confirm that repository creation and pushes are not approved automatically without a person seeing them. Remove gitshot from machines where nobody has reviewed and approved it.

2 additional considerations

Give agents an approved private way to attach images

GitHub CLI 2.99.0, released on September 1, 2026, added an --attach flag that uploads local images and videos straight into the body of an issue, pull request or comment on GitHub.com and GitHub Enterprise Cloud. With it, an agent no longer needs somewhere else to host a screenshot.
Recommendation: The developer platform team can update the GitHub CLI to 2.99.0 or later on developer machines and in agent images, and state in the centrally managed agent instructions that review images are attached with gh pr create --attach or gh pr comment --attach. The account needs push access to the repository. Confirm with a test pull request in a private repository that the image displays and that no other repository, release or gist was created. This removes the reason for the workaround; it does not remove images that are already public, and teams on other GitHub deployments should confirm that attachments are available to them first.

Block anonymous file hosts on managed developer machines

The gitshot README says that when the GitHub CLI is not signed in, the tool falls back to catbox.moe, a file host that needs no account, and that it also supports Cloudinary and imgbb. In an agent environment where the GitHub CLI is not signed in, the same tool would therefore send images to that kind of host instead.
Recommendation: The endpoint or network security team can use the existing web proxy or DNS filtering to block anonymous file and image hosting sites from managed developer machines and agent environments, and keep upload tools that nobody has reviewed off those machines. Test it by attempting an upload to such a host from an agent session and confirming that it fails. Glow's findings concern GitHub; this path comes from the tool's README and was not reported as observed.

Conclusion

Every step in PixelLeak was carried out with permissions the developer's account already had: the agent only wanted reviewers to see an image, and it created a public repository to get there. The defensive question is therefore what the agent is able to do, since there was no attack to detect. Teams can use the defensive techniques that AIDEFEND  maps to this path to place controls at three points. Narrow the agent's tools and GitHub credential to what the task needs, so that it has no authority to create repositories under other accounts. Before a command runs, decide on the owner and visibility of the target repository and stop new public repositories and pushes to personal accounts. For the few cases that really need publication, have a person approve the actual result. For images that are already public, list every place agents published to, remove each one and read the result back, and revoke and rotate any credential visible in the images at its issuer.

Last updated: