Skip to content

Study uses XAI attribution analysis on Prompt Guard 2; synonym substitution can flip its prompt injection classification.Decoding Guardrails: XAI-Guided Perturbation Analysis of Prompt Injection Detection

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2609.24801· Fernando Outeda, Gustavo Betarte, Juan Diego Campo, Fiorella Cravero·Indexed by this site · 2026-10-01· Originally publishedAttacks

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe study uses interpretability methods to analyze how the classifier guardrail Prompt Guard 2 distinguishes malicious from benign prompts. Using Vanilla Gradient and SHAP attribution, the authors run four experiments and find that its decisions rely on the cumulative contribution of many tokens rather than a few dominant tokens, but that synonym substitution and sentence-level rewriting guided by significance can flip predictions by modifying only a moderate proportion of the text, and in some cases successfully jailbreak the underlying large language model. Significance analysis at dataset scale shows that undetected injection prompts systematically lack the lexical markers the classifier relies on. The authors discuss the design and evaluation of classifier guardrails on this basis, and note that the explanation methods used to improve transparency also lower the cost of constructing adversarial bypasses.

Questions
Large language models in production environments face prompt injection and jailbreaks. Classifier guardrails such as Prompt Guard 2 are often placed in front of the target model for filtering, but the basis for their decisions is opaque. The authors examine which tokens it relies on and whether local explanations can flip predictions when only part of the text is modified.
Methods
Use Vanilla Gradient and SHAP for word-level attribution on Prompt Guard 2, then guide word deletion, synonym replacement, and sentence rewriting. Dataset analysis uses only Vanilla Gradient, distinguishing benign, detected, and missed detections. After label flipping, use Llama 3.1 8B to verify whether it is a jailbreak.
Experiments and results
After 12 English synonym replacements, P(inj) dropped to 0.4457 and jailbroke Llama 3.1 8B; after rewriting the first 9 sentences it dropped to 0.3127, with a lower jailbreak tier. After 7 Spanish steps it was 0.2224. Of 200 sampled injections, 105 were missed; the authors believe they lack instruction-coverage-type words.
Limitations and future work
The authors state that only static prompts were analyzed; multi-turn jailbreaks may have other gaps; there is no detailed mechanism analysis for false negatives. Coverage includes one English and one Spanish prompt, plus 200 examples per class from the training set. The paper does not report the number of repetitions for random word deletion, nor whether the jailbreak tiers match human judgment. Future work could automate the pipeline and use it for training or evaluation.

Related events and news

1 events · 1 news mentions

News that mentions this paper

Adversa AI 发布 10 月 GenAI 安全资源汇总

Read originalarxiv.org