Skip to content
All case files

2026-09 · Research result · Agent abuse

The MCP SDKs let a server choose where OAuth credentials go

A malicious MCP server could name its own authorization server and receive stored client credentials.

OWASP LLM 2025 LLM03:2025 · Supply ChainOWASP Agentic 2026 ASI03 · Identity & Privilege AbuseOWASP Agentic 2026 ASI04 · Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0098 · AI Agent Tool Credential HarvestingNIST AI 100-2 E2025 · Security of agents

Attack chain

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

The client holds credentials for a real service

An MCP client signs in to a legitimate authorization server and stores a refresh token and client secret from that sign-in.

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

Practice the mechanism

Related missions in this lab.