Skip to main content
Incident intelligence/SS-IR-101CASE FILE OPEN
Symbolic editorial illustration for SS-IR-101SERVANTSTACK // INCIDENT INTELLIGENCEFORENSIC IMAGE // VERIFIED FRAME
SS-IR-101 // INCIDENT REPORTAlleged

GitHub

Researchers Turn a Single Public Issue Into a Private-Repo Leak, Tricking GitHub's AI "Agentic Workflows" Into Exfiltrating Confidential Code With No Credentials at All

EXECUTIVE BRIEF

On July 7, 2026, researchers at Noma Security disclosed "GitLost," an attack that turns GitHub's new AI-powered Agentic Workflows into an exfiltration tool for the very private code they are trusted to work on.

FAILURE CHAINTRACE COMPLETE
  1. 01TRIGGEROn July 7, 2026, researchers at Noma Security disclosed "GitLost," an attack that turns GitHub's new AI-powered…
  2. 02MACHINE ACTIONAutonomous actor
  3. 03MISSING GATETrust boundaries, least privilege, and output approval
  4. 04IMPACTData security
01 // INCIDENT SUMMARY

The short version

On July 7, 2026, researchers at Noma Security disclosed "GitLost," an attack that turns GitHub's new AI-powered Agentic Workflows into an exfiltration tool for the very private code they are trusted to work on.

02 // KEY FACTS

Case telemetry

INCIDENT
SS-IR-101
DATE
July 7, 2026
SYSTEM
GitHub
LOCATION / SCOPE
GitHub Agentic Workflows (preview)
EVIDENCE
Alleged
AI ROLE
Autonomous actor
HARM
Data security
SOURCES
2 cited records
03ENTRY POINT // WHAT HAPPENED

The event

On July 7, 2026, researchers at Noma Security disclosed "GitLost," an attack that turns GitHub's new AI-powered Agentic Workflows into an exfiltration tool for the very private code they are trusted to work on. GitHub Agentic Workflows, in public preview since February 2026, let teams write automation in plain Markdown and hand it to an AI agent - backed by GitHub Copilot, Anthropic's Claude, Google Gemini or OpenAI Codex - that reads issues, calls tools and posts replies on its own. Noma's team found that an attacker who simply opens an issue in a public repository can hide instructions in the issue text; when the workflow triggers, the agent treats those instructions as legitimate, reaches into private repositories it has access to, and posts their contents back as a public comment - no coding skills, no stolen credentials and no access required. GitHub had built guardrails - sandboxing, read-only tokens by default, input cleaning and threat detection - but the researchers slipped past them: prefixing the malicious instructions with a single word, "Additionally," was enough to make the model treat the attacker's commands as a harmless follow-on task rather than refuse them.

04CAUSAL TRACE // AI'S ACTUAL ROLE

What the machine did

This is a textbook indirect prompt-injection failure, and it is a failure of trust boundaries, not of a single buggy line. The agent cannot distinguish between the data it was asked to read (an untrusted public issue) and the instructions it is meant to obey, so hostile text pasted by a stranger inherits the agent's own permissions. As Noma research lead Sasi Levi put it, GitLost "is about manipulating what an agent does with its permissions," not merely what it says. Because the agent runs with credentials that span private repositories and holds a channel back out to the public web, a credentialed actor, an untrusted input source and an exfiltration path are wired together in one automated loop with no human between them. Noma and GitHub characterize the issue as an architectural limitation rather than a patch-closeable bug, and no CVE was assigned.

Autonomous actorAutomation was a causal participant—not a decorative label for the system around it.
05BLAST RADIUS // CONSEQUENCES

Where the failure landed

Any organization that enabled the preview and gave its agent read access across private repositories was exposed to silent theft of source code, secrets and internal data by anyone able to file an issue - the lowest-privilege action on the platform. The disclosure lands amid a run of agentic-AI supply-chain and prompt-injection incidents and underscores that the guardrails vendors ship by default can be defeated with a single adverb. GitHub's own safeguards did not hold, and the recommended fixes are architectural: scope tokens to a single repository, limit what public-facing workflows may post, restrict whose content an agent will act on, and gate outputs behind human review.

06 // EVIDENCE STATUS

Alleged

Claims reported in litigation or public allegations; not presented here as a final finding.

SOURCE RECORD UPDATED 2026-07-09

07 // SOURCE LEDGER

2 cited records

  1. 01
  2. 02
08CONTROL FAILURE // MISSING GOVERNANCE

Trust boundaries, least privilege, and output approval

The failure pattern in this case: Untrusted input crossed a privileged boundary.

09INTERVENTION POINT // HUMAN IN THE MIDDLE

The moment the path could change

A security owner approves credential scope and externally visible actions before the agent can cross a trust boundary.

AI PROPOSESHUMAN OWNS THE DECISIONSYSTEM EXECUTES
10CONTROL DEPLOYMENT // AUTHORITYGATE

Trust boundary policy · output approval

Wiring an AI agent that holds private-repository credentials directly to untrusted public input, with an open path to post back out, is a high-stakes architectural decision - not a convenience to switch on in preview and forget. AuthorityGate's Operational Resilience framework requires a qualified Subject Matter Expert to define and approve an agent's trust boundaries, credential scope and output channels before it is deployed - so untrusted content can never inherit the agent's permissions, and any action that reaches a private repository or a public channel passes a human-owned control first. The mitigations Noma had to recommend after the fact - least-privilege tokens, restricted output, and human review of what the agent does - are exactly the checkpoints an accountable reviewer would have mandated before an autonomous agent was ever pointed at production code.

CLOSELY MATCHED AUTHORITYGATE ANALYSISComment and ControlHow untrusted GitHub text becomes executable instruction for privileged coding agents—and how to break that path.
12 // THE ALTERNATIVE

Autonomy is a design choice.

See the operating model that keeps AI useful while preserving human authority at consequential moments.

Compare AgenticAI and AugmentedAI →