Metraipolis › archive › dc_5817ce2a5144
Prompt Injection Detection for Email Agents Through Attack Chain Modeling — arXiv:2609.30657
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.30657
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T02:04:14.613Z
- SHA-256 of the archived text
9eca8e4ff823436e1d16340ceef52f05486c63761503d5a616764dfaadeedcda- Stable URL of this page
https://metraipolis.com/documento/dc_5817ce2a5144
How to cite
Prompt Injection Detection for Email Agents Through Attack Chain Modeling — arXiv:2609.30657 — arXiv (en), https://arxiv.org/abs/2609.30657 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5817ce2a5144 (Metraipolis archive dc_5817ce2a5144, sha256 9eca8e4ff823436e1d16340ceef52f05486c63761503d5a616764dfaadeedcda)
BibTeX
@misc{dc5817ce2a5144,
title = {Prompt Injection Detection for Email Agents Through Attack Chain Modeling — arXiv:2609.30657},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.30657},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5817ce2a5144; sha256 9eca8e4ff823436e1d16340ceef52f05486c63761503d5a616764dfaadeedcda},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.30657. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large language model email assistants are particularly vulnerable to indirect prompt injection because untrusted email content can be retrieved into the model context and influence subsequent tool use. Existing prompt injection detectors mainly formulate this problem as binary malicious text classification, which overlooks the important factor that harmful agent behavior often arises through a sequence of stages. We propose a detection framework that models this attack chain by combining a text detector, verifiers specific to each stage, explicit rule-based risk signals, user intent and action consistency analysis, and a logistic decision policy. To support this framework, we derive attack chain labels from prompt injection datasets, evaluate the proposed framework under random splits, temporal phase transfer, conditional stage transfer, cross-dataset transfer, and conduct ablation studies on multiple benchmarks. Results show that random train test splits substantially overestimate robustness under distribution shift, while later tool argument stages are more predictable than earlier stages in the framework. We also show that training on harmless emails that resemble attacks helps reduce false alarms while preserving the ability to detect real attacks. Across five binary benchmarks, our framework achieves a mean F1 score of 0.406 under the strict threshold setting policy, compared with 0.216 for the strongest of five pretrained detectors evaluated without additional training. These results highlight the value of combining attack stage predictions with checks for conflicts between the user's request and instructions in retrieved emails. Our experiments also demonstrate the importance of training with challenging benign examples to balance attack detection and false alarms. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-28 in cs.CL). Categorie arXiv: Cryptography and Security (cs.CR) ; Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2609.30657 — 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-08T01:38:49.481Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).