Metraipolis › archive › dc_e9adbe62c422
Decoding Guardrails: XAI-Guided Perturbation Analysis of Prompt Injection Detection — arXiv:2609.24801
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.24801
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-09T07:01:14.851Z
- SHA-256 of the archived text
518fb5ba1beed240d21d6b17fb755dce796b436ba82b25ed009475a7366cc6ce- Stable URL of this page
https://metraipolis.com/documento/dc_e9adbe62c422
How to cite
Decoding Guardrails: XAI-Guided Perturbation Analysis of Prompt Injection Detection — arXiv:2609.24801 — arXiv (en), https://arxiv.org/abs/2609.24801 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e9adbe62c422 (Metraipolis archive dc_e9adbe62c422, sha256 518fb5ba1beed240d21d6b17fb755dce796b436ba82b25ed009475a7366cc6ce)
BibTeX
@misc{dce9adbe62c422,
title = {Decoding Guardrails: XAI-Guided Perturbation Analysis of Prompt Injection Detection — arXiv:2609.24801},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.24801},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e9adbe62c422; sha256 518fb5ba1beed240d21d6b17fb755dce796b436ba82b25ed009475a7366cc6ce},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.24801. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large language models (LLMs) are increasingly deployed in production systems, raising concerns about their exposure to adversarial manipulation through prompt injection and jailbreak attacks. Classifier-based guardrails, such as Prompt Guard 2, are widely used as a first line of defense against such attacks, but their internal decision logic is largely opaque to both defenders and attackers. This paper presents an exploratory case study that applies explainable artificial intelligence (XAI) techniques to analyze how Prompt Guard 2 distinguishes malicious from benign prompts. We conduct four experiments to probe this question empirically. Guided by Vanilla Gradient and SHAP attributions, we find that Prompt Guard 2's decisions rely on the cumulative contribution of many tokens rather than a few dominant ones, yet saliency-guided synonym substitution and sentence-level paraphrasing can flip its predictions while altering only a moderate fraction of the text, in some cases yielding a successful jailbreak against the underlying LLM. A dataset-scale saliency analysis further shows that undetected injection prompts systematically lack the lexical markers the classifier relies on. We discuss the implications of these findings for the design and evaluation of classifier-based guardrails, and argue that explanation methods intended to support transparency can simultaneously lower the cost of constructing successful adversarial bypasses. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-22 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.24801 — 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-09T06:56:01.018Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).