Skip to content

IntentCap proposes a mechanism to confine LLM agent permissions by task intentIntentCap: LLM Agent Capabilities Should Follow Task Intent and Context Source

Paper Tracker· arXiv:2609.14631· Yusheng Zheng, Wenhui Zhang, Yu Mao·Indexed by this site · 2026-10-04· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

IntentCap synthesizes task leases from four sources; unsafe accepts in replay of 3,746 sensitive events across four benchmarks are 0.

Threat modelThe adversary controls runtime content, documents, tool outputs, web data, and delegated messages, and can inject instructions in Skill or MCP text; they do not control user structured choices and the execution layer. The planner and compiler are untrusted and only propose, not decide. The TCB includes the intent issuer, source labeler, deterministic checker, and the execution layer.

Questions
Agent least privilege varies with task intent, but user requests, workflows, tool schemas, and runtime outputs enter the same planning channel with equal status. Any source may fill destinations or expand permissions, and injection or accidental scope expansion can occur. Allowlists cannot express that a source must not fill a decision field.
Methods
IntentCap synthesizes a short-term lease from four types of sources by field ownership, only narrowing the user-authorized scope. The compiler is untrusted and only proposes; a deterministic checker decides before side effects are committed. Tool adapters validate parameter provenance, and the lease is enforced at the OS layer via ActPlane and eBPF.
Experiments and results
Replaying 3,746 security-sensitive events across four benchmarks, unsafe accepts are 0. The tau2-style proxy covers all 3,813 benign reference actions, and 2,554 of 2,556 checks pass. After merging the four sources into a single trusted context, 3,593 of 3,823 should-reject events are falsely accepted.
Limitations and future work
The authors state that copy-witness is conservative, with cross-source synthesis limited to data fields or user-authorized selectors. Meet composition, end-to-end attack success rate, execution latency, and adaptive attacks against annotation and lease generation are left for future work. The evaluation is event replay, and the paper does not report the tested LLMs.
Experimental setupAgentDojo、MCPTox et al. · unsafe accepts、false accepts et al.
Benchmarks
AgentDojoMCPToxInjecAgenttau2-benchtau2-style proxy
Metrics
unsafe acceptsfalse acceptsground-truth checksover-grant
AI summaryThe paper IntentCap proposes that LLM Agent capabilities should be scoped by the current task's intent, rather than by sandbox or session lifecycle. The authors point out that user requests, tool return results, documents, shell output, Skill and MCP instructions, memory, and other context sources all enter the same planning channel with equal influence, but have different trust levels; adversarial injection or unintended scope expansion could let low-trust sources gain the ability to choose targets or expand permissions. IntentCap composes capabilities from four source types: user intent, workflow instructions, tool schemas, and runtime environment, using field-level attribution and monotonic narrowing; no source can fill fields of other sources, and generated leases can only narrow user-authorized permissions. The system uses an LLM to generate short-term leases, validated by a deterministic checker before any side effect is committed, and enforced through information flow policies at the tool layer and OS layer. Evaluation shows IntentCap blocks violations in tests without rejecting normal operations, each source boundary is independently necessary, and the checker generalizes across tool, execution, placement, and delegation boundaries.

