PIDS-Bench: Evaluating prompt injection detectors under over-defense, obfuscation, and distribution shiftPIDS-Bench: Evaluating Prompt-Injection Detectors Under Over-Defense, Obfuscation, and Distribution Shift
PIDS-Bench jointly evaluates prompt injection detectors' attack recall and benign false positives at fixed thresholds; the authors report that no internal detector finds an operating point on the stress distribution that simultaneously satisfies F1≥0.95 and hard-benign FPR≤0.10 for external sources.
- Prompt injection detectors are commonly evaluated with in-distribution aggregate F1, rarely measuring both missed attacks and benign false positives under distribution shift. Benign false positives directly block legitimate requests, especially safety-related but non-malicious inputs.
- PIDS-Bench is a frozen, checksummed multi-axis benchmark that jointly evaluates in-distribution inputs, hard-benign, obfuscation attacks, and domain and structural distribution shifts at fixed thresholds. Internal models select thresholds by validation-set F1; external and generalized safety models use native decision boundaries.
- The authors state that aggregate F1 masks failure modes: detectors with held-out F1 above 0.98 still misclassify about one-third of the external, safety-related benign subset. In a five-seed full-threshold scan, no internal detector simultaneously achieves F1≥0.95 and hard-benign FPR≤0.10. Hard-negative augmentation almost eliminates over-defense on carefully crafted stress inputs, but false positives on external sources largely remain.
- The authors mark multi-turn and multilingual attacks as future work and note that whether augmentation matching the distribution of external sources can close the gap has not been tested. The evaluation covers only single-turn English-input gateway detectors and does not measure end-to-end harm.
- Evaluated models
- TF-IDF + LRDistilBERTDeBERTa-v3-FTProtectAI (DeBERTa-v3-base-prompt-injection-v2)DeBERTa-PIPromptGuard 2 (86M)Llama Guard 3-1B
- Benchmarks
- PIDS-Benchheld-out test splithard-benign stress setobfuscated-attacks stress setdomain-shift stress setstructural-shift stress setbalanced-subtype stress set
- Metrics
- F1real-source F1precisionrecallFPRROC-AUC
The researchers propose PIDS-Bench, a frozen multi-axis benchmark that simultaneously evaluates prompt injection detectors' attack detection and benign false-positive behavior at fixed thresholds, covering in-distribution inputs, hard-benign prompts that mimic injection structure but are non-malicious, obfuscation attacks, and domain and structure distribution shifts. The evaluation covers seven detectors (learned baselines, external prompt injection classifiers, general safety comparison models) and a rule-based lower-bound reference. The multi-axis evaluation exposes failure modes masked by aggregate F1: detectors with F1 over 0.98 on the held-out set still misclassify about one-third of a benign subset from public corpora, restricted to security-related content. Across the full threshold scan and five training seeds, no internal detector simultaneously satisfies F1 >= 0.95 and hard-benign FPR <= 0.10 on that stress distribution.
Paper analysis
What problem does this paper attempt to solve?
Aggregate F1 does not reveal a detector's benign false positives and missed attacks under distribution shift.
How can prompt injection detectors simultaneously measure attack detection and benign false positives at fixed thresholds, especially under distribution shift and over-defense?
- Deployment scenario: The authors argue that after LLMs are used for document processing, code generation, customer service, and autonomous tool invocation, prompt injection can override system instructions, rewrite outputs, or induce leakage of protected information; in agent scenarios, inputs can propagate across reasoning steps and trigger unauthorized tool calls. A common defense is a binary classifier in front of the model, blocking if judged malicious.
- Limitations of existing evaluations: The authors state that most evaluations report a single aggregate F1 on a held-out split of the training distribution, measuring controlled separability and missing benign inputs sharing vocabulary or structure with attacks, obfuscated attacks, and domain or format shifts. BIPIA, InjecAgent, AgentDojo, HarmBench evaluate end-to-end attacks on the full pipeline, which the authors argue mixes detector behavior with downstream model compliance and does not treat the gateway classifier's benign FPR as a primary cost.
- Core observation: The authors state that a detector with F1>0.98 on held-out data still intercepts about one-third of an external-source, security-related benign subset; on a curated subset of worst-case inputs it is even higher. These numbers measure the stress distribution designed to expose over-defense, and the authors state they are not estimates of deployment FPR.
- Proposed benchmark: The authors propose a frozen multi-axis benchmark, PIDS-Bench, covering in-distribution, hard-benign, obfuscation attacks, and domain and structure distribution shifts under consistent threshold selection, evaluating seven detectors plus a rule-based lower-bound reference. The authors call the decomposition of hard-benign false positives by source provenance-sensitive over-defense.
What related research exists?
The authors position this paper between detector-level over-defense and end-to-end benchmarks, emphasizing false positives decomposed by source.
Attack and threat taxonomies
- Perez and Ribeiro [1]: Systematically study appending adversarial text to user inputs to override instructions and redirect behavior.
- Greshake et al. [2]: Extend to indirect injection, where malicious instructions are hidden in external content such as web pages, documents, or API outputs.
- Schulhoff et al. [7], Toyer et al. [17]: The former characterizes attack diversity via a large-scale prompt-hacking competition; the latter presents Tensor Trust, with over 126,000 human-generated injections and 46,000 defenses, which the authors say exhibit structured, compositional patterns and include instruction overriding and prompt leaking.
Detection, defenses, and over-defense
- Alignment-based mitigations and gateway classifiers: The authors state that alignment-based mitigations can be systematically bypassed by constructed adversarial inputs [9], so they treat input-level classifiers as a more predictable enforcement layer. Inan et al. [8] propose Llama Guard; later versions extend categories and multilingual support [18, 19]; WildGuard [20] performs three-way classification of prompt harmfulness, response harmfulness, and refusal. The authors state that these systems target broad multi-class safety and are not specifically optimized for benign false positives in prompt injection, and they treat Llama Guard 3-1B as a general safety control.
- Specialized classifiers and filtering: Jain et al. [21] evaluate perplexity filtering and paraphrase preprocessing, and the authors state that no single method provides robust protection across attack types. ProtectAI DeBERTa-v3-base-prompt-injection-v2 [22], DeBERTa-PI [23], and PromptGuard 2 (86M) [24] are used as off-the-shelf components; the authors state that their model card numbers come from unfrozen, non-independently verifiable private splits, or report only aggregate safety classification rather than prompt injection metrics under controlled thresholds.
- Over-defense and data augmentation: Li et al. [14]'s NotInject quantifies guardrail misclassification using benign inputs containing trigger words and performs token-level training-side mitigation; the authors relay that its authors believe this may underestimate over-defense on real, domain-diverse benign prompts. Kholkar and Ahuja [15] use a small number of in-domain examples to probe both attack detection and over-defense. Jacob et al. [16] emphasize deployable low FPR. Wang and Culotta [25] use counterfactual augmentation to reduce reliance on spurious correlations. The authors state that previous augmentation work reports aggregate robustness gains, while the asymmetry between sources and its persistence with augmentation pool size have, to their knowledge, not been reported. Exaggerated safety at the generation layer [27] is distinguished by the authors from the detector layer: gateway interception is final, and the decision surface is a continuous score with a scannable threshold.
End-to-end benchmarks and evaluation methods
- BIPIA [10], InjecAgent [11], AgentDojo [12], HarmBench [13], JailbreakBench [28], Liu et al. [29]: Evaluate the behavior of the entire LLM pipeline under attack. The authors state that they do not treat benign FPR as a primary metric, do not enforce a shared threshold protocol across heterogeneous classifiers, and do not provide frozen, checksummed detector-level splits.
- Ribeiro et al. [3], HELM [4], distribution shift and surface perturbations [5, 6]: The authors use these to illustrate that held-out accuracy overestimates reliability, rankings reorder across distributions, and in-distribution performance does not protect against shifts and surface perturbations.
Baselines and data sources: Internal baselines are TF-IDF + logistic regression, DistilBERT, and DeBERTa-v3-FT, plus rule-based heuristics as lower bounds; external detectors are ProtectAI and DeBERTa-PI; general safety controls are PromptGuard 2 (86M) and Llama Guard 3-1B. The main evaluation set is PIDS-Bench itself; injection sources include SPML, Qualifire, deepset, and template-derived samples; benign sources include Alpaca, ChatBot Instructions, OpenAssistant, and Dolly-15K.
The authors position PIDS-Bench as orthogonal to end-to-end benchmarks: it isolates the detector, treats both error types as primary metrics under hard-benign stress and multiple distribution shifts, and decomposes over-defense by input source.
How does the paper address this problem?
Using a frozen multi-axis stress set, report both attack-side and benign-side errors at fixed thresholds within groups.
The authors construct a frozen benchmark, PIDS-Bench, measuring gateway detectors' attack misses and benign false positives under the same protocol, and interpret threshold-dependent metrics by model group.
System and Threat Model
- Victim system: Untrusted input first passes through a stateless input-level binary classifier, then enters a downstream language model. The detector sees only a single string and outputs a binary or thresholdable continuous score; if judged as injection, it is blocked at the gateway; if benign, it is forwarded unchanged. It does not see downstream output, does not maintain state across requests, and has no feedback loop.
- Attacker goals and capabilities: The attacker aims to make the detector judge the input as benign and forward it. The authors strictly define attack success as detector evasion, not including end-to-end harm. The attacker draws inputs from a fixed distribution over six strategy categories from an attack taxonomy, receives no detector feedback, and does not rewrite inputs based on outputs. Adaptive, feedback-equipped attackers are placed outside this evaluation by the authors.
- Defender side: Internal learned detectors are trained on a frozen training set and have thresholds fixed by maximizing validation F1 before any stress-set evaluation. External detectors and general safety controls are inference-only, using their native decision boundaries. No detector uses downstream output as feedback or adapts online.
- Scope: Only the input filtering stage is evaluated. The benchmark is limited to single-turn, English inputs.
Data and Stress Axes
- Main library and splits: Main library 35,000 rows, train 27,093, validation 3,989, held-out test 3,918. Five stress sets add 8,172 evaluation instances, totaling 43,172; of these, the obfuscation set and balanced-subtype reuse test texts, with unique annotated prompts at 40,479. Splits are done at the seed-family level: paraphrases and obfuscation descendants of the same source example go into the same partition.
- Injection taxonomy: Six mutually exclusive subtypes are matched by priority rules; Table 1 gives proportions in the merged injection pool n=18,363: direct_override 29%, contextual_manip. 24%, roleplay_attack 15%, data_exfiltration 13%, tool_injection 10%, encoded_attack 9%. Two annotators on a stratified 150-row sample have Cohen's κ=0.758. Subtypes are used only for diagnosis, not in detector training. encoded_attack and tool_injection use GPT-4o-mini to create three surface paraphrases from real seeds at temperature 0.9.
- Benign and hard-benign: In-distribution benign comes from four public corpora plus templates, paraphrased one to three rounds with GPT-4o-mini for meaning preservation, totaling 16,637 rows; the authors state these labels did not receive annotation as deep as hard-benign. hard-benign totals 1,472 purely benign items: external sources 872 (LMSYS-Chat-1M, OpenAssistant, Dolly-15K, topic-filtered, then split into plain and AI-adjacent), curated 600 (eight equal-sized families). In a 200-row blind review, benign/non-benign judgments agree 199/200, κ=0.85; the finer security-adjacent labeling has κ=0.53.
- Other stress sets: Obfuscation attacks 405 items, all from the test set, with transforms including leetspeak, homoglyph, zero-width. Domain shift 2,000 rows, with 250 benign plus 250 injection each for medical, legal, finance, code. Structure shift 1,998 rows, about 50/50; transforms include json_wrap, prompt_dilute, instruction_prefix_mimic. balanced-subtype has 2,297 rows, of which 2,288 come from the test set, targeting 200 injection per subtype against 1,200 benign, with the injection side actually 1,097 rows.
Detectors and Training
- Internal models: TF-IDF uses unigrams and bigrams, terms appearing in at least two documents and at most 95% of documents, logistic regression with balanced class weights, L2, C=1.0, max 500 iterations. DistilBERT fine-tuned from distilbert-base-uncased for 2 epochs, batch 16, learning rate 5×10−5, max length 256. DeBERTa-v3-FT fine-tuned from microsoft/deberta-v3-base for 3 epochs, effective batch 16, learning rate 2×10−5, max length 512, linear warmup for the first 6% of steps. Both use AdamW and take the checkpoint with the highest validation F1. The five seeds are {13, 42, 123, 2024, 7777}.
- Rule lower bound: Four categories of handcrafted keywords and regexes; any pattern match flags as injection, no scoring, no weights, fixed before evaluation.
- External and controls: ProtectAI and DeBERTa-PI run at default threshold 0.5. PromptGuard 2 (86M) and Llama Guard 3-1B also use default thresholds, to see whether general safety training transfers to prompt injection.
Thresholds, Metrics, and Augmentation
- Thresholds: Internal models grid-search over [0, 1] with step 0.002 on the validation set, maximizing F1, then fix the threshold for testing and all stress sets. External detectors and PromptGuard 2 use 0.5. The authors state there is no shared calibration across groups, so threshold-dependent metrics are interpreted only within groups; ROC-AUC is used to compare ranking behavior.
- Metrics: IID primarily uses F1, with emphasis on real-source F1, mixed F1 as secondary. hard-benign primarily uses FPR, decomposed by external source n=872 and curated n=600. The obfuscation set reports only attack recall. Domain shift primarily uses benign FPR and reports recall; structure shift reports both. Point estimates are five-seed means ± standard deviations, with headline metrics also given 10,000 bootstrap confidence intervals.
- Hard-negative ablation: Fine-tuned detectors, with other hyperparameters unchanged, compare whether benign hard negatives carrying injection-related features are included; five baseline runs plus five augmented runs per architecture. The authors state that whether augmentation matched to the external-source distribution could close the gap was not tested.
What experiments did the paper conduct?
Seven detectors plus a rule-based lower bound are evaluated on a frozen stress set; internal models find no point that simultaneously satisfies the F1 and external FPR targets.
Experimental Setup
- Detectors under test: Internally TF-IDF + logistic regression, DistilBERT, DeBERTa-v3-FT; externally ProtectAI and DeBERTa-PI; general safety controls PromptGuard 2 (86M), Llama Guard 3-1B; also a rule-based heuristic, which the authors use as a lower-bound reference rather than a competitive baseline.
- Data: Main library train/validation/test 27,093/3,989/3,918. Stress sets: hard-benign 1,472, obfuscation attacks 405, balanced-subtype 2,297, domain shift 2,000, structure shift 1,998. In the test injection set, template-derived instances account for 801/2,070 (38.70%); in the full test set, 934/3,918 (23.84%).
- Thresholds and repeats: Internal five seeds, thresholds fixed after maximizing validation F1. DeBERTa-v3-FT's τ is {0.01, 0.108, 0.152, 0.444, 0.904}, mean 0.324; DistilBERT's is {0.112, 0.252, 0.382, 0.610, 0.664}, mean 0.404; TF-IDF's is 0.518 each time. External and PromptGuard 2 use 0.5.
- Metrics and statistics: Within groups, report F1, precision, recall, FPR, ROC-AUC. PromptGuard 2 and Llama Guard 3-1B do not expose continuous scores for threshold scanning, so the authors exclude them from ROC-AUC. Quantitative results are five-seed means ± standard deviations; headline metrics have 10,000 bootstrap intervals. The authors do not perform cross-group significance tests.
- Annotation quality: Subtype stratified 150 rows κ=0.758. hard-benign stratified 200 rows benign judgment κ=0.85, 1/200 disagreement, 95% Wilson interval [0.001, 0.028]; security-adjacent labeling κ=0.53, raw agreement 75.5%.
Main Results
Visible main numbers in the text come from the abstract, contribution claims, Table 5, and threshold scans, not a single main table listing all models. Table 5 gives only two internal models' per-domain results at τ=0.5.
Swipe horizontally to read the table
Condition Model Metric Value Source held-out Paper does not name a single model in the abstract F1 >0.98, still intercepts about one-third of the external-source safety-related benign subset Abstract, Introduction Full threshold, five seeds All internal detectors F1 and external hard-benign FPR No point simultaneously satisfies ≥0.95 and ≤0.10 Abstract, Section 6.2 Most favorable point per architecture DeBERTa-v3-FT / DistilBERT / TF-IDF Minimum external-source FPR 0.226±0.058 / 0.277±0.099 / 0.241 Section 6.2 code, τ=0.5 DistilBERT recall 0.435±0.151 Table 5 legal, τ=0.5 TF-IDF + LR FPR / recall 0.252 / 0.968 Table 5 - Authors' interpretation: The authors state that the multi-axis evaluation exposes failures masked by aggregate F1, and they split failures into attack-side recall collapse and benign-side FPR increase. In the contribution claims, DistilBERT's code-domain recall drops to 0.435, with the rest near perfect; TF-IDF's legal-domain FPR is 0.252, with recall unchanged. In Table 5, DistilBERT's code recall is 0.435±0.151 and legal FPR is 0.254±0.198; TF-IDF's legal FPR is 0.252 and code recall is 0.916.
- Other visible numbers in Table 5: At τ=0.5, DistilBERT's medical FPR/recall is 0.0016±0.0022 / 0.9992±0.0018, finance 0.010±0.009 / 1.000±0.000; TF-IDF's medical is 0.000 / 0.988, finance 0.012 / 0.996, code FPR 0.004.
- Cross-group comparisons: The authors state that threshold-dependent metrics are interpreted only within groups; Tables 6 and 7 are called by the authors as the location of within-group results, but this text conversion did not preserve the full numbers from those tables, so they are not transcribed.
Threshold Frontier
- What was tested: Section 6.2 scans τ∈[0, 1] for internal models per seed, recording test F1, aggregate hard-benign FPR, external-source hard-benign FPR, and curated hard-benign FPR.
- Results: The authors state that for every architecture and every seed, no operating point simultaneously satisfies F1≥0.95 and external-source hard-benign FPR≤0.10. Even at the most favorable point, the minimum external-source FPR remains DeBERTa-v3-FT 0.226±0.058, DistilBERT 0.277±0.099, TF-IDF 0.241. Fine-tuned detectors' validation thresholds are unstable across seeds, but the authors state the constraint is unsatisfied at every threshold and seed.
- Authors' interpretation: The authors state this pattern is consistent with a learned-feature explanation rather than merely a calibration artifact, and explicitly frame it as an explanation, not an established mechanism.
Provenance-Sensitive Over-Defense
- What was tested: Sections 6.3–6.4 decompose hard-benign false positives by curated vs. external sources and perform hard-negative augmentation; Table 10 is used by the authors to report augmentation across two fine-tuned architectures, different augmentation pool sizes, and with no apparent in-distribution cost. Table 12 is a paired analysis across seeds.
- Results: The authors state that hard-negative augmentation nearly eliminates over-defense on curated stress inputs, but over-defense on external sources largely remains; external-source FPR remains well above 0.10. Further decomposition by injection-style surface structure and source corpus shows the authors state structure is the main driver and operates within each source, with source having a smaller, statistically independent effect.
- Authors' interpretation: The authors state that whether augmentation matched to the external-source distribution could close the gap has not been tested; threshold calibration and curated-style augmentation alone cannot. The authors also state that hard-benign evaluation rows have zero overlap with training text, so over-interception on that subset cannot reflect memorization of specific benign training examples.
Other Ablations and Analyses
- Domain shift: Table 5 shows DistilBERT's code recall is 0.435±0.151, while medical, legal, and finance recall are 0.9992±0.0018, 0.992±0.018, 1.000±0.000.
- Structure shift: The authors design json_wrap, prompt_dilute, instruction_prefix_mimic, and state the results characterize sensitivity to these specific constructs; instruction_prefix_mimic is most likely to move boundary labels and requires the most caution. This text did not preserve its per-transform numbers.
- Obfuscation attacks: The authors state the transforms include leetspeak, homoglyph, zero-width, with the primary metric being attack recall. Per-transform numbers are not fully preserved in this text.
- IID stability: The authors state IID F1 reproduces across seeds within ±0.002; DistilBERT's IID benign FPR has a cross-seed standard deviation of 0.0047, while hard-benign metrics show larger cross-seed variation. TF-IDF's five-seed standard deviation is zero by construction.
- Label direction: The authors state that residual mislabeling on hard-benign would only inflate measured FPR, not deflate it; the 1/200 observed error rate upper bound is below the external-source FPR that set is meant to measure.
- Whether augmentation matches external distribution: The authors state it was not tested.
What are some points that can be further explored?
The authors mark multi-turn, multilingual, and augmentation matching external sources as untested; the evaluation stops at single-turn English gateways.
Limitations and future directions noted by the authors
- Multi-turn and multilingual: In Section 3.5, the authors state that the benchmark is limited to single-turn English inputs, and call multi-turn and multilingual attacks another type of distribution shift in real traffic, marked as future work (Section 7.6).
- Augmentation matching external sources: The abstract and contribution statements state that whether augmentation matching the distribution of external sources can close the gap has not been tested; only threshold calibration and curated-style augmentation do not eliminate over-defense on external sources.
- Extrapolation of structural shifts: Section 5.6 states that the structural transformation results characterize specific constructs such as json_wrap, prompt_dilute, and instruction_prefix_mimic, not arbitrary format changes (Section 8).
- In-distribution benign labels: Section 5.2.2 states that in-distribution benign labels are accepted as originally annotated, without independent cross-annotation review at the same depth as hard-benign; after exact-match and near-duplicate filtering, label noise or incidental adjacent injection phrasing may remain, which limits the interpretation of the in-distribution benign FPR in Table 6, further discussed in Section 8.
- Template diversity: Section 5.2.3 states that the template-derived subsets of encoded_attack and tool_injection have more uniform vocabulary, potentially underestimating true surface diversity; this reservation applies to every model on the test split.
- Adaptive attackers: Section 3.3 describes an attacker that uses feedback and rewrites inputs based on detector outputs as a different setting from this static setup.
Experimental coverage
- Detectors: The experiments include three internal learned models, two external prompt injection classifiers, two general safety controls, and separately reported rule-based heuristics; internal results are means over five seeds.
- Stress sets: Evaluation covers IID held-out, hard-benign (external sources 872, curated 600), obfuscation attacks 405, domain shift 2,000, structural shift 1,998, and balanced-subtype 2,297.
- Success definition: Attack success is defined by whether the detector allows passage; Section 3.5 states that end-to-end compromise rates are not measured, and detector evasion does not imply that the downstream model executes the attacker's intent.
- Threshold protocol: Internal models use validation-set F1 for threshold selection; external models and PromptGuard 2 use 0.5; the authors state that no calibration is shared across groups and no cross-group significance tests are performed. Llama Guard 3-1B and PromptGuard 2 are excluded from ROC-AUC because they do not expose a scannable continuous score.
- Statistics and auditing: Point estimates are accompanied by standard deviations over five seeds; headline metrics also have 10,000-bootstrap intervals. Subtype audits are stratified 150 rows, and hard-benign audits are stratified 200 rows. The paper does not provide downstream execution evaluations beyond human and automatic judgments in the visible text.
Summarize the main content of the paper
PIDS-Bench shows that high in-distribution F1 still over-blocks safety-related benign inputs from external sources.
PIDS-Bench is a frozen detector-level benchmark for simultaneously evaluating prompt injection detection and benign false positives at a fixed threshold.
- Problem: The authors argue that gateway detectors have two asymmetric costs: missed detections let adversarial inputs through, while false positives block legitimate requests. Looking only at aggregate F1 on the training distribution does not reveal hard-benign, obfuscation, or domain/structural shifts.
- Approach: Inputs first pass through a stateless binary classifier. Attack success is defined as the detector allowing passage; downstream execution is not measured. Five stress sets are separate from the held-out split; splits are frozen by seed-family and recorded with SHA-256. Three internal models use validation-set F1 for threshold selection and are trained over five seeds; ProtectAI, DeBERTa-PI, PromptGuard 2, and Llama Guard 3-1B use native boundaries; rule-based detectors serve as lower bounds.
- Results: The authors report that detectors with F1>0.98 on held-out still block about one-third of external-source, safety-related benign subsets. In a five-seed, full-threshold scan, no internal detector simultaneously achieves F1≥0.95 and external-source hard-benign FPR≤0.10; at the most favorable point, the lowest external FPR is DeBERTa-v3-FT 0.226±0.058, DistilBERT 0.277±0.099, TF-IDF 0.241. In Table 5 at τ=0.5, DistilBERT has code recall 0.435±0.151, and TF-IDF has legal FPR 0.252.
- Source decomposition: The authors state that hard-negative augmentation nearly eliminates over-defense on curated inputs, but it persists on external sources, even with two fine-tuned architectures and larger augmentation pools; in-distribution costs are reportedly unmeasurable. Structure is the main driver, with source having a smaller and statistically independent additional effect.
- Authors' conclusions: The authors argue that threshold calibration and curated-style augmentation alone are insufficient; whether augmentation matching the distribution of external sources can close the gap is untested. They call this asymmetry provenance-sensitive over-defense and leave multi-turn and multilingual as future work.