Skip to content
NewA calmer, faster ZeroHour

Study finds LLMs can be role-spoofed by malicious tool output

Original title: Understanding and Mitigating Role Spoofing in LLMs

arXiv cs.CRby Ezra Edelman ()1 min read
AI summary · x-ai/grok-4.7Summaries by Vani AI

Linear role probes detect spoofing; content-only adversarial training still leaves structure-based attacks effective.

The paper studies role spoofing, in which malicious text in tool outputs impersonates the user by exploiting role confusion. Models track speakers using content cues such as style and structural cues such as control tokens and formatting. Combined fake structure and content make models highly susceptible. Adversarial training against content-based injections did not stop structure-based attacks in a toy setting. Linear probes trained to predict roles are proposed as a detector and reported effective across settings.

Unconfirmed: The claim that this explains frontier-model susceptibility is the authors' interpretation, not a test of named models.

Key facts
  • Role spoofing uses malicious tool output, such as a webpage an agent fetches.
  • Models use semantics, writing style, control tokens, and formatting as speaker cues.
  • Content-only adversarial training leaves structure-based spoofing intact.
  • Detection relies on linear probes trained to predict conversation roles.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

Despite growing capabilities, LLMs remain susceptible to prompt injections: malicious inputs that can manipulate or hijack models. In particular, it has recently been observed that LLMs can exhibit role confusion (Ye et al. , 2026), where models attribute the source of text based on its style instead of its labeled role.

arXiv cs.CR

By Ezra Edelman · arxiv.org

Read the full article at arXiv cs.CR

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.