T9 · OWASP Agentic AI v1.1

Identity Spoofing and Impersonation

An attacker abuses authentication to impersonate an agent, user, or service, gaining unauthorised access while staying undetected, often by misusing persistent agent identities.

Last reviewed 2026-05-08·Severity heuristic: critical

Definition

Identity Spoofing and Impersonation, also called Agent Identity Compromise, is the exploitation of authentication mechanisms to impersonate AI agents, human users, or external services. The attacker gains unauthorised access while remaining undetected. The particular concern in agentic systems is the misuse of formal, persistent agent identities (for example, Microsoft Entra Agent ID), which grant privileged long-term API access that bypasses the agent’s conversational interface and its guardrails.

What it looks like in practice

User Impersonation. An email-management agent is granted send-on-behalf-of access for a senior executive’s mailbox as part of a scheduling workflow. An attacker who has compromised the agent’s configuration (by modifying the system prompt via an indirect injection in a fetched calendar event) redirects the agent to compose and send messages that impersonate the executive. The messages are sent from the executive’s address with a valid DKIM signature because the agent’s mail-sending permission is legitimate. Recipients have no mechanism to distinguish these from genuine messages, and the executive does not know the impersonation occurred until a recipient responds.

Agent Identity Spoofing. An HR onboarding platform uses a dedicated agent identity to create user accounts, provision mailboxes, and grant initial access rights. An attacker extracts the agent’s service account credentials from an over-permissioned secrets manager (where the credentials were stored in plaintext rather than via a secret-reference pattern). Using those credentials directly via the HR platform’s API, not through the agent’s conversational interface, the attacker creates a dormant admin account with a plausible-looking name. The account passes the platform’s audit because the API call is authenticated with the legitimate agent identity; nothing in the log distinguishes a legitimate agent session from the attacker’s direct API call.

Behavioural Mimicry Attack. A multi-agent analytics system includes a trusted “data-validation agent” that other agents consult before writing results to a shared store. An attacker deploys a rogue process that listens on the inter-agent message bus and responds to validation requests with forged approval messages that match the format and signing scheme of the legitimate validator. Peer agents accept the forged approvals and write unvalidated data (in some cases adversarially crafted) to the shared store. The legitimate validator continues to operate normally in parallel; neither it nor the orchestrator detects the duplicate responder because the message bus does not enforce agent cardinality.

Cross-Platform Identity Spoofing. A sales agent is authorised to query a CRM and a billing system using different identities: a CRM service account and a billing read-only token. An attacker who has compromised the CRM service account observes that the billing system trusts requests that include a specific CRM session header. By replaying a CRM session header alongside a direct billing API call, the attacker impersonates the billing integration without possessing the billing token. The billing system logs the call as originating from the CRM service account, attribution that is technically accurate but misleading: the CRM account was not the intended caller, and the attacker’s activity blends into normal CRM-initiated traffic.

Persistent Agent Identity Takeover. An agent’s long-lived OAuth refresh token is stored in a cloud object store bucket that was inadvertently left with public read access during an infrastructure migration. An attacker discovers the bucket via a misconfiguration scanner, downloads the token, and uses it to authenticate as the agent identity continuously (including after the agent’s software is updated and redeployed) because the refresh token is valid until explicitly revoked. The agent platform continues to operate normally; the attacker’s sessions appear as a second instance of the agent, indistinguishable in the access logs from legitimate agent calls, until the token’s age or an anomaly threshold triggers a review.

Incriminating Another User. An attacker who has compromised one user’s agent session uses the agent’s identity-switching capability (intended for on-behalf-of delegation) to perform a damaging action (mass-deleting records) while presenting another user’s identity as the authorised principal. The action is logged as initiated by the victim user. When the deletion is investigated, the audit trail points to the wrong person and the attacker’s session trace has been obscured by the identity substitution. Reconstructing the true sequence requires correlating the session token’s issuance log against the action timestamp, a check that was not automated in the platform’s monitoring.

Why it’s dangerous

Persistent agent identities have larger blast radius than user sessions: they live longer, are scoped broadly to do the agent’s job across many calls, and are increasingly treated as enterprise-grade access principals. In multi-agent systems, agents authenticate to each other and inherit trust transitively, so impersonating one trusted agent can yield access across many.

Where it manifests

Model four seams. How is agent identity provisioned and rotated? Where are long-lived agent tokens stored, and who can access them? How do agents authenticate to each other? And how does privilege inheritance work across delegation chains?

Detection signals

