{
  "schema": "aidefend-secureflow-metadata-v1",
  "flow_id": "aidefend-research-sf0058-azure-devops-mcp-review-agent-cross-project-exfil",
  "title": "Azure DevOps MCP Review Agent Cross-Project Exfiltration",
  "subtitle": "A controlled PR-review PoC used the reviewer's credentials to run a pipeline, read a private wiki, and comment its content back to the attacker's PR.",
  "summary": "Manifold Security showed that an HTML comment hidden in an Azure DevOps PR description was returned verbatim by the official MCP server's PR tool. Claude Code and Copilot CLI agents reviewing the PR followed it to run a pipeline and read a wiki in a project the contributor could not access, then posted the wiki content as a comment on the contributor's PR. MSRC acknowledged and triaged the report; the cited post did not confirm a fix.",
  "reviewed": true,
  "import_status": "curated-research",
  "ai_layers": [
    "autonomous-agents"
  ],
  "risk_impact": [
    "data-exfiltration"
  ],
  "affected_components": [
    "attacker-controlled PR description",
    "get_pull_request MCP output",
    "private-project pipeline",
    "private wiki page",
    "PR comment sink"
  ],
  "source_research": {
    "provider": "Manifold Security",
    "primary_url": "https://www.manifold.security/blog/azure-devops-mcp-server-vulnerability",
    "published": "2026-07-21",
    "note": "AIDEFEND-curated public SecureFlow based on public reporting and supporting references. This is not a MITRE ATLAS case-study conversion."
  },
  "attack_steps": [
    {
      "id": "step-1",
      "title": "Hide Instructions in a PR Description",
      "tactic": "AML.TA0001",
      "technique": "AML.T0065",
      "summary": "A contributor embeds an HTML comment that looks invisible in the web UI but asks an AI reviewer to run a pipeline, read a private wiki, and post it back.",
      "zhTitle": "在 PR 說明的 HTML 註解藏入指示",
      "zhSummary": "貢獻者放入網頁介面看不見的 HTML 註解，要求 AI 審查者執行管線、讀取私有 Wiki 並貼回內容。",
      "layout": {
        "x": -1200,
        "y": 0
      }
    },
    {
      "id": "step-2",
      "title": "MCP Tool Returns the Hidden Comment",
      "tactic": "AML.TA0005",
      "technique": "AML.T0051.001",
      "summary": "The reviewing agent calls get_pull_request; unlike some other server tools, the PR description is returned without the source's spotlighting wrapper.",
      "zhTitle": "MCP 工具原文傳回隱藏註解",
      "zhSummary": "審查代理呼叫 get_pull_request；相較其他部分工具，PR 說明未加上來源所述的不可信內容標示。",
      "layout": {
        "x": -720,
        "y": 0
      }
    },
    {
      "id": "step-3",
      "title": "Agent Runs a Different Project's Pipeline",
      "tactic": "AML.TA0005",
      "technique": "AML.T0053",
      "summary": "Following the injected text, the agent uses pipelines_run_pipeline under the reviewer's credentials in a project the contributor cannot access.",
      "zhTitle": "代理執行其他專案的管線",
      "zhSummary": "代理依注入指示，以審查者憑證呼叫 pipelines_run_pipeline，目標專案是貢獻者無權存取的範圍。",
      "layout": {
        "x": -240,
        "y": 0
      }
    },
    {
      "id": "step-4",
      "title": "Agent Reads a Confidential Wiki Page",
      "tactic": "AML.TA0009",
      "technique": "AML.T0036",
      "summary": "The agent invokes wiki_get_wiki_page_content to read confidential content from that private project.",
      "zhTitle": "代理讀取私有專案的 Wiki",
      "zhSummary": "代理呼叫 wiki_get_wiki_page_content，取得該私有專案中的機密頁面。",
      "layout": {
        "x": 240,
        "y": 0
      }
    },
    {
      "id": "step-5",
      "title": "Agent Posts Wiki Content to the Attacker's PR",
      "tactic": "AML.TA0010",
      "technique": "AML.T0086",
      "summary": "The agent writes the wiki content as a comment on the contributor's PR, a lower-trust destination that the attacker can read.",
      "zhTitle": "代理把 Wiki 內容貼到攻擊者的 PR",
      "zhSummary": "代理將 Wiki 內容寫入貢獻者的 PR 留言；這個位置的信任程度較低，攻擊者可以直接讀取。",
      "layout": {
        "x": 720,
        "y": 0
      }
    }
  ],
  "threat_refs": [
    {
      "id": "AML.T0051.001",
      "name": "LLM Prompt Injection: Indirect"
    },
    {
      "id": "AML.T0053",
      "name": "AI Agent Tool Invocation"
    },
    {
      "id": "AML.T0086",
      "name": "Exfiltration via AI Agent Tool Invocation"
    }
  ]
}
