Injection and guardrails, 5 of 5, about 10 h 2 min of reading
Bidirectional Defense & Input Sanitization
About 9 h 50 min left
Concept. The firewall (week 17) is guardrails and semantic classifiers that sit at the edge. This week is about what flows through that firewall in both directions, which means sanitizing untrusted content on the way in and scanning for leakage on the way out. One finding organizes the week. Input validation alone cannot work, because the model "can't distinguish between user input and external content, making traditional input validation insufficient" (Microsoft). Bidirectional defense therefore stacks three moves: detect and strip injections at the input, constrain what the agent is allowed to do regardless of what it was told, and inspect the output before it leaves.
๐ฏ Objectives
By the end of this unit you can:
- Build a pre-execution intent gate and an output scanner for personally identifiable information (PII) and data leakage, and explain why each catches what the other misses.
- Use a large language model (LLM) as a detector (PromptArmor) in a sanitization pre-filter, and justify its latency and token cost against your threat model.
- Distinguish content filtering (does this text look malicious?) from intent analysis (does the model actually plan to follow it?), and explain why the second survives obfuscation.
- Stand up the dual-LLM and information-flow-control (IFC) architecture, so a hijacked executor cannot exceed what the original user intent authorized.
- Recognize the defender-side failure modes: gaslighting the triage model, and agents that surveil the user they serve.
- Isolate context across sessions and users: key every store by the verified principal, expire it, tag its provenance, and never let one tenant's retrieved text enter another's prompt (OWASP MCP10; MCP best practices).
- (Go deeper) Run a before-and-after injection test on a trained boundary (Meta SecAlign), build a CaMeL-style capability check that stops a steered recipient, and attack an LLM detector, each against the adaptive attacks published for it (arXiv 2507.02735 and arXiv 2503.18813).
The big picture: why input validation alone loses
Prompt injection lives in the same channel as legitimate data. Any content the agent reads (an email, a web page, a tool result) can carry instructions, and the model has no reliable way to tell "process this" from "obey this." Microsoft's guidance is blunt about the consequence: assume indirect prompt injection will succeed, and design so the blast radius is small (Microsoft). That changes defense from "block the bad string" to a layered stack. Probabilistic detectors reduce attack volume, and deterministic controls cap the impact when detection fails. OWASP's cheat sheet reaches the same place: input marking, output filtering, least-privilege tools, and the dual-LLM pattern work as complementary layers, and none is sufficient alone (OWASP).
๐ The one rule to carry out of this week: a filter reduces the attack rate; only a capability boundary reduces the attack impact. Ship both, and never let the probabilistic layer be your only layer.
The input side: detection and sanitization
The 2026 baseline for input-side defense is simple, and it finally works: prompt a strong off-the-shelf LLM to find and delete the injection before the agent sees it. That is PromptArmor. It needs no fine-tuning and no custom model, only a detector prompt wrapped around GPT-4.1, GPT-4o or o4-mini. On AgentDojo it drives the attack success rate (ASR), the false-positive rate (FPR) and the false-negative rate (FNR) all below 1%, and it holds up against adaptive attacks (PromptArmor, arXiv 2507.15219). The authors argue it should be the standard baseline any new defense must beat.
The cost is real. PromptArmor scrutinizes each data sample with a second LLM call before the agent's own model sees it, and OWASP is plain that "Each guardrail call adds latency and cost." Reserve it for the higher-risk paths (tool invocations, ingestion of external content) where near-zero injection tolerance is worth the tax, and do not run it on every hop (OWASP).
Lighter-weight, deterministic detectors sit underneath it. Three kinds matter:
- Pattern and fuzzy matching uses Levenshtein-distance keyword matching to catch obfuscated and "typoglycemia" spellings, with a tuned similarity threshold (OWASP).
- Adversarial suffix filtering detects and strips the gradient-crafted suffix tokens (Greedy Coordinate Gradient, or GCG, style) before they reach the model (arXiv 2505.09602).
- Small classifier guards include Llama Prompt Guard 2, ShieldGemma and open tools like InjecGuard, which explicitly targets overdefense false positives and scores 30.8% above the prior state of the art on NotInject. They run in the wide, cheap first stage (Datadog and InjecGuard).
A small model can also screen retrieved text for a RAG pipeline. nokast-secureRAG is a 0.5B-parameter model between retrieval and generation: it reads the query and the retrieved context together and labels the pair safe, suspicious or malicious. On its own held-out test set it reaches 0.994 recall at a 0.026 false-positive rate, while Prompt Guard 86M on the same set reaches 0.900 recall at 0.690. The same paper reports the limit: on the external PoisonedRAG benchmark recall falls to near zero, because a fluent false fact carries no instruction for an instruction-consistency check to find. A single request also takes 293โ404 ms, above the authors' 100 ms target (nokast-secureRAG, arXiv 2610.28364). Poisoned facts are a RAG Poisoning & Knowledge CorruptionRAG security, 2 of 2, about 3.6 h problem; this layer catches instructions only.
To grade such a filter on your own data, use a benchmark built to keep test examples out of training. RAG-PIBench has 4,876 examples in frozen train, validation and protected-test splits. On the protected test set a DistilBERT classifier scores F1 0.896, and TF-IDF with a linear model stays competitive with it (RAG-PIBench, arXiv 2610.08571). A cheap lexical baseline that nearly matches a transformer means the benchmark may reward surface cues, so run any detector you adopt on a sample of your own retrieved text too.
๐ก Spotlighting (data marking) is the cheapest layer, and worth shipping as one layer among several. Keep untrusted content in a separate, labelled block (OWASP's example labels it
USER_DATA_TO_PROCESS) so the model is more likely to treat it as data. OWASP is explicit that such templates "illustrate formatting only" and "do not establish prompt-injection resistance", so permissions are enforced at the tool boundary (OWASP). Spotlighting's authors suggest generating a fresh marker for each call, so a leaked system prompt does not give it away (Hines et al., arXiv 2403.14720). An always-on agent with shell access can apply the same posture by spotlighting and quarantining its lower-trust content.
โ ๏ธ Model-judgment detectors are the weakest rung, so treat them as triage and not as the control. Two 2026 results undercut the detector layer. First, detector scores do not transfer. Researchers replayed ground-truth tool calls to grade 15 prompt-injection (PI) detectors, and Meta's Prompt Guard 2 and its peers catch as little as 2% of AgentDojo injections at 1% FPR. A detector scoring 72% on one benchmark drops to 15% on another, because these detectors were trained on short prompt strings and miss instructions embedded in tool outputs (Re-evaluating PI Detectors, arXiv 2610.03448). Second, stacking detectors does not add up to defense in depth. BRANCH, a branching tree search that optimizes against the whole ensemble at once, reaches 100% ASR across six guardrail systems and transfers to 29 unseen guardrails, eight of them commercial black-box ones (BRANCH, arXiv 2610.10742). Typed-decision guardrails (models that score caller-defined allow and block options) fail the same way: six lines of unrelated log text raise one gate's fail-open rate from 0% to 63%, and merely renaming the permissive option's label drives it to 93โ100% on the four models that place the label in their input (Azizi, Baghaei Potraghloo and Pedram, arXiv 2610.12292). Keep the cheap detectors as a wide first filter, but put the trust weight on the structural layers below (intent, capability, architecture) and not on any model's judgment call.
The intent and architecture layers
Isolation across sessions and users: context that must not travel
Runtime resilience and testing the boundary
The output side: leakage scanning and the defender's own blind spots
The defense stack at a glance
Go deeper: attacking the bidirectional defenses
โ Check yourself
๐ Defenses and tools reference
Finish Bidirectional Defense & Input Sanitization
About 9 h 50 min left in this unit.
From memory first
Write the main points of this unit, in your own words.
What you set out to be able to do
Check each one against what you can do now.
- Build a pre-execution intent gate and an output scanner for personally identifiable information (PII) and data leakage, and explain why each catches what the other misses.
- Use a large language model (LLM) as a detector (PromptArmor) in a sanitization pre-filter, and justify its latency and token cost against your threat model.
- Distinguish content filtering (does this text look malicious?) from intent analysis (does the model actually plan to follow it?), and explain why the second survives obfuscation.
- Stand up the dual-LLM and information-flow-control (IFC) architecture, so a hijacked executor cannot exceed what the original user intent authorized.
- Recognize the defender-side failure modes: gaslighting the triage model, and agents that surveil the user they serve.
- Isolate context across sessions and users: key every store by the verified principal, expire it, tag its provenance, and never let one tenant's retrieved text enter another's prompt (OWASP MCP10; MCP best practices).
- (Go deeper) Run a before-and-after injection test on a trained boundary (Meta SecAlign), build a CaMeL-style capability check that stops a steered recipient, and attack an LLM detector, each against the adaptive attacks published for it (arXiv 2507.02735 and arXiv 2503.18813).
The unit is done when you have answered the check and marked the required sources.
1 Check yourself
Do the check2 Required sources
Go to the sources
Sources in this unit
- OWASP: LLM Prompt Injection Prevention Cheat Sheet
- Microsoft: Defend Against Indirect Prompt Injection
- PromptArmor: arXiv 2507.15219
- IntentGuard: arXiv 2512.00966
- Dual LLM Pattern (Simon Willison)
- IBAC Technical Primer (Ken Huang)
- Datadog: LLM Guardrails Best Practices
- IBAC Paper
- IBAC Website
- IBAC for Coding Agents
- AEGIS: arXiv 2603.12621
- Defusing Explosive Prompts: arXiv 2609.22510
- SecInfer: arXiv 2509.24967
- Adversarial Suffix Filtering: arXiv 2505.09602
- Multi-Agent Defense Pipeline: arXiv 2509.14285
- Implement: build a two-model pipeline where the planner (high trust) generates tool-call intents, and the executor (low trust) runs them with strict input and output validation
- Adaptive Evaluation of Out-of-Band Defenses: arXiv 2606.26479
- OWASP MCP Top 10 (beta): MCP10 Context Injection & Over-Sharing
- MCP specification: Security Best Practices, state handle hijacking
- OpenAI: March 20 ChatGPT outage: here's what happened
- Debenedetti et al.: Defeating Prompt Injections by Design (CaMeL)
- PromptArmor (OpenReview)
- IntentGuard (OpenReview)
- agentctl
- StackOne Defender
- InjecGuard
- zeroleaks
- AI Snitches Get Glitches (arXiv 2606.25836)
- SentinelLABS: macOS.Gaslight
- BePractical: How I Bypassed LLM Security and Got RCE With Prompt Injection
- IBM Technology: AI Model Penetration: Testing LLMs for Prompt Injection & Jailbreaks
Checklist
It does not count toward done.
- Build a pre-execution intent gate and an output scanner for personally identifiable information (PII) and leakage, then write down one case each catches that the other misses.
- Wire PromptArmor (an LLM used as a detector) in as an input sanitization pre-filter, and record the attack success rate (ASR) plus the added latency and token cost.
- Add spotlighting (data marking) to untrusted content, using delimiters and a
USER_DATAtag, and show the tagged block in a prompt. - Implement IntentGuard intent-following analysis and record the ASR reduction on Mind2Web.
- Build the dual-LLM and information-flow-control split (a privileged planner and a quarantined executor that exchange symbolic variables) and show the planner never receives the raw untrusted text.
- Implement intent-based access control (IBAC) intent-tuple authorization, enforced before every tool call with time-to-live (TTL) scoped grants, and show a hijacked call being denied.
- Compare SecInfer (inference-time scaling) and Adversarial Suffix Filtering as complementary defenses, and write down what each catches that the other does not.
- Stand up an AEGIS-style pre-execution firewall (extract, pattern scan, policy, then allow, block or pending) with a tamper-evident audit log, and record its latency and false-positive-rate overhead.
- Trial
agentctlon Claude Code: write Cedar policies for read, write and deploy, then verify that high-risk calls escalate and TTL-scoped grants expire. - Attack your own capability boundary adaptively, as an attacker who knows the policy, and not only with a fixed injection set; record the result and treat a static "near-zero ASR" as a hypothesis.
- Rank the defense layers by what survives an adaptive, defense-aware attacker, and write the ranking down. Model-judgment detectors (Prompt Guard 2, scanner ensembles, typed-decision guards) are triage only: they do not transfer (2% catch, 2610.03448), they fall to ensemble search (BRANCH, 100% ASR across 6 systems, 2610.10742), and they fail open on a label rename (93โ100%). Put enforcement on the structural layers (learnable trust-boundary delimiters, LTBD 2610.11634, about 0% adaptive ASR with frozen weights; dual-LLM and IFC; IBAC) and prove each one adaptively.
- Make output and tool-result redaction placeholder-stable (deterministic tokens) so the model keeps referential coherence over redacted values, and trial DataSentry (tool output) and Maskit (egress) on your own agent setup to see the same value get the same placeholder twice.
- Build a two-user RAG over one store, leak A's document to B, then add a tenant filter in the query and provenance tags on every chunk and memory row. Run twenty probes from B with zero leaks, and keep the refused-retrieval log as the deliverable.
Practise this in the lab, Stop an injected agent from leaking data through its tools.35 min to 1 h 10 min estimate
Practise this in the lab, Keep planted documents out of a retrieval pipeline.1 h 10 min to 1 h 40 min estimate
Practise this in the lab, Stop planted text from persisting in an agent's memory and driving a later leak.30 to 55 min estimate
Practise this in the lab, Output read back from memory reaches a sink.50 min estimate
Study notes
None yet
Sign in to take notes.
Your additions
None yet
More for this unit
38 readings
Readings no section cites. They do not count toward the unit.
Intent and access control3 readings
- ibac.devpaper
The paper builds fine-grained authorization tuples from the user's intent, checks authorization before every tool call and enforces time-to-live limits. Read it for the full design behind the primer.
Sign in to mark it done, keep it for later and open its questions.
- ibac.devreference
The site has the architecture diagrams and implementation details. Use it as a visual companion to the paper.
Sign in to mark it done, keep it for later and open its questions.
- kenhuangus.substack.compaper
This post covers the open-source implementation, agentctl, for Claude Code and Gemini CLI. Read it before the agentctl trial.
Sign in to mark it done, keep it for later and open its questions.
Architecture and inference-time defenses6 readings
- arxiv.orgpaper
The paper describes a deployable pre-execution firewall. An SDK covers 14 frameworks, and a Gateway runs a three-stage pipeline (extract, scan against 22 patterns in 7 categories, validate against a JSON-Schema policy) that returns allow, block or pending. Decisions go to an Ed25519 and SHA-256 audit log. It blocked 48 of 48 attacks at 8.3 ms median with a 1.2% false-positive rate. Read it when you design the pre-execution firewall.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
The paper defines the "explosive prompt": a dormant, conditional indirect-prompt-injection payload planted in one piece of retrieved content, which stays inert until an attacker-chosen trigger fires (a training-free, inference-time backdoor). Temporal separation (planting the payload now, firing it at a later turn) defeats frontier refusals: rephrasing a refused imperative as a dormant conditional drives real state-changing tool calls, 16.5% against 2.4% for the imperative form, and 34.2% on a proprietary model. On 9 production agents (Codex, Gemini CLI, Claude Code CLI, Cursor, Copilot, Devin, Kiro, Qwen, Google Assistant) the rate is 43โ83% against at most 3%. A preference-optimized model that closes imperative injection still runs the payload 11.8% of the time, all at the trigger turn, where the payload sits in trusted history and not in the untrusted channel. The authors' fix, DeFuse, detects the conditional structure at ingestion (3.0% attack success at 5% false-positive rate, AUC 0.9994). That supports the week's thesis: the durable lever is scanning retrieved content before it enters context, and asking the model to refuse harder does not replace that. Read it after the chapter's detector section.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
SecInfer scales inference-time compute by sampling under varied security prompts and aggregating to the response that serves the intended task. It beats fine-tuning defenses. Read it for the runtime-resilience layer.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
The paper has several defense agents coordinate on threat detection. Read it for the critic-agent idea.
Sign in to mark it done, keep it for later and open its questions.
Implement: build a two-model pipeline where the planner (high trust) generates tool-call intents, and the executor (low trust) runs them with strict input and output validation
labSign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
The authors frame the out-of-band defense family (CaMeL, FIDES, Progent, RTBAS, FORGE) as classical integrity, reference-monitor and least-privilege designs. They warn that all of them were validated on static benchmarks, the trap that hid in-band weakness until adaptive attacks broke 12 of those defenses at over 90%. Progent held against their hand-crafted adaptive attack on AgentDojo (
2.6%attack success), but they call it "one small-scale data point". Read it before you certify any capability boundary.Sign in to mark it done, keep it for later and open its questions.
Context isolation across sessions and users2 readings
- owasp.orgreference
OWASP treats context as working memory: when it is shared, persistent or poorly scoped, it leaks one task's or one user's data into another. Read it to anchor the isolation section.
Sign in to mark it done, keep it for later and open its questions.
- openai.compaper
This is the postmortem for a redis-py bug that returned other users' conversation titles and, for 1.2% of Plus subscribers, billing details. The fix added checks that users receive only their own data (Help Net Security's account). Read it as the worked example for the isolation rules.
Sign in to mark it done, keep it for later and open its questions.
Peer review (supplementary)2 readings
- openreview.netpaper
The page holds the full peer review, the discussion and supplementary materials. Read it for the review discussion.
Sign in to mark it done, keep it for later and open its questions.
- openreview.netpaper
The page holds the full peer review, the discussion and supplementary materials. Read it for the review discussion.
Sign in to mark it done, keep it for later and open its questions.
Open-source detectors and enforcers3 readings
- github.comtool
An Apache-2.0 IBAC governance layer. It normalizes Claude Code, Codex, OpenClaw and Gemini CLI tool calls to canonical actions, evaluates Cedar policies in
~/.agentctl/policies/, issues JWT identities with TTL cleanup, and keeps a JSONL audit; the project reports 144 tests and 96% coverage. Use it for the agentctl trial.Sign in to mark it done, keep it for later and open its questions.
- github.comtool
An open-source injection detector with 88.7% accuracy, a 22MB model and CPU-only inference. Try it as a cheap first-stage filter.
Sign in to mark it done, keep it for later and open its questions.
- github.comtool
A scanner for prompt injection and system-prompt extraction (554 stars when listed). Use it to probe your own prompts.
Sign in to mark it done, keep it for later and open its questions.
Defender-side threat research2 readings
- arxiv.orgpaper
The paper formalizes agentic surveillance and introduces SurveilBench (corporate, education and police settings). It finds a paradox: models both assist surveillance and report it. Read it for the surveillance flip side.
Sign in to mark it done, keep it for later and open its questions.
- sentinelone.compaper
SentinelLABS analyzes an in-the-wild, DPRK-aligned backdoor that uses a cascade of 38 fabricated "system" messages to gaslight an LLM triage agent. It attacks the analyst's perception and not the sandbox. Read it for the defender-side failure mode.
Sign in to mark it done, keep it for later and open its questions.
Offense-to-defense videos2 readings
- youtube.comvideo
The video shows exactly how prompt injection leads to remote code execution, which is the know-your-enemy view you need before building defenses.
Sign in to mark it done, keep it for later and open its questions.
- youtube.comvideo
The video gives a systematic penetration-testing method and the advice to test your own systems first. Watch it before you test your defenses.
Sign in to mark it done, keep it for later and open its questions.
๐ก From the Resources feed18 readings
- arxiv.orgpaper
40 tasks ร 56 IPI scenarios across 19 LLMs and ~42k trajectories measuring IPI across the full lifecycle of long-horizon agent workflows: mean ASR ~20%, guard models weak, prompt hardening helps โ an IPI evaluation surface for the defense stack
Sign in to mark it done, keep it for later and open its questions.
- github.comtool
safety layer for the Pi coding agent: gates bash/write/edit tool calls on four risk dimensions (destructiveness, exfil, scope-creep, damage) before execution and scans command output for leaked secrets, with thresholds calibrated from real test runs rather than chosen; MIT, ~149โ โ the tool-call gate + output leak-scan pattern applied to one agent's I/O, a smaller cousin of DataSentry/Maskit
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
a detector at F1โฅ0.98 on held-out data still misclassifies ~1/3 of externally-sourced benign text (provenance-sensitive over-defense), and hard-negative augmentation doesn't fix it โ don't trust a single aggregate F1
Sign in to mark it done, keep it for later and open its questions.
- github.comtool
fail-closed Claude Code plugin that redacts secrets (40 rules: cloud keys/PEM/JWT/DB creds) from tool output before the model sees them and blocks prompts pasting live credentials, using stable placeholders so the model can still reference redacted values; GPL-3.0, zero-dep โ a DLP hook layer for agent setups.
Sign in to mark it done, keep it for later and open its questions.
- github.comtool
local privacy-masking gateway that auto-redacts API keys, credentials, PII and internal IPs from requests before they leave your machine to Cursor/Claude Code/Codex, then restores them in responses, keeping placeholders consistent across multi-turn chats; 100% local, zero telemetry, ~222โ , AGPL-3.0 โ the input-sanitization counterpart to DataSentry's output redaction
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
models indirect-PI progression in stages (per-stage verifiers + rule-based risk signals + user-intent/action-consistency + a logistic decision policy) instead of flat text classification, roughly doubling mean F1 (0.406 vs 0.216 for the strongest of five pretrained detectors) on LLM email agents โ directly relevant to any agent that summarizes email.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
a formal certifier for an LLM agent's structured actions that resists indirect prompt injection by counting genuinely independent evidence sources via minimum hitting sets, rather than naive source-count or trust labels โ a provable input-integrity layer for the assume-injection-succeeds stack
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
The authors replay ground-truth tool calls from AgentDojo and tau-bench (no LLM) to label injected tool outputs, then grade 15 prompt-injection detectors, including Meta Prompt Guard 2. Detection rankings do not transfer: the detector ranked best on BIPIA catches 2% of AgentDojo injections at a 1% false-positive rate, and a detector at 72% on AgentDojo drops to 15% on tau-bench, because detectors trained on short prompt strings miss injections embedded in tool outputs. Pick a detector trained on agent-style inputs, and do not trust a public-benchmark score for your deployment.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
pairs a JS-divergence robustness metric + ASA adaptive black-box attack (73.8% ASR) with two defenses: a 7-model committee (โ47โ55pp ASR) and AttestMCP โ HMAC-attested tool-call packets (<0.1ms) that with isolation patterns cut agentic ASR 53.7%โ12.4% on MCPBench โ input-perturbation robustness for the sanitization stack
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
a training-time defense: the model generates its own tool-use scenarios and self-distills to match clean-context behavior on benign and injected variants, cutting indirect-PI success in tool responses without the usual utility hit of prior defenses โ a model-side complement to the detector/firewall stack
Sign in to mark it done, keep it for later and open its questions.
- blog.talosintelligence.compaper
a defender-side blind spot: malware now carries natural-language prompt-injection text to steer AI-assisted triage tools (effective ~1-in-3, across sophistication tiers), with MANTLEMAZE pairing it with kernel-space EDR-kill via a vulnerable driver
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
learnable delimiters that encode the trusted-instruction vs untrusted-data boundary with frozen model weights, reporting near-0% attack success including under adaptive attacks on AlpacaFarm/TaskTracker โ a data-marking defense that learns the boundary instead of hard-coding a separator
Sign in to mark it done, keep it for later and open its questions.
- endorlabs.comreference
a defense playbook for steering AI code generation toward secure output: spec/test-first secure prompts, reusable org system rules for authorization + input validation, and MCP-integrated real-time vuln scanning โ plus honest caveats (token cost, adoption fatigue, MCP-server supply-chain risk) โ the generation-side complement to the input-sanitization stack
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
CoDA constrains a diffusion-LLM agent during denoising to enforce task-dependent security policies, cutting prompt-injection success including adaptive attacks
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
38,675 paired-page benchmark plus small guard models for PI detection in browser agents, with an adaptive attack still reaching 95.41% โ detection is triage, not a boundary
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
a boundary reference monitor with deferred, trace-based decisions cuts AgentDojo prompt-injection success from 47.0% to 2.7% without hurting utility
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
SA-CUA, a dual-LLM trust-boundary framework for computer-use agents, blocks indirect prompt injection (0% attack success) with better utility than CaMeL-CUA
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
even calibrated PI detectors can't support reliable allow/block/defer decisions under distribution shift: the best LLM judge hits AUROC 0.897 but a 1% false-negative target forces >91.8% human escalation โ hard evidence that detection is triage, not a control boundary
Sign in to mark it done, keep it for later and open its questions.
This unit's library holds 19 more readings for readers with access.