Skip to main content
← Back to sources

Research: Prompt Injection Is Role Confusion — "Destyling" Cuts Attack Success From 61% to 10%

Published 2026-06-22Ingested 2026-06-26AI Engineering PracticesHigh

Summary

New research from Charles Ye, Jasmine Cui, and Dylan Hadfield-Menell (writeup at role-confusion.github.io, surfaced via Simon Willison) reframes prompt injection as a *role confusion* problem: large language models fail to reliably distinguish privileged internal text (tagged `<system>`, `<think>`, etc.) from untrusted user input because they prioritize the *style/formatting* of text over its actual content labels. An attacker can append malicious instructions written in the style of the model's

Alignment: New signal not yet covered
Related Positions: Agentic Workflows, AI Governance and Risk, AI-Assisted Development Tooling
prompt-injectionagent-securityllm-securityrole-confusiondestylingguardrailsagentic-workflowsresearch