Summary: Noma Labs disclosed GitLost, an indirect prompt injection flaw in GitHub agent workflows that combine GitHub Actions with an AI agent (Claude or Copilot) reading issues and calling tools. The vulnerable workflow triggers on issues.assigned, reads the issue title and body, posts a comment, and holds read access to public and private repos across the organization. An unauthenticated attacker can open a seemingly harmless issue in a public repo with embedded hidden instructions; the agent then fetches README.md from public and private repos and posts the contents publicly. GitHub's guardrails failed, and appending the keyword "Additionally" caused the model to reformat its output rather than refuse.
Why it matters: Any team wiring AI agents into CI with issue or PR triggers is exposing repo data to untrusted user text. Treat issue content as untrusted input, scope agent tokens to the minimum necessary repos, and require human review before agents can post publicly.