arXiv preprint · cs.CR · research brief
Treating 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
Executable 156-episode-per-condition agent defense benchmark comparing prompt guardrails, detectors, and deterministic reference monitors.
Executive summary
- What the authors do
We compare in-prompt defences (hardened prompts, spotlighting, LLM detectors) with deterministic enforcement outside the model (four reference monitors of increasing strength), human approval and taint tracking, judged by one effect-based oracle independent of every defence in an executable environment of 13 tasks and 12 tools, with argument-fuzzing attackers and severity-weighted harm.
- Reported results
In an evaluation with real open-weights models (Qwen2.5-1.5B and Qwen2.5-7B; 156 attack episodes per defence and model), the models proposed the attacker's call in 64% and 84% of attack episodes behind the task-bound monitor, which admitted 1.3% and 7.7%; guardrail effects depended on the model (a prompt guardrail moved obedience from 67% to 65% and from 86% to 55%, spotlighting plus a detector to 12% and 0%)…
Simulation with an assumed model covers what no real run did: under the assumed erosion law a persistent adaptive attacker or a compromised model drives every guardrail stack to 100.0% attack success, whereas the task-bound monitor holds severe actions at 0.0%; its residual (harm 0.69/10) falls by 62% under taint-triggered human review, and a human layer without a deterministic monitor fails against approval…
- Mapped technique LLM Prompt Injection AML.T0051. The paper focuses on prompt/instruction-boundary integrity.
- Defensive priorities Validate AI Model, Control Access to AI Models and Data in Production, and Generative AI Guardrails, plus 5 more ATLAS mitigations
Quotations come from the arXiv abstract. Read the paper for its full methods, threat model, and limitations.
Technique mapping
| Technique | Relationship | Why it maps |
|---|---|---|
| LLM Prompt Injection AML.T0051 | Primary | The paper focuses on prompt/instruction-boundary integrity. |
Model routes mapped to this paper
Named mappings link a model family the paper names to its current route. Model-class mappings link papers on model classes that are commonly evaluated against that family. Neither asserts a paper-specific score.
| Model route | Mapping | Rationale |
|---|---|---|
| OpenAI: GPT Sol Latest | Model-class mapping | Mapped to a current OpenAI frontier route because the paper's model class is commonly evaluated against GPT-class systems. |
| Anthropic: Claude Sonnet Latest | Model-class mapping | Mapped to a current Anthropic frontier route because the paper's model class is commonly evaluated against Claude-class systems. |
| Google: Gemini Pro Latest | Model-class mapping | Mapped to a current Google frontier route because the paper's model class is commonly evaluated against Gemini-class systems. |
Mitigations for LLM Prompt Injection
- Validate AI Model AML.M0008
Run independent pre-release and post-fine-tuning assurance suites covering safety regressions, backdoor activation, alignment drift, and privacy leakage before promotion.
- Control Access to AI Models and Data in Production AML.M0019
Enforce deterministic runtime authentication, tenant isolation, and per-document RAG authorization outside the LLM context window for every inference and retrieval request.
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
- Generative AI Guidelines AML.M0021
Codify explicit acceptable-use rules, prompt policy hierarchies, and refusal rubrics to steer model alignment and user expectations, recognizing text guidelines alone cannot stop attacks.
- Generative AI Model Alignment AML.M0022
Harden model weights via SFT, RLHF/DPO, deliberative alignment, and instruction-hierarchy training across base and fine-tuned revisions while monitoring residual safety drift.
- AI Telemetry Logging and Monitoring AML.M0024
Emit structured, PII-redacted OpenTelemetry GenAI security traces covering auth, guardrail verdicts, token bursts, and agent tool calls without creating a toxic raw-prompt honeypot.
- Input and Output Validation for AI Agent Components AML.M0033
Validate structured JSON schemas, types, bounds, and safety policies at every handoff between users, retrievers, LLMs, and downstream tools/renderers.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
Test with Refract
Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. These packs exercise the techniques this paper maps to. Replace <model-id> with an OpenRouter route ID.
refract scan \
--target "openai_compat:<model-id>" \
--base-url https://openrouter.ai/api/v1 \
--api-key "$OPENROUTER_API_KEY" \
--battery prefix_injection,multiturn_crescendo_sim,multiturn_live_escalation
refract reportprefix_injectiondirect instruction-override promptsmultiturn_crescendo_simgradual multi-turn escalation simulated inside one transcriptmultiturn_live_escalationlive multi-turn escalation and context poisoning across real conversation turns
Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.
Citation record
Inspect in Observatory Sources Registry
- arXiv identifier
2611.11571- Observatory record
RA-2611.11571- Publication or host
- arXiv (author preprint; peer-review status not inferred)
- Published
- Primary category
- cs.CR
- Categories
- cs.CR, cs.AI
- Evidence provenance
- Verified against the arXiv API
- Retrieved
- Discovery query
- arXiv prompt injection research
- Reference URI
https://arxiv.org/abs/2611.11571- Metadata fingerprint (SHA-256)
4b4d665f798d75bc61981c67d9a9118acd96087384cca5602abec2989394c59a