The paper IntentCap proposes that LLM Agent capabilities should be scoped by the current task's intent, rather than by sandbox or session lifecycle. The authors point out that user requests, tool return results, documents, shell output, Skill and MCP instructions, memory, and other context sources all enter the same planning channel with equal influence, but have different trust levels; adversarial injection or unintended scope expansion could let low-trust sources gain the ability to choose targets or expand permissions. IntentCap composes capabilities from four source types: user intent, workflow instructions, tool schemas, and runtime environment, using field-level attribution and monotonic narrowing; no source can fill fields of other sources, and generated leases can only narrow user-authorized permissions. The system uses an LLM to generate short-term leases, validated by a deterministic checker before any side effect is committed, and enforced through information flow policies at the tool layer and OS layer. Evaluation shows IntentCap blocks violations in tests without rejecting normal operations, each source boundary is independently necessary, and the checker generalizes across tool, execution, placement, and delegation boundaries.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    All context sources have equal status; any source can fill decision fields or expand permissions.

    All context sources enter the same planning channel with equal status; any source can fill any decision field.

    • Scenario: The agent executes code, modifies files, calls services, and delegates subtasks; context includes user requests, tool results, documents, shell output, Skill and MCP instructions, and memory. The authors argue that inputs are useful precisely because they influence subsequent behavior; adversarial injection or accidental scope expansion can let any input affect any action.
    • Existing shortcomings: The authors state that existing defenses constrain operations and information flow, including separating control from untrusted data, tool permissions, execution isolation, information flow, and OS policies. Allowlists can block forbidden domains but cannot express that a document source must not fill a repository field; without an adversary, concatenating document text into an output string may cause the planner to treat a header as a repository name.
    • Core observation: The authors argue that no single source can define complete capabilities, and no programmer declares such combinations at compile time. User requests give goals and authorized destinations but not steps; workflows give candidate steps but not specific goals; tool schemas declare parameters but not goals; tool outputs give values but do not specify which field they should fill.
    • This work's approach: IntentCap confines capabilities to the current task intent, not to a sandbox or session lifetime. Four sources synthesize short-term leases via field ownership, only narrowing permissions already authorized by the user; the LLM only proposes, and a deterministic checker adjudicates before side effects are committed.
    • Threat model:
      • Adversary controls: runtime content, documents, tool outputs, web data, delegated messages, and can plant instructions in Skill or MCP text.
      • Adversary does not control: user's structured selections and the execution layer.
      • Untrusted parts: the planner and compiler can be arbitrarily manipulated; they only propose, not adjudicate.
      • TCB: intent issuer, source labeler, deterministic checker and hooks, MCP gateway, OS enforcer. The victim system is an LLM agent that commits side effects.
  2. What related research exists?

    The authors position this work as four-source field ownership, compared against operation-constraining and information-flow defenses.

    The paper does not have a separate related work section; discussion is in the introduction and Limitations.

    Injection and control-data separation

    • Indirect prompt injection: Greshake et al. (2023) is used as an example: hidden text in a document may rewrite a repository field of an issue.
    • Control and data separation: Debenedetti et al. (2025) and Willison (2023) separate control from untrusted data. The authors classify these as defenses constraining operations and information flow, and compare in Limitations: IntentCap binds each decision field to a unique authorized source.

    Tool permissions, isolation, and information flow

    • Operation constraints: Progent (Shi et al., 2025) enforces tool permissions; IsolateGPT (Wu et al., 2025) isolates execution. The authors classify both as defenses restricting operations, without item-by-item implementation comparison.
    • Information flow: Fides (Costa et al., 2025) uses information flow control to protect agents. The text states it performs taint tracking at the planner layer; IntentCap validates at tool boundaries whether parameter fields come from owner sources.

    Compile-time capabilities and OS policies

    • Traditional capabilities: The authors state that, unlike Capsicum (Watson et al., 2010) file descriptors or seccomp filters, agent capabilities cannot be declared at compile time. The same sentence cites Denning (1976), Dennis and Van Horn (1966), Hardy (1988), and Saltzer and Schroeder (1975).
    • OS enforcement: ActPlane (Zheng et al., 2026) performs programmable OS-level policy enforcement. Accepted leases are compiled into its file, exec, and network policies, executed via eBPF.

    Benchmarks and experimental comparisons

    • Benchmarks: Replays come from AgentDojo (Debenedetti et al., 2024), MCPTox (Wang et al., 2025), InjecAgent (Zhan et al., 2024), and tau2-bench (Barres et al., 2025).
    • Baselines: Section 3 comparisons include merging four sources into a generic trusted context, pairwise collapse, a policy DSL without field ownership, splitting state into an independent guard, and an unnamed non-IntentCap baseline in RQ4.

    The authors position this work as task-scoped multi-source permission synthesis, focusing on which source fills each capability field across four context sources. Comparisons also include defenses constraining information flow, tools, OS, and software packages, cited as Fides, SkillGuard (Pan et al., 2026), ActPlane, and Zheng et al. (2025).

  3. How does the paper address this problem?

    Each of the four sources fills its own fields; the LLM only proposes, and a deterministic checker decides before side effects.

    IntentCap synthesizes capability leases for the current task at runtime from four source types: each source fills only its own fields, and leases only narrow permissions already authorized by the user. The untrusted LLM only proposes; a deterministic checker adjudicates before side effects are committed.

    Four sources and field ownership

    • Fields: named slots in the lease, e.g., destination, approval scope, tool name, argument value; values must come from exactly one source.
    • User intent: goals, selected objects, authorized destinations, and approvals.
    • Workflow instructions: system policies, Skill procedures, or manuals, providing procedural scope, cannot expand approval scope.
    • Tool schemas: MCP definitions, registry entries, or command descriptions, providing callable interfaces and credential scope, cannot authorize destinations. Runtime environment (tool results, file states, script outputs) provides only observed values, not procedural permissions.

    The authors' rationale: no single source is sufficient to define complete capabilities, and no programmer makes static declarations. These rules constitute an information flow policy specifying which information can flow from which source into which lease field.

    Labeling, issuance, and proposal

    Figure 1's text labels the LLM-assisted compiler, intent issuer, source labeler, deterministic checker, MCP gateway, enforcement hooks, and OS-level enforcer. The caption states that the untrusted compiler proposes leases, and the checker in the TCB decides. The authors state that the TCB is marked with a dashed box in the figure.

    • source labeler: classifies by location. User messages are always user intent, tool responses are always runtime environment, and Skill and MCP metadata are labeled at load time. Ambiguous inputs, such as user-pasted documents, do not grant authority fields in the prototype. The OS layer maps labels to process isolation and IPC channel markings, tracing source to the process that produced it.
    • intent issuer: extracts maximum permissions from structured fields in user messages, including selected files, named destinations, and explicit approvals.
    • compiler: combines structured intent with current schemas to emit candidate leases. It may omit destinations or shorten budgets, but cannot add destinations, raise approval scope, or grant fields not covered by user intent.

    Leases and monotonic narrowing

    Leases bind field contributions to specific operations, objects, arguments, budgets, expiries, and delegation depths; scope is the current task intent, consumed after use, and cannot be relaxed on its own. Each delegation further attenuates, so subtasks receive only narrower capabilities than the parent. The checker atomically validates all fields in a single state transition before side effects are committed. The issue lease example in the text expires after first use.

    In the PDF task, user intent provides two selected files and a repository name, the Skill provides the extract-save-report procedure, the issue tool schema provides the callable interface, and runtime results provide table values. The compiler proposes a lease for create_issue: the repository field copies the repository name given by the user, with a witness pointing to the user-intent span; the issue body is a data field synthesized from the document; the budget is one issue. Repository candidates without a corresponding user-intent span witness are rejected before the call executes.

    Adjudication and two-layer enforcement

    Design requirements: each decision field is owned by exactly one source; leases can only narrow user-authorized permissions; the LLM remains outside the TCB, with all accept/reject decisions made by the deterministic checker; every accept or reject records the source chain for audit.

    The unified interface is check_and_consume, taking event, lease, proofs, and state, returning allow or deny. Each adapter must call it before committing side effects. The checker also runs before context placement or delegation handoff commits. The paper does not give a general form for proofs; the example witness points to a user-intent span.

    • Tool layer: boundary adapters intercept MCP calls, validating before execution that each parameter field comes from its owner source.
    • OS layer: accepted leases compile into ActPlane file, exec, and network policies, executed via eBPF.

    The paper does not specify iteration counts, sampling settings, specific LLM names, or numerical thresholds.

  4. What experiments did the paper conduct?

    Unsafe accepts in replay of 3,746 sensitive events are 0; four-source merging falsely accepts 3,593 times.

    Experimental Setup

    • Models under test: The paper does not specify the names of the LLMs under test or attacked. The evaluation is event replay and policy comparison, not online generation from a named model.
    • Safety replay: RQ1 replays 3,746 security-sensitive events from AgentDojo, MCPTox, InjecAgent, and tau2-bench.
    • Utility data: 3,813 benign reference actions from the tau2-style proxy, and 2,556 applicable ground-truth checks.
    • Should-reject set: RQ2 uses 3,823 events that the checker should reject, plus 7 crafted multi-step workflows. The paper does not state whether 3,746 and 3,823 are the same set.
    • Other samples: RQ3 performs 38 checks at five execution points. RQ4 uses 24 hand-labeled leases from InjecAgent, MCPTox, and tau2, and 144 scored policy entries.
    • Comparisons and unreported items: Four sources merged into a generic trusted context; pairwise collapses tool→agent, env→agent, env→tool; a policy DSL without field ownership; an independent guard; an unnamed non-IntentCap baseline. Metrics are unsafe accepts, false accepts, benign action coverage, ground-truth checks, unsafe executions or placements, checker/monitor mismatches, whether labeled scope is matched, and over-grant. The paper does not report the number of repetitions, LLM review, or human agreement.

    Main Results

    ConditionResultSource
    IntentCap, four-benchmark replay0 unsafe accepts / 3,746Section 3 RQ1
    tau2-style proxy benign actions3,813 / 3,813 coveredSection 3 RQ1
    Applicable ground-truth checks2,554 / 2,556 passedSection 3 RQ1
    • The authors claim to block all tested violations and not reject benign actions; this claim corresponds to coverage of benign reference actions. Two checks did not pass, and the paper does not explain why.
    • Utility is reported only on the tau2-style proxy; the paper does not give the same coverage numbers on the other three benchmarks.

    Whether the Four-Source Split Is Necessary

    • What was tested: Collapsing the four sources into a generic trusted context, pairwise collapses, a policy DSL that only checks predicates without field ownership, and splitting state into an independent guard.
    • Results: 3,593 false accepts out of 3,823 should-reject events, which the authors call 94%. Pairwise collapse false accepts: tool→agent is 1,928 (authors say 50%), env→agent is 1,663 (43%), env→tool is 1,662 (43%). On the 7 hand-crafted multi-step workflows, the policy DSL falsely accepts 7/7, and the independent guard falsely accepts 5/7.
    • Authors' interpretation: The authors use these results to ask whether the four-source split is a security requirement or a naming choice, and claim that pairwise collapses open different holes. The paper does not explain the difference between the 2 workflows the guard missed and the DSL.

    Whether the Same Submission Interface Can Go Beyond Tool Calls

    • What was tested: Whether check_and_consume covers local environment side effects, context placement, Skill instruction slots, delegation handoffs, and the OS monitor replay backend.
    • Results: Of 38 checks, 17 authorized effects are allowed and 21 violations are blocked; unsafe executions or placements are 0, and checker-monitor mismatches are 0.
    • Authors' interpretation: The authors claim the same submission API can be used for these boundaries beyond tool calls. The paper does not report how the 38 checks are distributed across the five execution points.

    Whether Leases Are Auditable

    • What was tested: On 24 hand-labeled leases, whether policies match the labeled scope; whether the non-IntentCap baseline over-grants on 144 scored policy entries.
    • Results: IntentCap policies all match the labeled scope. The authors claim that every non-IntentCap baseline over-grants on at least some of the entries.
    • Authors' interpretation: The authors view leases as auditable permission objects. The paper does not list the names of these baselines or give the number of over-granted entries for each.

    Other Ablations and Analyses

    • Pairwise collapse and 7-workflow numbers are listed in RQ2; the paper does not do additional parameter sweeps.
    • The paper does not report execution latency, query counts, or repetitions.
    • Of the 2,556 checks in RQ1, 2 did not pass; the paper gives no reason.
  5. What are some points that can be further explored?

    The authors leave conservative copy-witness, as well as meet combination, end-to-end attacks, latency, and adaptive attacks, as future work.

    Limitations and future work identified by the authors

    All from Section 3's Limitations and future work.

    • copy-witness is conservative: cross-source synthesis is restricted to data fields or user-authorized selectors.
    • meet-based composition: listed by the authors as future work.
    • end-to-end attack success rate: listed by the authors as future work.
    • execution latency: listed by the authors as future work.
    • adaptive attacks: adaptive attacks against labeling and lease generation are listed by the authors as future work.

    Experimental coverage

    • Safety replay: 3,746 security-sensitive events from AgentDojo, MCPTox, InjecAgent, and tau2-bench (Section 3 RQ1).
    • Utility: 3,813 benign reference actions and 2,556 applicable checks on a tau2-style proxy (RQ1).
    • Source collapse: 3,823 should-reject events; plus 7 hand-crafted multi-step workflows, with comparisons including four-source merging, three pairwise collapses, a policy DSL, and an independent guard (RQ2).
    • Execution points: local environment side effects, context placement, Skill instruction slots, delegation handoffs, and OS monitor replay backends, totaling 38 checks (RQ3).
    • Audit sample: 24 hand-labeled leases and 144 scored policy entries (RQ4). The paper does not report the tested LLMs, number of repetitions, end-to-end attack success rates, or measured execution latency.
  6. Summarize the main content of the paper

    Four-source field leases constrain side effects; no unsafe accepts occurred in the tested replays.

    IntentCap is a permission mechanism that binds agent capabilities to the current task intent and partitions field ownership by context source.

    • Problem: User requests, workflow instructions, tool schemas, and runtime outputs enter the same planning channel. The authors argue that any source can therefore fill in the destination or expand permissions; an allowlist cannot prevent a source from filling a field it is not allowed to fill.
    • Method: Each of the four sources fills its own fields. The lease binds operations, objects, parameters, budget, expiration, and delegation depth, and only narrows the user's structured authorization. The compiler is untrusted; the intent issuer, source labeler, and deterministic checker decide before side effects, and tool adapters and ActPlane/eBPF execute.
    • Safety replay: The authors report 0 unsafe accepts on 3,746 security-sensitive events from AgentDojo, MCPTox, InjecAgent, and tau2-bench.
    • Utility: The authors report that the tau2-style proxy covers all 3,813 benign reference actions, and 2,554 of 2,556 applicable checks pass.
    • Source boundaries and audit: When the four sources are merged into a single trusted context, 3,593 of 3,823 should-reject events are falsely accepted (authors say 94%). Across 38 checks at multiple execution points, 21 violations are blocked and 17 authorized effects are allowed, with 0 mismatches. Policies on 24 hand-labeled leases all match the labeled scope.
    • Authors' conclusion: The authors argue that capabilities should be bounded by task intent rather than sandbox or session lifetime, and that no single source can define full capability. They claim that tested violations are blocked, benign actions are not rejected, each source boundary is independently necessary, and the checker generalizes across tool, execution, placement, and delegation boundaries. End-to-end attack success rates are listed as future work.

Related papers

Show 3 more papers
Read originalarxiv.org