← Lab /Security & privacy

CXI blocks unauthorized tool use by LLM agents, achieving zero execution escapes

The authors claim CXI enforces execution-bound integrity for LLM agents, preventing field, effect, or invocation escapes

Security & privacy arXiv 7 Jul 2026 Method Prototype evidence Threat model

Published as “Context-to-Execution Integrity for LLM Agents”

Why it matters

CXI provides a concrete enforcement point that prevents authority laundering in LLM agents, improving the safety of tool-use actions.

Summary

CXI admits execution only when field, effect, and invocation authority all bind to the same canonical action manifest, and in the evaluated AgentDojo and code-agent benchmarks it observed zero field, effect, or invocation escapes. The system was tested on 720 live AgentDojo episodes (1,739 LLM calls) and 400 code-agent repository episodes, achieving 231 safe task completions with no observed escapes. The evidence is strong: the paper reports that the CXI row rejects 20/20 attack cases while preserving all utility cases, and no false blocks were seen in 100 workflows across multiple domains. However, the authors note that task-quality and policy-authoring effort remain separate concerns.

What they found 3

  1. CXI only admits execution when all three authorities bind to the same manifest

    “Across the evaluated sinks, CXI admits execution only when field, effect, and invocation authority bind to the same action manifest.”

  2. Zero observed field, effect, or invocation escapes in the code-agent benchmark

    “yielding 231 safe task completions and zero observed field, effect, or invocation escapes.”

  3. CXI blocks all attack cases while preserving utility

    “The CXI row rejects 20/20 attack cases while preserving 6/6 utility cases.”

Caveats 3

  • Context-to-Execution Integrity relies on a trusted host runtime, trusted tools, correct approval state, and mediated sinks.
  • Semantic task quality remains a separate concern: a patch, diagnosis, or workflow can be wrong even when its side-effect fields have valid authority.
  • Broad validators, wrong field classes, unmediated sinks, or compromised runtimes still break the guarantee; CXI makes that work explicit and does not infer missing policy.

What’s new here 4

  • Enforces a deterministic gate that requires field, effect, and invocation authority to bind to the same manifest before execution.
  • Introduces typed releases that carry narrow, destination-scoped authority from writable context to protected fields.
  • Adds exact-effect authorization for payloads interpreted by the sink, binding the effect itself to the manifest.
  • Uses a manifest-bound invocation capability that is consumed to obtain an execution lease.

Threat model stated by the source

Adversaryattacker controlling writable-context sources (e.g., issues, logs, retrieval documents)
Capabilitycan inject or modify any writable-context data but cannot alter trusted policy, user objectives, model weights, host runtime, or privileged tools
Assumestrusted host runtime enforces the gate; policy tables are correct and fail-closed; typed releases and invocation capabilities are issued only by trusted declassifiers