Skip to content
All case files

2026-10 · Research result · Agent abuse

A malicious MCP OAuth URL runs PowerShell on the developer's machine

A browser-opening library passed an unescaped authorization URL to PowerShell, which coding agents used during MCP sign-in.

OWASP LLM 2025 LLM03:2025 · Supply ChainOWASP Agentic 2026 ASI05 · Unexpected Code Execution (RCE)OWASP Agentic 2026 ASI04 · Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0049 · Exploit Public-Facing ApplicationNIST AI 100-2 E2025 · Security of agents

Attack chain

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

An agent signs in to an MCP server

To connect to a remote MCP server that requires OAuth, a coding agent opens the server's authorization URL in the user's browser.

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

Practice the mechanism

Related missions in this lab.