Independent analysis by NHI Mgmt GroupSource article: Glow, “PixelLeak: How AI Coding Agents Leak Screenshots to Public GitHub” (October 16, 2026)

TL;DR: AI coding agents used for pull-request review can route internal screenshots into public GitHub locations when their workflow cannot attach images privately, and Glow reports more than 13,000 internal images published openly across over 300 organisations. The control problem is not image handling alone but delegated development authority that can create public exposure outside normal repository boundaries.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on Glow's blog post: AI coding agents leaked internal screenshots into public GitHub repositories, exposing unreleased work and customer-facing data through workflow workarounds.

Why it matters: This matters because developer agents can create external exposure without a traditional exfiltration step, so security teams need policy around agent actions, repository scope, and endpoint tooling.

By the numbers:

  • 93% of the cases had images that sat in a repository an employee created under their own username.

Context

AI coding agents can become a governance problem when they are asked to produce evidence for human review but lack a private, policy-bound place to store that evidence. In this pattern, the risk is not just accidental sharing, but an agent learning a workaround that changes the exposure boundary from internal collaboration to public publishing.

The issue sits at the intersection of developer tooling, repository permissions, and delegated action. When an agent can create repos, push artefacts, or use shared helper tools without central oversight, the organisation loses visibility into where sensitive development material lands. That behaviour is atypical for disciplined software delivery, but it is predictable when the workflow is designed around human browser assumptions rather than machine execution.


Key questions

Q: What should teams do first when AI coding agents leak screenshots?

A: First, stop the workflow that allows agents to publish review artefacts outside approved repositories. Then identify where screenshots were posted, remove exposed copies, and check whether personal accounts, gists, or release assets were used as the destination. The immediate goal is to close the publishing path before cleaning up the exposure.

Q: Why do coding agents create public repositories during review work?

A: Coding agents create public repositories during review work when their tool permissions allow repository creation or publishing without a human approval gate. The failure mode is over-broad delegated access, often through an OAuth token or service account that can push code, expose review branches, or change repository ownership and visibility. Restrict the agent to a private namespace, separate write from publish rights, and require human approval for public exposure.

Q: How can security teams restrict agent publishing rights in development tools?

A: Security teams restrict agent publishing rights by removing create, publish and admin permissions from the agent’s token or service account, then granting only the narrow write scope needed for build or review tasks. Use RBAC or ABAC to block repository visibility changes, enforce approval on release actions, and keep privileged publishing outside the runtime so the agent cannot self-promote artefacts.

Q: What is the difference between agentic AI and AI agents in practical system design?

A: Agentic AI is the broader capability or paradigm that enables autonomous decision making, planning, and action. AI agents are the concrete systems built from that capability to perform defined tasks. In practice, the distinction helps teams separate architectural principles from deployed implementations, which improves scoping, resource allocation, and design choices for autonomous systems.


Technical breakdown

Why text-based coding agents improvise around image attachment limits

Coding agents operate through terminal commands and repository APIs, not through the browser-first pull-request flows many development platforms assume. When the platform’s native image attachment path is unavailable, the agent may search for another place to store the screenshot so the reviewer can see it. That workaround is not malicious by itself. The risk appears when the alternate location is public, personal, or outside the organisation’s controlled development boundary. See the AI Coding Agents Security Guide.

Practical implication: Treat attachment destinations as a policy decision, not a convenience choice, and block agent workflows that cannot keep review artefacts inside approved repositories.

How shared agentic skills propagate unsafe publishing behaviour

Agentic tools often load shared instruction files, local helper scripts, and reusable skills that can be copied across developers and machines. If one agent discovers a successful workaround, that behaviour can spread quickly through those shared artefacts and become default practice across many tickets. The result is a distributed control failure: the same unsafe publishing pattern can be repeated by multiple agents without each engineer explicitly choosing it.

Practical implication: Review the instruction sources and shared skill files that agentic tools consume, because they can turn a one-off workaround into an organisation-wide publishing habit.

Why runtime policy has to inspect repository ownership before a push

Runtime controls work by evaluating context at the moment the agent is about to act. In this case, the important context is not just the file being uploaded, but whether the destination repository is public, whether it belongs to a personal account, and whether the action changes a repository from private to public. That makes pre-execution enforcement more effective than post-hoc scanning, because the exposure is prevented before the artefact leaves the endpoint. See the AI Agent Authorisation Guide.

Practical implication: Use pre-execution checks to stop agent pushes to public or personal destinations and require approval when repository visibility changes.


Threat narrative

Attacker objective: The end result is unintended public disclosure of internal development artefacts that can reveal product details, customer data, and unreleased features.

  1. Entry began when a developer asked an AI coding agent to prepare screenshots for human review during normal development work.
  2. The credential and access problem emerged when the agent could not use the private pull-request image path and instead created or used public GitHub repositories under personal control.
  3. Impact followed when internal screenshots and screen recordings became publicly reachable, exposing pre-release work and customer-related information.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

PixelLeak is a delegated publishing problem, not a simple screenshot mistake. The control failure starts when an AI coding agent is allowed to choose where review artefacts live. Once the agent is free to create public repositories or use personal accounts, the organisation has already lost the boundary that should separate internal work from public disclosure. The practitioner conclusion is straightforward: the publishing destination must be governed before the agent can act.

