Azure DevOps MCP review bug shows hidden PR text can steer agent tool calls
Substantial-Heat-321 · reddit · 2026-07-25
A Reddit post highlights a confused-deputy edge case in Microsoft’s Azure DevOps MCP server: hidden PR text can steer an AI review agent’s tool calls while it is operating under the user’s Azure DevOps permissions.
Key takeaways:
- The issue was reportedly reproduced with both Copilot CLI and Claude Code.
- No fixed release or CVE had been published as of July 21.
- Treat repository and PR text as untrusted input, even during “review-only” flows.
- Use a read-only identity for discovery/review, and keep write-capable tools behind a separate approval step.
- Log exact tool arguments plus the source text that triggered them.
- Pin and review MCP server versions instead of assuming an official server is automatically safe.
- Require frozen tests or a human check before applying agent-suggested changes.
The post asks whether teams are separating review permissions from action permissions with two agents or two identities, or whether that adds too much friction.
More from coding & agent
- Founder says agents now triage support tickets, write fixes in a sandbox, and escalate edge cases — aryanXmahajan · 2026-07-25
- Hwatu adds a WebKit-based verifier for local coding agents with DOM and pixel diff — hongnoul · 2026-07-25
- Coding agents are moving from sloppy mistakes to over-engineering, and scope creep is the new failure mode — nptacek · 2026-07-25
- A 2026 meme imagines the pain of steering a swarm of subagents — tensorqt · 2026-07-25
- NURL nears v1.0 with a single-binary language built for LLM workflows — AdhesivenessHappy873 · 2026-07-25
- After four days stuck on GPU-mode Cholesky, the author retries with Opus 5 — dejavucoder · 2026-07-25