Security researchers at Noma Labs have disclosed a critical vulnerability dubbed 'GitLost' that exploits GitHub's new Agentic Workflows feature. The flaw allows an unauthenticated attacker to trick an AI-powered workflow into reading and publicly leaking contents of private repositories.
According to Noma's disclosure, the attack targets workflows configured to trigger on issues.assigned. When such a workflow runs, it reads the issue's title and body. By filing an innocent-looking GitHub Issue in a public repository containing hidden English instructions, an attacker can redirect the AI agent. Instead of following its intended task, the agent picks up the malicious request, pulls README files from private repositories within the same organization, and posts them as public comments on the issue.
The attack requires no credentials, no code execution, and no authentication. A key bypass technique involves prepending the malicious request with the word 'Additionally', which rephrases the model's output and evades GitHub's safety guardrails.
Noma Labs responsibly disclosed the vulnerability to GitHub before publishing their findings. The incident highlights a broader lesson for developers using coding agents: untrusted text that reaches a tool-using agent is effectively executable, and least-privilege access controls on repositories are not optional.