Prompt Injection as Role Confusion
Summary
Research paper shows that LLMs suffer from 'role confusion', where they prioritize the style of text over its actual role tags, enabling prompt injection attacks. Destyling text reduces attack success from 61% to 10%, indicating a fundamental challenge for LLM security.
View Cached Full Text
Cached at: 06/23/26, 01:40 AM
Similar Articles
Prompt Injection as Role Confusion
This paper presents a theory that prompt injection attacks on LLMs stem from a fundamental flaw in how models perceive roles, treating roles as a type system for language. It explains existing attacks, predicts new ones, and proposes a research agenda for a science of roles.
@rohanpaul_ai: LLMs often cannot tell when an attack made them say something unsafe. Asking an LLM whether its own previous answer was…
This paper investigates whether LLMs can reliably self-report when their outputs have been compromised by adversarial prefills, finding that models often cannot distinguish between compromised and intentional outputs, and their limited recognition stems from normal refusal behavior rather than true self-awareness.
When Does Persona Prompting Actually Help? A Retrieval and Metric Analysis of Expert Role Injection in LLMs
This paper analyzes when persona prompting improves LLM responses, finding that it increases expertise depth at the cost of clarity, with effectiveness varying by domain and question type. The study introduces hybrid retrieval for role selection and advocates for multi-metric evaluation.
Same Bytes, Different Authority: Reserved-Token Representations in Chat-Template Prompt Injection
This paper examines how using reserved tokens versus subword tokens in chat templates affects the success of prompt injection attacks against LLM agents, finding that reserved tokens significantly increase attack authority and success rates.
Domain-Camouflaged Injection Attacks Evade Detection in Multi-Agent LLM Systems
This paper identifies a new class of injection attacks where payloads mimic the domain language to evade LLM injection detectors, showing detection rates drop dramatically (e.g., from 93.8% to 9.7% on Llama 3.1 8B). The vulnerability is systematic and extends to dedicated safety classifiers like Llama Guard 3, which detected zero camouflage payloads.