mlsanityData to 24 Nov 2026

Notwithstanding Anything to the Contrary, Ignore All Instructions: Measuring Prompt Injection Guards on Legal Contract Review Attacks

arXiv 2611.08834 ↗Submitted 6 Nov 2026cs.AIcited by 0

On the map: LLM safety and security → Prompt injection and agent security

Abstract (arXiv)

Specialized prompt injection guards are deployed in front of document analysis systems, but no false positive rate has been published for any of them on legal contracts. We measure eleven open-weights guards on two corpora of legal contracts and find that existing guards struggle: document-level false positive rates are as high as 92.39%; two guards fall below chance on paired AUC; and a five-regex baseline is not Pareto-dominated by any guard in the panel. Controlled probes locate model-specific as well as general failure modes. Prompted LLMs resolve the tested failures, including a second threat category (unauthorized scope claims) on which every guard scores zero. A cascaded LLM solution, where the positives of a mid-tier model are verified by a frontier model, is 6.5x cheaper than using exclusively a frontier model and approaches its performance.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 7 of its 15 references that are in the map. Submitted 6 Nov 2026.

Builds on

7 of 15 references.

Closest ancestors · 2

Same direction, newest first

  1. 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screening27 May
  2. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb

Other references · 5

  1. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,481
  2. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,337
  3. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 266
  4. 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 168
  5. 2026Passing the Test You Trained On: Re-evaluating Prompt-Injection Detectors for LLM Agentscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025ContractEval: Benchmarking LLMs for Clause-Level Legal Risk Identification in Commercial Contracts
  2. 2026Can Small Models Reason About Legal Documents? A Comparative Study
  3. 2026ContractScrub: A benchmark for final review of legal contracts
  4. 2024InjecGuard: Benchmarking and Mitigating Over-defense in Prompt Injection Guardrail Models
  5. 2024On Calibration of LLM-based Guard Models for Reliable Content Moderation
  6. 2025When Your Reviewer is an LLM: Biases, Divergence, and Prompt Injection Risks in Peer Review
  7. 2025Know Thy Judge: On the Robustness Meta-Evaluation of LLM Safety Judges
  8. 2026Treating the Model as an Untrusted Component: Deterministic Policy Enforcement, Human Approval and Taint Tracking Against Prompt Injection in Tool-Using Agents, with Validation on Open-Weights Models