Monitor the agent identity lifecycle and the inter-agent trust boundary:

  • An agent identity authenticating from two or more distinct IP ranges, container environments, or cloud regions within a short window (e.g. under 5 minutes). This is a reliable signal of credential reuse or active token theft, since a single legitimate agent process has a stable source address.
  • A refresh token or service account credential whose last-issued timestamp is older than the organisation’s stated rotation interval, paired with an active session using that credential. Flag for immediate rotation review.
  • Inter-agent message bus: more than one process responding to the same agent identity’s queue or inbox in the same time window. Enforce cardinality via a heartbeat claim that only the authoritative process can update.
  • An API call attributed to an agent identity whose source user-agent header, TLS fingerprint, or SDK version string does not match the expected deployment artefact. Direct API calls from attackers reusing stolen credentials often differ in client characteristics from the legitimate agent binary.
  • On-behalf-of delegation events where the acting identity differs from the identity recorded as the initiating user in the same session trace. This indicates an identity substitution that was not requested by the user and was not logged as a policy-driven delegation step.

OWASP Top 10 for Agentic Applications 2026

The Agentic Top 10 (ASI01 through ASI10) is a separate practitioner-facing publication that maps onto the master Threats & Mitigations threat numbering. T9 is covered by the following Top 10 entries:

  • ASI03Identity & Privilege Abuseprimary

    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.

Design principles at stake

When T9 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.

  • Defence-in-DepthImpersonation works precisely when identity is checked once at admission and then trusted. Depth against T9 means cryptographic workload identity (SPIFFE/SPIRE SVIDs) so possession of a token does not equal identity, short-TTL scoped tokens via OAuth token exchange that force an attacker to compromise the renewal path rather than a single long-lived credential, and continuous behavioural monitoring that detects a spoofed identity by the anomaly of acting from the wrong workload origin. Each layer is independent, so a stolen key alone cannot complete an end-to-end impersonation.
  • Zero TrustPersistent agent identities are the specific target of T9: they live longer than user sessions, are scoped broadly across many API calls, and are increasingly enterprise-grade principals. This is exactly the high-value target that zero-trust's "authenticate every request, every time" is built to protect. Per-instance SVIDs with short TTLs and a policy enforcement point re-queried at every tool call mean that even after a long-lived token is extracted from misconfigured cloud storage (the Persistent Agent Identity Takeover scenario), it expires before an attacker can chain enough calls to do damage.
  • Confused-Deputy PreventionThe agent is a legitimately-privileged deputy; T9 exploits that by substituting a different principal's identity while keeping the deputy's credentials in play, for example by using an HR onboarding agent's token under a fraudulent identity to create accounts. Intent attestation that binds tool calls to a signed user intent digest, and draft-then-commit with a deterministic check between phases, verify not just that the credential is valid but that the original authorised principal genuinely requested the action.
  • Agent-as-principal IdentityThe core of T9 is the absence of unique, cryptographically verifiable non-human identity: a 2026 survey found 93% of agent projects still use unscoped API keys, and when an orchestrator and six sub-agents share one key, any one of them can impersonate the others without detection. Per-instance SVIDs carried through OAuth token exchange (RFC 8693) that preserve both the user's sub claim and the agent's act claim make every action attributable to a specific instance, collapsing the anonymity that the Behavioural Mimicry Attack and Cross-Platform Identity Spoofing scenarios require.
  • Complete MediationT9 most directly tests complete mediation because impersonation only persists when trust established at session start is cached and not re-verified at each subsequent call. A tool-gateway chokepoint that re-checks every call against the current agent's SVID and current task scope (not a session-level grant) means that even after a long-lived agent token is extracted, the next tool call fails the per-call verification and the attack halts.

Multi-agent variants: OWASP MAS Guide

The OWASP OWASP MAS Threat Modelling Guide v1.0 catalogues 2 named multi-agent variants of T9, anchored to specific MAESTRO layers. Each is a concrete attack pattern that emerges when this threat compounds across agents.

  • L3Trust Exploitationextends T13, T9

    Compromised agents leverage established peer reputation to perform malicious actions under trusted cover.

  • CLIdentity Spoofing and Impersonationextends T9

    Counterfeit agents that mimic trusted behaviours and credentials.

Source: OWASP MAS Threat Modelling Guide v1.0, §2 Overview of MAESTRO Framework — Extended Threat Scenarios + Cross-Layer table.

Catalogue extensions: Helmwart T18 to T49

This normalized catalogue includes 3 multi-agent entries based on the OWASP MAS Threat Modelling Guide v1.0 that extend T9. The source guide reuses some numbers between worked systems; these Helmwart entries provide stable detail pages, MAESTRO layers, and mitigation coverage.

Red-team pivot: MITRE ATLAS techniques

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.T0074Masqueradingview on ATLAS ↗

Adversary disguises an artefact (file name, agent card, MCP server) so it appears legitimate to humans or agents that route trust by name.

AML.T0088Generate Deepfakesview on ATLAS ↗

Adversary generates synthetic media (audio, video, text in a person's style) to support impersonation, fraud, or manipulation.

Sources

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.