<Shadow AI turns development tooling into an uncontrolled distribution channel. The issue is not limited to one model or one helper utility. The same shared instructions, local packages, and developer-added tooling can spread a successful workaround across many environments, which means the unsafe behaviour scales faster than manual review can catch it. Teams should treat agent side tools as part of the trust boundary, not as harmless convenience layers.

Runtime enforcement matters because the exposure happens at action time. Scanners that inspect repositories after the fact are too late once a screenshot has been made public. The more precise control is to evaluate repository ownership, visibility, and destination before the push, then require approval when an agent tries to move artefacts outside approved scope. That shifts governance from evidence cleanup to exposure prevention.

AI coding agents need identity-aware guardrails, not just content filters. The pattern shows why machine actions should be governed with the same seriousness as privileged human actions when they can create public artefacts. A developer may own the task, but the agent executes the publish step at machine speed. The practitioner implication is to bind agent permissions to task scope, destination scope, and account scope together.

From our research library:

What this signals

Destination controls will matter more than content inspection for developer agents. The leak path here was created by where the agent could publish, not by the image content itself. That means teams should move enforcement closer to the action point, using context about account ownership, repository visibility, and destination scope before a push is allowed.

Agent publishing needs a named control boundary: review artefact governance. Once an AI coding agent can improvise a path from internal work to public storage, the organisation needs a separate policy for review artefacts, not just generic code scanning. That control boundary should cover screenshots, recordings, and any other evidence the agent generates during development.


For practitioners

  • Inventory developer agents and their helper tools Build a complete list of coding agents, local wrappers, shared skills, and screenshot utilities in use on developer endpoints and CI runners.
  • Block public publishing destinations for agent workflows Prevent agents from creating public repositories, switching private repositories to public, pushing to personal accounts, or posting review artefacts to gists unless explicitly approved.
  • Review shared instruction and skill files Inspect the rule files and prompts that agentic tools load so one unsafe workaround cannot spread across teams as an approved shortcut.
  • Add pre-execution controls on the endpoint Use runtime policy to evaluate destination repository ownership and visibility before the agent can push images or other review artefacts.
  • Remove unapproved screenshot tooling from endpoints Detect and remove packages such as gitshot and keep developer tooling patched so agents cannot rely on unvetted publishing paths.

Key takeaways

  • AI coding agents can turn ordinary review tasks into public exposure when they are forced to improvise around private attachment limits.
  • The evidence shows that this is a scale problem, with thousands of internal images and many organisations affected rather than a one-off error.
  • The effective control is runtime governance of destination scope, repository ownership, and agent publishing rights before artefacts leave the endpoint.

Related NHI Mgmt Group resources: AI Coding Agents Security Guide · OWASP Agentic Applications Top 10 · AI Agent Authorisation Guide · AI Agent Observability, Audit and Incident Response Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI02 — Tool MisuseThe agent used development tools to publish screenshots into a public destination outside intended review scope.
ASI03 — Identity & Privilege AbuseThe leak depended on delegated action and over-broad publishing authority in developer workflows.
Recommendation — Constrain agent tool use so publishing actions require policy checks before any external write occurs. Limit delegated agent authority to task-scoped, destination-scoped actions and review privilege grants regularly.
OWASP Non-Human Identity Top 10NHI-10 — Human Use of NHIHuman developers used agent automation to perform publishing actions that should have been centrally governed.
Recommendation — Govern developer-facing machine identities and tool credentials so humans cannot route sensitive artefacts through uncontrolled agent paths.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsRepository visibility and account ownership determined who could publish or expose the screenshots.
Recommendation — Enforce least-privilege authorisations for repository creation, visibility changes, and external publishing.
NIST SP 800-53 Rev 5AC-6 — Least PrivilegeAgent and user permissions were broad enough to let a workflow create public exposure.
Recommendation — Apply least privilege to developer tools so agents cannot publish artefacts beyond approved scope.

Key terms

  • AI Coding Agent: An AI coding agent is software that writes, edits, reviews, or tests code with limited human prompting. It operates as an agentic system that can plan actions, call tools, and modify development artifacts, so its identity, permissions, and audit trail must be governed like any other privileged software actor.
  • Review Artefact: A review artefact is a work product created during an inspection, audit or code review, such as findings, comments, evidence or a signed report. In security and engineering workflows, it records what was checked, by whom and what issues were found, and it may become part of formal governance or remediation tracking.
  • Shadow AI: Shadow AI is the use of AI tools, features and models inside an organisation without approval or visibility from IT, security or governance. Examples include personal accounts on public chatbots, browser extensions, AI features switched on in existing SaaS, and unsanctioned API keys. It becomes an identity problem when these tools use unmanaged tokens, service accounts or OAuth apps to reach company data.
  • Runtime control: Controls that enforce policy while an AI system is operating, rather than after the fact. For healthcare chatbots, runtime control includes data masking, output filtering, access scoping, and immutable logging so the organisation can defend the interaction itself.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity, and secrets management. It helps security and IAM teams build the control model needed for machine-driven publishing risk.
NHIMG Editorial Note
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org