Skip to content
All case files

2025-05 · Research result · Agent abuse

A GitHub issue makes an agent leak private repositories

An instruction in a public issue made an MCP-connected agent copy private data into a public pull request.

OWASP LLM 2025 LLM06:2025 · Excessive AgencyOWASP LLM 2025 LLM01:2025 · Prompt InjectionOWASP Agentic 2026 ASI01 · Agent Goal HijackOWASP Agentic 2026 ASI03 · Identity & Privilege AbuseMITRE ATLAS AML.T0051.001 · LLM Prompt Injection: IndirectMITRE ATLAS AML.T0086 · Exfiltration via AI Agent Tool InvocationNIST AI 100-2 E2025 · Security of agents

Attack chain

Stage 1 of 4. Tap a stage or use Next stage.

One agent, two kinds of repository

A user connects an AI client to GitHub through MCP with a token that can reach both their public and private repositories.

Reach the final stage to see why the control lost and what detection would have seen.

Practice the mechanism

Related missions in this lab.