AML.T0073Impersonationview on ATLAS ↗Adversary poses as a trusted entity (user, service, peer agent) to gain access or influence decisions.
T40 · Helmwart ID · OWASP MAS Guide source
An attacker impersonates a legitimate Model Context Protocol (MCP) client, through stolen credentials or weak client authentication, to access an MCP server with the genuine client's authority.
ExtendsT9: Identity Spoofing and Impersonation · base threat in OWASP v1.1 catalog
An attacker impersonates a legitimate Model Context Protocol (MCP) client to gain unauthorised access to an MCP server and its resources. The attack may involve credential theft or exploitation of weaknesses in the client authentication mechanism. Once impersonating the legitimate client, the attacker can invoke tools, retrieve resources, and access data sources that the MCP server exposes, with the full apparent authority of the legitimate client.
An attacker obtains the long-lived API token used by a legitimate MCP client to authenticate with an MCP server that provides access to a company’s financial data store. The token was committed to a developer’s dotfiles repository and discovered via an automated secret-scanning sweep. The attacker uses the token to connect to the MCP server, issues a series of resource retrieval requests, and downloads the contents of the financial knowledge base (T28 RAG Data Exfiltration path). The server’s per-client access controls register all requests as coming from the legitimate client; nothing in the server’s access logs distinguishes the attacker from the genuine agent.
MCP’s trust model is client-server: the server grants access based on client identity. If client identity can be spoofed, the attacker inherits all the data access and tool invocation rights of the impersonated agent. Because MCP standardises the access pattern, the same credential-reuse technique can work across multiple servers simultaneously if credentials are not scoped per-server. T30 (Insecure Inter-Agent Communication Protocol) creates a credential interception path: an attacker who can eavesdrop on unencrypted MCP traffic can harvest the client credentials in transit.
An impersonating client has the right credential but tends to behave differently from the genuine agent it is mimicking: different network origin, unfamiliar query patterns, or access to resources the legitimate agent has never requested.
T40 extends T9 Identity Spoofing and Impersonation. Where T9 addresses the broad class of agent identity compromise, T40 is the MCP client identity instantiation: the trust anchor that an MCP server uses to grant access is the client credential, and its theft or forgery grants the attacker the agent’s full resource access scope. T30 (Insecure Inter-Agent Communication Protocol) is the transport-layer precursor that enables credential interception.
The Agentic Top 10 (ASI01 through ASI10) is a separate practitioner-facing publication that maps onto the master Threats & Mitigations threat numbering. T40 is covered by the following Top 10 entries:
When an agent acts on a user's behalf it inherits that user's credentials and permissions for the duration of the task. Attackers exploit this by manipulating delegation chains, role inheritance, or agent-to-agent trust, turning a narrowly scoped instruction into a credential that can chain every permission the principal holds, concurrently, in a single agent turn.
Source: OWASP Top 10 for Agentic Applications 2026 (Dec 2025) · the Top 10 is a compass into the master Threats & Mitigations taxonomy, not a replacement for it.
When T40 is present, these security design principles are the ones being violated or tested. Each links to the full principle; the mitigations below are how you restore them.
Auto-generated from the mitigation catalog: every mitigation whose coverage map includes T40, sorted by maturity tier (Tier 1 production-canonical first, then Tier 2, then Tier 3 research-stage).
In most deployments, agents authenticate to one another with long-lived bearer tokens or shared secrets. If any one of those credentials is stolen, the attacker has persistent, platform-wide access until someone manually rotates it. SPIFFE replaces that model: each workload is issued a short-lived, cryptographically verifiable identity document, and every connection requires both sides to present one. No long-lived secrets traverse the network, and a compromised credential is worthless within its TTL.
why it helps MCP client impersonation requires the attacker to produce a valid identity credential for the target client. SPIFFE mutual TLS at the MCP transport layer binds each client connection to a short-lived SVID tied to workload attestation. An attacker cannot impersonate a client without producing a valid SVID, which requires compromising the attestation mechanism, not merely stealing a token.
An MCP client connecting to a server has no built-in way to verify that the server at a given address is the expected workload or that its binary has not been replaced. An attacker who can intercept or substitute the server exploits that gap directly. MCP server attestation closes it by requiring the server to present cryptographic proof of two properties before the connection proceeds: that it holds a valid workload identity bound to a trusted certificate, and that its binary matches a signed hash recorded at build time.
why it helps MCP client impersonation is the threat where an attacker operates a server that passes as a legitimate one to an unsuspecting client. Cryptographic attestation makes impersonation structurally infeasible: the attacker must produce a valid SPIFFE SVID issued by the trusted SPIRE control plane and a Rekor-anchored binary hash matching the expected binary, neither of which is available without access to the signing infrastructure.
MITRE ATLAS catalogues adversary techniques against AI systems. Where this OWASP threat has an attacker-perspective counterpart, the ATLAS technique is shown below. That is what a red team would actually be doing on the wire. Use this for detection-signal anchoring, threat-hunting hypotheses, and IR runbooks. Source: mitre-atlas/atlas-data v5.6.0.
© 2026 The MITRE Corporation. ATLAS content is reproduced and distributed with the permission of The MITRE Corporation.
AML.T0073Impersonationview on ATLAS ↗Adversary poses as a trusted entity (user, service, peer agent) to gain access or influence decisions.
AML.T0012Valid Accountsview on ATLAS ↗Adversary obtains and abuses legitimate user or service credentials for initial access, persistence, privilege escalation, or defence evasion.
Agentic angle: Agents often run under long-lived service accounts whose blast radius exceeds the original task scope.
AML.T0055Unsecured Credentialsview on ATLAS ↗Adversary discovers credentials stored in plain configuration files, environment variables, or model context where they should not be exposed.
Agentic angle: Agent configuration files (system prompts, tool descriptors, MCP manifests) are a fresh credential exposure surface.
Adapted by Helmwart from the OWASP source(s) above underCC BY-SA 4.0(changes: normalized IDs, added MAESTRO-layer, agentic-factor, and mitigation mappings). This entry is licensed CC BY-SA 4.0.
Press play. The voice downloads once, then it’s cached.
On-device · private