CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
Enforcement defenses against prompt injection, such as CaMeL, Progent, IPIGuard and DRIFT, ask the agent's own model to write a security artifact (a program, a privilege policy, a dependency graph or a constraint list) that code then enforces. We ask whether small language model (SLM) agents can be trusted to write these artifacts. Across 15 open-weight models, 13 of them between 1.7B and 12B parameters, they cannot: the policies, graphs and constraints that the agent's model writes admit attacks on 14 (Progent), 13 (IPIGuard) and 11 (DRIFT) of the models, and CaMeL's programs fail to run in up to 68% of episodes. We present CapLite, which derives its policy from the tool schemas, commits the write calls before any tool result is read, and admits a write only if every argument that decides whom or what it affects is stated in the user's request. This guarantees write integrity: injected text cannot add a write, and no write reaches a recipient, amount, object or destination that the user did not state. No attack succeeds in 13,935 attacked AgentDojo episodes. CapLite reaches utility under attack comparable to CaMeL's (29.0% vs. 27.2%) with fewer tokens than every other enforcement defense and than the undefended agent: 17.1k per episode, 18% of CaMeL's, and the highest utility per token of all enforcement defenses.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 34 of its 50 references that are in the map. Submitted 12 Nov 2026.
Builds on
34 of 50 references.
Closest ancestors · 22
Same direction, newest first
- 2026ToolFence: Fine-Grained Authorization for Secure Tool-Using LLM Agents29 Sep
- 2026LLM Agent Capabilities Should Follow Task Intent and Context Source13 Sep
- 2026ROPE: Routed Origin Policy Enforcement against Indirect Prompt Injection27 Aug
- 2026When Tool Outputs Become Commands: Separating Action Induction from Runtime Authorization in Tool-Augmented LLM Agents27 Aug
- 2026TraceGrant: A Contract-Governed Security Framework for the Task-Effect Lifecycle of Networked LLM Agents21 Aug
- 2026Context-to-Execution Integrity for LLM Agents7 Jul
- 2026Adaptive Evaluation of Out-of-Band Defenses Against Prompt Injection in LLM Agents25 Jun
- 2026The Granularity Mismatch in Agent Security: Argument-Level Provenance Solves Enforcement and Isolates the LLM Reasoning Bottleneck11 May
- 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injection5 May
- 2026ClawGuard: A Runtime Security Framework for Tool-Augmented LLM Agents Against Indirect Prompt Injection13 Apr
- 2026AttriGuard: Defeating Indirect Prompt Injection in LLM Agents via Causal Attribution of Tool Invocations11 Mar
- 2026AgentSentry: Mitigating Indirect Prompt Injection in LLM Agents via Temporal Causal Diagnostics and Context Purification26 Feb
10 more
- 2026Defense Against Indirect Prompt Injection via Tool Result Parsing8 Jan
- 2025MiniScope: A Least Privilege Framework for Authorizing Tool Calling Agents11 Dec
- 2025IPIGuard: A Novel Tool Dependency Graph-Based Defense Against Indirect Prompt Injection in LLM Agents21 Aug
- 2025Meta SecAlign: A Secure Foundation LLM Against Prompt Injection Attacks3 Jul
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents13 Jun
- 2025Design Patterns for Securing LLM Agents against Prompt Injections10 Jun
- 2025Progent: Securing AI Agents with Privilege Control16 Apr
- 2025Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agents27 Feb
- 2025RTBAS: Defending LLM Agents Against Prompt Injection and Privacy Leakage13 Feb
- 2024The Task Shield: Enforcing Task Alignment to Defend Against Indirect Prompt Injection in LLM Agents21 Dec
Other references · 12
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2025Qwen3 Technical Reportcited by 9,994
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 433
- 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 295
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 251
- 2024System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspectivecited by 104
- 2024Small LLMs Are Weak Tool Learners: A Multi-LLM Agentcited by 100
- 2025Contextual Agent Security: A Policy for Every Purposecited by 72
- 2025ACE: A Security Architecture for LLM-Integrated App Systemscited by 60
- 2025TinyLLM: Evaluation and Optimization of Small Language Models for Agentic Tasks on Edge Devicescited by 7
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Defeating Prompt Injections by Design
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis
- 2025Preventing Prompt Injection with Type-Directed Privilege Separation
- 2026PlanGuard: Defending Agents against Indirect Prompt Injection via Planning-based Consistency Verification
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents
- 2026NetInjectBench: Benchmarking Indirect Prompt Injection in Tool-Using Large Language Model Agents for Network Operations
- 2026Evaluation of Prompt Injection Defenses in Large Language Models
- 2026AgentVisor: Defending LLM Agents Against Prompt Injection via Semantic Virtualization