Metraipolis › archive › dc_81baca72139f

Are You Reading the Right Thing? Rethinking Internal Signals for Prompt-Injection Detection — arXiv:2610.19452

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.19452
License (as archived)
CC0-1.0
Archived
2026-10-15T20:01:36.841Z
SHA-256 of the archived text
26ee7dd421eec30c8689de64ff5c960cd299d1711f3706c7a2ff8585cfe6dab1
Stable URL of this page
https://metraipolis.com/documento/dc_81baca72139f

How to cite

Are You Reading the Right Thing? Rethinking Internal Signals for Prompt-Injection Detection — arXiv:2610.19452 — arXiv (en), https://arxiv.org/abs/2610.19452 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_81baca72139f (Metraipolis archive dc_81baca72139f, sha256 26ee7dd421eec30c8689de64ff5c960cd299d1711f3706c7a2ff8585cfe6dab1)
BibTeX
@misc{dc81baca72139f,
  title = {Are You Reading the Right Thing? Rethinking Internal Signals for Prompt-Injection Detection — arXiv:2610.19452},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.19452},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_81baca72139f; sha256 26ee7dd421eec30c8689de64ff5c960cd299d1711f3706c7a2ff8585cfe6dab1},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.19452. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Several recent studies propose detecting prompt injections from a language model's internal state. However, these methods do not measure a single security property. Residual-stream probes, attention scores, role projections, exposure probes, and concept readouts may capture injection presence, recognition, information routing, or behavioral influence. It is therefore unclear what differences in prompt-injection detection performance reveal about the internal signals these methods read. We study how five representation-reading methods vary under a common structured indirect prompt-injection setup on Qwen3.6-35B-A3B and Gemma-4-26B-A4B-it. We evaluate each method by how well it distinguishes injected prompts from benign controls. We then further analyze each detection method's ability to detect attacks in cases where they are successful and in cases where they are not. This helps us better assess what properties each detection method might rely on. Methods trained to detect injection presence or attack-related concepts generally separate unsuccessful injections more strongly from benign inputs, whereas attention diversion, exposure, and role-confusion-based methods separate successful injections more strongly on both models. Attention Tracker provides the strongest consistent successful injection separation, reaching 0.949 AUROC on Qwen and 0.887 on Gemma. These results suggest that signals closer to response formation may better encode information about an attack's success, and that detection performance can depend strongly on the prompt template. We share the data associated with this study at this https URL

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.19452 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-15T19:35:48.234Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).