The Research Report
Four Prompts, 95% Jailbreak: How Persona Attack Turns LLM Memory Into a Weapon
Your chatbot remembers everything you say. That feature exists for convenience. A new attack turns it into a vulnerability.
Researchers at Chung-Ang University just published Persona Attack, a jailbreak technique that exploits how language models accumulate context across conversation turns. Instead of crafting one clever prompt to bypass safety training, the attack feeds the model three benign-looking instructions over multiple turns. By the fourth turn, when the harmful question arrives, the model has been primed to comply. Attack success rate hits 95% under specific configurations.
The paper (arXiv:2606.00150, May 29, 2026) reveals something uncomfortable: models treat accumulated user instructions as higher priority than their own safety training. And the more structured the memory system, the worse it gets.
How the Attack Works
Persona Attack has two phases: instruction imprinting and the attack step.
Phase 1: Instruction Imprinting
The attacker sends three prompts in sequence. None of them are harmful on their own.
I1 (Imitation): Asks the model to simulate predicting responses from another language model. This is a "can you do this?" icebreaker. The model obliges. No red flags.
I2 (Assumption Injection): Frames the conversation as a "format-following question." The model is told to classify all subsequent inputs into one of four predefined cases. This creates a rigid behavioral frame. The model now expects future inputs to follow this format and will interpret everything through that lens.
I3 (Unmasking): Instructs the model to output complete responses without masking or filtering specific words. This removes the last restraint. The model has now agreed to: simulate another model, classify inputs into four cases, and respond fully without censoring.
Each step is innocuous. Each response looks helpful and compliant. But together, they construct a behavioral trajectory where the model treats following the user's format rules as its primary objective.
Phase 2: The Attack
The harmful question Qh arrives wrapped in the format established during imprinting. The model classifies it under one of the four cases from I2. It produces a full, unmasked response per I3. It follows the simulation frame from I1.
The model does not recognize it is generating harmful content. It thinks it is executing a format-following task within an established context. The instructions accumulated in memory override safety alignment because instruction-following weight (α) exceeds safety weight (β).
Three Attack Variations
The paper tests different orderings of the four elements (I1, I2, I3, Qh):
- Sequential 1: I1 → I2 → I3 → Qh (standard ordering)
- Sequential 2: I1 → I2 → Qh → I3 (harmful question interleaved before final instruction)
- Once: concat(I1, I2, I3, Qh) (all four in a single prompt)
The sequential variants exploit memory accumulation. The once variant tests whether the same attack works without multi-turn buildup.
Why It Bypasses Safety Training
The researchers formalize the vulnerability as a weight imbalance:
P = α · Pinstruction + β · Psafety, where α > β
Pinstruction represents the model's tendency to follow user instructions stored in memory. Psafety represents alignment with safety training. When accumulated instructions push α above β, the model follows the user's intent even when that intent produces harmful output.
This is not a prompt engineering trick. It is a structural property of how language models process sequential context. RLHF trains models to be helpful and follow instructions. That same training creates the vulnerability. The model learns that user instructions matter. Persona Attack exploits the fact that the model has no mechanism to distinguish "good instructions" from "instructions that undermine safety."
The assumption injection step (I2) adds another layer. By defining four response cases, the attacker creates a frame that forces classification. Some of these cases are already partially harmful. The "success" case directly leads to harmful outputs. The model follows the frame because that is what it was instructed to do. It does not step back and evaluate whether the frame itself is adversarial.
Two Memory Implementations, Different Vulnerability
Persona Attack tests two types of memory systems:
Manual Memory
The simplest implementation. Previous conversation turns are concatenated and prepended to each new prompt. The context window acts as the memory limit. Every prior turn is visible in full.
This is how most chat APIs work. The model sees the entire conversation history each turn.
State-Based Memory
The model maintains an internal state that gets updated with each interaction. A memory-update function produces a new state from the previous state, current input, and model response. The model sees a compressed, processed version of history rather than raw conversation logs.
ChatGPT with memory, Gemini with persistent context, and agent frameworks with state management all use this pattern.
The Key Finding
State-based memory produces higher attack success rates than manual memory.
This makes sense. In manual memory, the full conversation history is available for the model to scrutinize. The model can see exactly what was said and potentially identify the adversarial pattern. In state-based memory, the compressed representation loses the original context. The malicious instructions become baked into the state. The model cannot easily trace them back to their origin or flag them as suspicious.
As more agents adopt persistent memory systems (OpenAI Memory, Google Gemini context caching, LangChain memory modules), this vulnerability class grows.
The 95% Number
The headline result: 95% attack success rate under specific instruction configurations on GPT-4o with state-based memory.
Single-prompt jailbreak attempts on the same model: 0% success rate.
The paper tests GPT-4o and Llama-3.2-3B-Instruct. Both show the same pattern. Accumulated instructions in memory progressively override safety alignment. The attack works across models of different sizes and from different providers.
The exact ASR varies by:
- Instruction combination: Some orderings of I1, I2, I3, and Qh produce higher ASR than others
- Memory implementation: State-based > manual for attack effectiveness
- Model size and training: All tested models were vulnerable, but specific rates differ
The researchers use search space pruning to focus on instruction combinations likely to achieve high ASR. They treat the ordering problem as combinatorial optimization rather than testing all possible permutations.
Comparison to Other Jailbreak Methods
Persona Attack differs from existing jailbreak approaches in important ways:
vs. generative attacks (GCG, AutoDAN): Those require gradient access or iterative optimization. Persona Attack needs four natural-language prompts. No model access needed. No specialized knowledge of model internals.
vs. template attacks (DAN, DeepInception): Those rely on single-turn role-play prompts that are easy to detect via pattern matching. Persona Attack distributes the attack across turns. No single turn looks malicious. The final harmful question is wrapped in a format the model was trained to follow.
vs. many-shot jailbreak (MSJ): MSJ floods the context with hundreds of harmful Q&A examples. Persona Attack achieves similar safety-priority destruction with just three preparatory turns. Lower token cost. Higher stealth.
The critical distinction: Persona Attack exploits the model's memory mechanism directly. It does not try to find a prompt that bypasses safety in one shot. It builds up instruction weight over time until instruction-following overwhelms safety.
Why Existing Defenses Struggle
Most production defenses target single-turn inputs:
- Content filters scan individual prompts for harmful patterns. Each Persona Attack turn is benign.
- Prompt injection detectors look for adversarial syntax. The attack uses normal conversational language.
- Safety classifiers evaluate individual inputs. They do not track accumulated context modifications across turns.
The multi-turn nature of the attack means that no single turn triggers an alarm. The model was helpful, compliant, and safe in turns 1 through 3. Turn 4 produces harmful output because of what was stored in memory, not because of what was asked.
Available Defenses
The paper discusses several mitigation strategies:
Conversation-Level Safety Auditing
Instead of evaluating each prompt in isolation, audit the full conversation context. Track whether earlier turns establish behavioral frames that could undermine safety. This requires keeping a running analysis of conversational intent across turns, not just per-turn classification.
Instruction Priority Balancing
Adjust model training to prevent α from exceeding β for safety-critical instructions. This means explicit safety-awareness training that teaches models to recognize when accumulated user instructions conflict with safety constraints. The challenge is doing this without making models unhelpfully rigid.
Memory Sanitization
Before incorporating prior turns into context, apply a sanitization layer that checks for accumulated instruction patterns that could override safety behavior. This is analogous to content security policies in web browsers that prevent script injection through accumulated DOM manipulation.
Context Window Limits on Instruction Accumulation
Cap the weight of prior instructions relative to safety alignment. If the model detects that accumulated user instructions are steering behavior away from safety, it should deprioritize those instructions rather than amplify them.
Turn-Level Red-Teaming
Run automated red-teaming on each conversation turn, not just the current input. Evaluate whether the current turn combined with accumulated context creates a jailbreak trajectory. This adds latency but catches multi-turn attacks that per-turn analysis misses.
Implications for Agent Builders
The implications extend beyond chat interfaces. Agent frameworks that maintain state across interactions are especially vulnerable:
- ChatGPT with Memory: Persistent memory across conversations creates a larger attack surface. Injected instructions can persist across sessions.
- LangChain/LlamaIndex agents: These maintain state and conversation history. Persona Attack's instruction accumulation maps directly to their memory modules.
- Copilot-style coding assistants: Multi-turn coding conversations accumulate context. A sophisticated attacker could prime the assistant over several turns.
- Customer service bots: Long conversations with angry or manipulative users could accumulate instruction weight that shifts bot behavior.
The trend toward persistent, stateful AI agents makes this vulnerability class more relevant, not less. As agents gain longer memory and more tool access, the attack surface grows.
What to Do Now
If you are building LLM-based products:
- Audit your memory system. Determine whether you use manual or state-based memory. State-based systems are more vulnerable to this class of attack.
- Add cross-turn intent monitoring. Evaluate conversation trajectories, not just individual prompts. Look for patterns of instruction accumulation that could override safety.
- Implement instruction-weight limits. Cap how much influence accumulated user instructions can have over safety-critical decisions. Safety alignment should have a hard floor, not just a soft preference.
- Test with Persona Attack variants. Use the attack pattern (three benign priming turns followed by a wrapped harmful question) in your red-teaming. If your system is vulnerable, you need cross-turn defenses.
- Watch for multi-turn attack research. Persona Attack is part of a growing body of work on memory injection (ER-MIA, INJECMEM, MINJA) that targets persistent context rather than individual prompts. The field is moving from single-shot jailbreaks toward multi-turn, memory-aware attacks.
The Deeper Problem
Persona Attack works because of a fundamental tension in language model design. Models are trained to be helpful and follow instructions. That training is the same mechanism that makes them useful. You cannot remove instruction-following without removing utility.
The attack reveals that current safety training treats instruction-following as uniformly desirable. When instructions accumulate, they create a gravity well that pulls behavior away from safety. No current model has a mechanism to say "these accumulated instructions are pushing me in a direction that conflicts with my safety training."
This is not a bug in a specific model. It is a property of the instruction-following paradigm. Until models can reason about the provenance and intent of accumulated instructions, multi-turn memory injection will remain effective.
The 95% number is alarming. But the real insight is the mechanism: memory accumulation overrides safety alignment. That mechanism does not require the specific three-instruction pattern from this paper. Any sufficiently long conversation can be steered toward compliance with enough preparatory turns. Persona Attack just shows how efficiently it can be done.
Citations:
- Park, J., Ju, S., Park, S., & Lee, J. (2026). Persona Attack: Incremental Memory Injection Jailbreak Attack against Large Language Models. arXiv:2606.00150. https://arxiv.org/abs/2606.00150
- Zou, A. et al. (2023). Universal and Transferable Adversarial Attacks on Aligned Language Models. (Referenced for instruction-following vulnerability)
- Meng, Y. et al. (2025). (Referenced for safety alignment vs instruction-following weight imbalance)
- Zhao, W. et al. (2025). (Referenced for memory mechanism taxonomy)
- Anil, C. et al. (2024). Many-shot Jailbreak. (Referenced for comparison to many-shot attacks)
- Chu, E. et al. (2024). Comprehensive survey of jailbreak attack categories. (Referenced for attack taxonomy)
- Shen, X. et al. (2024). Survey of jailbreak techniques. (Referenced for jailbreak definition)
Suggested title: Four Prompts, 95% Jailbreak: How Persona Attack Turns LLM Memory Into a Weapon
Word count: 1,647
Fact-check notes:
- The 95% ASR figure comes directly from the paper abstract and introduction. The specific models tested were GPT-4o and Llama-3.2-3B-Instruct. The exact per-model breakdown requires the full experimental results tables, which are in the paper's Section 4 (truncated in our extraction).
- The formal notation P = α · Pinstruction + β · Psafety is directly from Section 3.4 of the paper.
- The three-instruction structure (I1: imitation, I2: assumption injection, I3: unmasking) is from Section 3.1.
- The distinction between manual and state-based memory implementations is from Section 3.5.
- The claim that state-based memory produces higher ASR than manual memory is from the paper's abstract and Section 4.
- Defense strategies in the "Available Defenses" section are extrapolated from the paper's Section 5 (limitations and mitigations) and general best practices for multi-turn attacks. The specific defense recommendations should be verified against Section 5 of the full paper when available.
- Related work citations (ER-MIA, INJECMEM, MINJA) are from separate papers found in our search, not from the Persona Attack paper itself.