PACE: Provenance-Aware Capability Enforcement for Tool-Using LLM Agents

Fengpeng Li, Qizhou Wang, Yuke Hu, Kemou Li, Jun Liu, Haiwei Wu, Jiantao Zhou, Di WangarXiv 2026

Large Language Model (LLM) agents are no longer just chatbots; they are active participants in digital workflows, capable of sending emails, writing files, and managing cloud resources. However, this power comes with a significant security risk: prompt injection. When an agent reads a poisoned webpage or a malicious tool description, that untrusted text can hijack the agent's planning process, turning it into a "confused deputy" that performs unauthorized actions on behalf of an attacker.

A new paper, "PACE: Provenance-Aware Capability Enforcement for Tool-Using LLM Agents," introduces a robust defense framework designed to mediate every tool call at the last possible moment before execution.

TL;DR

PACE is a provenance-aware defense that monitors LLM tool calls in real-time, severing influence paths from untrusted data and verifying tool effects against user-authorized capabilities. It achieves near-zero attack success rates across eight major benchmarks with minimal impact on the agent's original utility.

What Problem Does This Paper Address?

The core challenge is that instructions and data share the same context window in LLM agents. An attacker can hide malicious instructions in data that the agent is supposed to process (e.g., a "summarize this email" task where the email contains "and then delete all my files").

Existing defenses often try to vet tools or data before they enter the agent's environment. The authors of PACE argue this is insufficient. A tool's code might look safe, but its behavior can change drastically based on the LLM's generated input. Because a safe and a malicious input can look identical to a static reviewer, security decisions must be made at the tool boundary, where the concrete arguments, the user's original request, and the data's history (provenance) are all visible at once.

Methods

PACE (Provenance-Aware Capability Enforcement) operates as a mediator between the LLM and its tools. As shown in Figure 1, it functions in four distinct phases:

Figure 1: One mediated step of PACE. Phase I–PROPOSE (Section 4.1) freezes the call, extends the graph, and expands the effect atoms; phase II–CUT & CERTIFY (Section 4.2) cuts and certifies against committed evidence alone; phase III–ENFORCE (Section 4.3) installs the manifest and dispatches; phase IV–FINALIZE (Section 4.3) commits the outcome.
  1. PROPOSE: When the LLM suggests a tool call, PACE "freezes" the arguments. It builds an evidence graph that tracks where each piece of data came from (e.g., did this string originate from the user's trusted request or an untrusted webpage?).
  2. CUT & CERTIFY: This is the heart of the system. It performs two parallel checks:
  3. Path Confinement (P): It identifies if any "risky influence" from untrusted sources flows into an unsafe tool terminal. If so, it finds an "executable cut"—an intervention like blocking the call or redacting an argument—to sever that path.
  4. Capability & Effect Verification (C): It checks the intended effects of the tool call against a set of permissions derived from the user's authenticated request.
  5. ENFORCE: PACE applies the decision. It can Allow the call, Modify it (e.g., by redacting a secret), or Block it entirely.
  6. FINALIZE: The outcome is recorded, and the provenance graph is updated for the next step in the agent's loop.

PACE distinguishes between a strict certified contract (PACE-C) and an evaluated configuration (PACE-P). The latter is what the authors tested, as it includes "repairs" and "restorations" that allow authorized but slightly "tainted" calls to proceed, preserving the agent's ability to get work done.

Datasets

The authors evaluated PACE on eight executable agent-security benchmarks, covering a wide range of attack surfaces:

  • AgentDojo & AgentDyn: General tool-use tasks with security targets.
  • WASP: Web agent security focusing on multi-step tasks.
  • InjecAgent: Benchmarking indirect prompt injections.
  • ASB (Agent Security Bench): A broad suite covering system, user, and tool stages.
  • PASB & MSB: Focused on personalized agents and Model Context Protocol (MCP) security.
  • MCPTox: Specifically targets poisoning of tool metadata.

They tested these against three target model families: Qwen-3.8-27B, DeepSeek-V4-Flash, and gpt-5.6-luna.

Key Insights and Ideas

  • The "Last Boundary" Advantage: By waiting until the tool call is proposed, PACE has access to the "ground truth" of the execution state, which is unavailable during earlier admission-time vetting.
  • Represented-Path Separation: The authors prove that if their path verifier accepts a decision, the resulting action successfully severs the influence of untrusted data on unsafe effects.
  • Effect Verification is the Heavy Lifter: Ablation studies revealed that most security gains come from verifying tool effects against user capabilities, while the "boundary adaptation" (the ability to modify rather than just block) is what keeps the agent's utility high.
  • Resilience to Adaptive Attacks: In a "red-teaming" scenario where an automated attacker tried to find new ways to bypass the defense, PACE successfully blocked 100% of out-of-authority targets.

Key Results

PACE demonstrated state-of-the-art performance across the board, as summarized in Table 1:

Table 1: Main results on benchmarks with target-model families. ASR is the worst attack group for that benchmark and model. Each block shows the undefended agent, PACE, and the three strongest published defenses, ranked by mean worst-group ASR. Util. is the benchmark’s own score and is higher better except on MCPTox, where it is the refusal rate. Best ASR per block and model in bold.
  • Security: PACE achieved the strictly lowest Attack Success Rate (ASR) in 62 out of 79 eligible attack categories and tied for lowest in another 14. In many cases, it reduced ASR to 0.0%.
  • Utility: Unlike many heavy-handed security measures, PACE's impact on the agent's helpfulness was negligible. Across the full benchmarks, the agent's native utility score dropped by at most 3 points compared to an undefended agent.
  • Ablation: A massive study of 1,167 paired cases confirmed that the combination of path confinement and effect verification is essential for balancing safety and performance.

Limitations and Future Work

While PACE is a significant step forward, the authors note several areas for future improvement:

  • Semantic Restatement: Currently, PACE relies on deterministic re-encodings to track data. It might struggle if an attacker uses complex paraphrasing that changes the text's form but keeps its malicious meaning.
  • Fragmented Flows: Attacks that split a malicious payload across multiple turns or different tool calls are harder to track in the current provenance model.
  • Hidden Effects: PACE relies on tool schemas to understand effects. If a tool has "hidden" secondary effects not declared in its schema, PACE cannot mediate them.
  • Distributed Execution: Extending these guarantees to agents running across multiple distributed systems remains a challenge for future research.

Summary updated

BibTeX
@misc{li2026pace,
  author = {Fengpeng Li and Qizhou Wang and Yuke Hu and Kemou Li and Jun Liu and Haiwei Wu and Jiantao Zhou and Di Wang},
  title = {{PACE: Provenance-Aware Capability Enforcement for Tool-Using LLM Agents}},
  year = {2026},
  eprint = {2610.01349},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.01349},
}
Figure