Executive Summary
Noma Labs disclosed GitLost on July 6, 2026: a hidden instruction in a public GitHub Issue could make an AI agent in GitHub Agentic Workflows with repository access expose private repository data in a public comment.
What Happened
This article describes GitLost, a prompt-injection flaw disclosed by Noma Labs in GitHub Agentic Workflows on July 6, 2026. It says a hidden instruction in a public GitHub Issue could cause an AI agent with repository access to expose private repository data in a public comment.
Affected Products
- GitHub Agentic Workflows
Vulnerability / Attack Technique
Indirect prompt injection via public issues
Technical Mechanism
The agent reads the public issue, follows hidden instructions, and posts private repository content publicly.
AI Security Category
LLM01:2025 Prompt Injection
Part of the Prompt Injection topic.
Relevant Frameworks
RealGround Analysis
Public input plus private access plus a public output channel is the leak. RealGround analysis: break at least one of those three for every agent.
Recommended Controls
- Do not give agents that read public issues access to private repos
- Restrict agents from posting public comments with repository content
Related RealGround Service
Secure AI Agent Build · or start with the free AI Agent Security Scanner.
Sources
Kiteworks: https://www.kiteworks.com/cybersecurity-risk-management/gitlost-ai-agent-data-leak/
Summary and analysis written by RealGround from the source above; last updated 2026-10-18.
