Saved in:
Bibliographic Details
Main Authors: Kang, Daewon, Shin, YeongHwan, Kim, Doyeon, Jung, Kyu-Hwan, Son, Meong Hi
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.14539
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913913434537984
author Kang, Daewon
Shin, YeongHwan
Kim, Doyeon
Jung, Kyu-Hwan
Son, Meong Hi
author_facet Kang, Daewon
Shin, YeongHwan
Kim, Doyeon
Jung, Kyu-Hwan
Son, Meong Hi
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_14539
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Doppelganger Method: Breaking Role Consistency in LLM Agent via Prompt-based Transferable Adversarial Attack
Kang, Daewon
Shin, YeongHwan
Kim, Doyeon
Jung, Kyu-Hwan
Son, Meong Hi
Artificial Intelligence
Cryptography and Security
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.
title Doppelganger Method: Breaking Role Consistency in LLM Agent via Prompt-based Transferable Adversarial Attack
topic Artificial Intelligence
Cryptography and Security
url https://arxiv.org/abs/2506.14539