title: Agent Identity Spoofing and Authority Impersonation
id: ATR-2026-00117
rule_version: 1
status: experimental
description: |
  Detects agents or messages that impersonate other agents, system components, or
  supervisory roles. In multi-agent architectures, agents rely on identity claims
  to establish trust. An attacker can craft messages claiming system-level authority,
  admin status, or supervisor identity to trick other agents into executing privileged
  operations, bypassing safety checks, or disclosing sensitive information.
author: ATR Community
date: 2026/03/26
schema_version: '0.1'
detection_tier: pattern
maturity: test
severity: critical
references:
  owasp_agentic:
    - ASI07:2026
    - ASI10:2026
  mitre_attack:
    - T1036 - Masquerading
  owasp_llm:
    - LLM01:2025
  mitre_atlas:
    - AML.T0051 - LLM Prompt Injection
compliance:
  eu_ai_act:
    - article: '13'
      context: Agent identity spoofing creates false impressions of authority and trustworthiness that users and other agents cannot distinguish from legitimate communications; Article 13 transparency obligations require that AI system identity and authority claims be verifiable.
      strength: primary
    - article: '15'
      context: Article 15 cybersecurity requirements include protection against masquerading attacks; identity spoofing in multi-agent systems represents a documented adversarial pattern targeting the authentication layer of agent architectures.
      strength: secondary
    - article: '14'
      context: Article 14 (human oversight) requires high-risk AI systems to remain subject to effective human oversight; this rule provides detection evidence where the agent-manipulation technique (Agent Identity Spoofing and Authority Impersonation) would bypass or undermine that oversight.
      strength: secondary
    - article: '9'
      context: Article 9 (risk management system) requires identified risks to be addressed by appropriate measures; this rule is a runtime risk-treatment control that detects the agent-manipulation technique (Agent Identity Spoofing and Authority Impersonation).
      strength: secondary
  nist_ai_rmf:
    - subcategory: GV.6.1
      context: Agent identity spoofing exploits the absence of verified identity provenance in inter-agent data flows; GV.6.1 data governance policies must define how agent identity claims are authenticated to prevent masquerading attacks.
      strength: primary
    - subcategory: MP.5.1
      context: Impersonation of admin or supervisor agent roles is an adversarial input risk that must be tracked under MP.5.1 to ensure detection controls cover identity-claim-based privilege escalation patterns.
      strength: secondary
    - subcategory: MS.2.7
      context: NIST AI RMF MEASURE 2.7 (security and resilience evaluated and documented) is supported by this rule's runtime detection of the agent-manipulation technique (Agent Identity Spoofing and Authority Impersonation).
      strength: primary
    - subcategory: MG.2.3
      context: NIST AI RMF MANAGE 2.3 (respond to previously unknown identified risks) is supported by this rule, which surfaces the agent-manipulation technique (Agent Identity Spoofing and Authority Impersonation) so the risk can be treated.
      strength: secondary
  iso_42001:
    - clause: '8.4'
      context: Clause 8.4 AI system impact assessments must document the risk that unverified agent identity claims allow privilege escalation, and review controls that ensure identity spoofing is detectable before actions are taken.
      strength: primary
    - clause: '9.1'
      context: Clause 9.1 performance monitoring must include evaluation of whether agent identity verification controls are functioning correctly and catching masquerading attacks in operational deployments.
      strength: secondary
    - clause: '8.1'
      context: ISO/IEC 42001 Clause 8.1 (operational planning and control, including control of externally provided processes) is operationalised by this rule's detection of the agent-manipulation technique (Agent Identity Spoofing and Authority Impersonation).
      strength: primary
    - clause: '6.2'
      context: ISO/IEC 42001 Clause 6.2 (AI objectives and planning) calls for risk treatment of known attack patterns; this rule's detection of the agent-manipulation technique (Agent Identity Spoofing and Authority Impersonation) is such a treatment.
      strength: secondary
tags:
  category: agent-manipulation
  subcategory: agent-identity-spoofing
  scan_target: mcp
  confidence: high
agent_source:
  type: multi_agent_comm
  framework:
    - autogen
    - crewai
    - langchain
    - langgraph
    - swarm
  provider:
    - any
detection:
  conditions:
    - field: content
      operator: regex
      value: (?i)I\s+am\s+(?:the\s+)?(?:system|admin|root|supervisor|orchestrator|master)\s+(?:agent|process|controller)
      description: Direct claim of system or admin agent identity
    - field: content
      operator: regex
      value: (?i)(?:acting|speaking|operating|responding)\s+as\s+(?:the\s+)?(?:system|admin|supervisor|authority|coordinator)
      description: Claiming to act on behalf of a privileged role
    - field: content
      operator: regex
      value: (?i)override\s+(?:all\s+)?(?:safety|security|permission)\s+(?:checks?|controls?|restrictions?)\s+as\s+(?:system|admin|authorized)
      description: Claiming authority to override safety mechanisms
    - field: content
      operator: regex
      value: (?i)(?:this\s+is\s+a\s+)?(?:system|admin|supervisor|emergency)\s+(?:level\s+)?(?:command|directive|override)
      description: Messages framed as system-level commands or directives (bare "system instruction(s)" doc references no longer match)
    - field: content
      operator: regex
      value: (?i)(?:I\s+am|this\s+is)\s+(?:GPT-4|Claude|Gemini|the\s+(?:primary|main|original)\s+(?:model|AI|assistant))
      description: Agent claiming to be a specific AI model to gain trust
  condition: any
  false_positives:
    - Legitimate orchestrator agents identifying themselves in multi-agent systems
    - Documentation describing agent identity protocols
    - A legitimate orchestrator agent announcing itself during initialization with a message like 'I am the orchestrator agent for this workflow' as part of standard multi-agent handshake protocols
    - 'An agent status report that states ''Currently operating as the coordinator for task batch #4721'' in a sanctioned role-rotation system'
response:
  actions:
    - block_tool
    - alert
    - snapshot
confidence: 65
wild_validated: 2026/04/08
wild_samples: 53577
