mlsanityData to 7 Oct 2026

Doppelganger Method: Breaking Role Consistency in LLM Agent via Prompt-based Transferable Adversarial Attack

arXiv 2506.14539 ↗First posted 17 Jun 2025cs.AI cs.CRcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Since the advent of large language models, prompt engineering now enables the rapid, low-effort creation of diverse autonomous agents that are already in widespread use. Yet this convenience raises urgent concerns about the safety, robustness, and behavioral consistency of the underlying prompts, along with the pressing challenge of preventing those prompts from being exposed to user's attempts. In this paper, we propose the ''Doppelganger method'' to demonstrate the risk of an agent being hijacked, thereby exposing system instructions and internal information. Next, we define the ''Prompt Alignment Collapse under Adversarial Transfer (PACAT)'' level to evaluate the vulnerability to this adversarial transfer attack. We also propose a ''Caution for Adversarial Transfer (CAT)'' prompt to counter the Doppelganger method. The experimental results demonstrate that the Doppelganger method can compromise the agent's consistency and expose its internal information. In contrast, CAT prompts enable effective defense against this adversarial attack.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 20 of its 38 references that are in the map. First posted on arXiv 17 Jun 2025.

Builds on

20 of 38 references.

References · 20

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  4. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  5. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  6. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
  7. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  8. 2023ChemCrow: Augmenting large-language models with chemistry toolscited by 609
  9. 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
  10. 2024AgentClinic: a multimodal agent benchmark to evaluate AI in simulated clinical environmentscited by 215
  11. 2024Agent Hospital: A Simulacrum of Hospital with Evolvable Medical Agentscited by 210
  12. 2017The Space of Transferable Adversarial Examplescited by 156
8 more
  1. 2024PERSONA: A Reproducible Testbed for Pluralistic Alignmentcited by 71
  2. 2023Personas as a Way to Model Truthfulness in Language Modelscited by 46
  3. 2024Distract Large Language Models for Automatic Jailbreak Attackcited by 40
  4. 2025LLM-based Human Simulations Have Not Yet Been Reliablecited by 30
  5. 2025Enhancing Persona Consistency for LLMs' Role-Playing using Persona-Aware Contrastive Learningcited by 27
  6. 2024Large Language Models Are Involuntary Truth-Tellers: Exploiting Fallacy Failure for Jailbreak Attackscited by 17
  7. 2024CharacterGPT: A Persona Reconstruction Framework for Role-Playing Agentscited by 10
  8. 2023The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examplescited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Assessing Automated Prompt Injection Attacks in Agentic Environments
  2. 2026Defending against Adaptive Prompt Injection Attacks via Reasoning-enabled Task Alignment
  3. 2025To Protect the LLM Agent Against the Prompt Injection Attack with Polymorphic Prompt
  4. 2024Imprompter: Tricking LLM Agents into Improper Tool Use
  5. 2026Defense Against Indirect Prompt Injection via Tool Result Parsing
  6. 2026Dive into Ambiguity: A*-Inspired Multi-Agents Commonsense Obfuscation Attack on LLM Prompts
  7. 2025Meta SecAlign: A Secure Foundation LLM Against Prompt Injection Attacks
  8. 2026When Prompts Control Robots: Prompt Injection Attacks in Multi-Agent Robotic Systems