potentialpaper

SecureClaw: Clawing Back Control of LLM Agents

Yuhan Ma, Stefan Schmid

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. SecureClaw helps AI assistants use private information and carry out tasks safely by keeping full sensitive records in protected storage and checking each action before it is carried out.

Abstract. Tool-using large language model (LLM) agents face two distinct security failures: unauthorized external actions and exposure of sensitive plaintext inside the runtime before any final output check can intervene. Existing defenses usually protect one boundary, either the planner/runtime or the point where external actions are executed, and therefore do not by themselves secure both surfaces. We present SecureClaw, a dual-boundary architecture that enforces authorization in a trusted executor and keeps raw protected data outside the LLM runtime. Sensitive reads pass through a trusted gateway that replaces raw values with reference IDs. In the evaluated deployment, the gateway also provides short planning summaries that deliberately release selected information, a process called declassification. Writes that change external state follow a PREVIEW$\rightarrow$COMMIT protocol in which only a trusted executor may execute the exact request authorized by policy. The runtime can still plan over summaries and reference IDs, but cannot directly resolve the IDs into secrets or perform side effects. Across the AgentDojo, AgentLeak, and Agent Security Bench (ASB) benchmarks, SecureClaw is the only defense we evaluate in a common harness that simultaneously retains usable task utility and achieves 0% attack success rate (ASR) on ASB, 0.64% ASR on AgentDojo, and 3.23% overall leak on AgentLeak's attacked parity lane, which measures final-output and internal-relay leakage. Code is available at https://github.com/ponyyuhan/SecureClaw.

From the authors: Yuhan Ma · edit · also an author?

Nothing yet.

How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
20 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

All three reviewers generally agree that this paper addresses an important and timely problem in securing LLM agents, and that the empirical results are promising. The evaluation across multiple benchmarks is viewed positively, and the proposed architecture appears technically sound. At the same time, reviewers raised several questions that should be addressed before the paper can be strongly considered for acceptance. In particular, the discussion should focus on clarifying the core contribution and strengthening confidence in the reported results, rather than adding extensive new experiments.

The authors are requested to address the following questions in the rebuttal:

Regarding novelty, what are the key technical ideas beyond combining existing defenses? Please explain more explicitly how SecureClaw differs from prior systems (e.g., Progent, CaMeL, IPIGuard, DRIFT, Faramesh, ClawGuard) and what new mechanisms or insights it contributes.

Regarding generality of the evaluation, the current experiments are largely conducted with GPT-4o-mini. Please explain whether the proposed architecture is expected to generalize across different LLMs, and discuss any available evidence or rationale supporting this claim. If additional experiments are not feasible, a clear discussion of the expected model dependence would be helpful.

Regarding the evaluation protocol, please explain the role of accommodations such as alias resolution and auto-confirmation, quantify where they are applied, and discuss whether they could affect the reported utility or security results. If possible, also comment on the robustness of the approach to imperfect protected-field identification.

Regarding presentation, several reviewers found the paper difficult to follow because many new concepts (e.g., read boundary, effect sink, opaque handles, handle store, dereference, bounded summaries) are introduced before they are sufficiently explained. Please provide a clearer, more intuitive description of the design and include concrete examples illustrating how the read and write paths operate.

Final justification

I have read the authors' response and the subsequent discussion. Overall, I believe the rebuttal has successfully addressed the main concerns raised in the initial meta-review, and the reviewers have reached consensus.

In particular, the authors strengthened the evaluation with experiments across multiple LLMs, clarified the novelty of SecureClaw relative to existing defenses, and provided additional analysis of the evaluation protocol and protected-field identification. They also addressed the presentation concerns by simplifying the terminology and providing a clearer explanation of the architecture.

There are still some limitations, particularly regarding the degree of architectural novelty and model-dependent utility/leakage. However, I do not consider these concerns significant enough to outweigh the paper's strengths. All three reviewers now give the paper a borderline accept score, and the discussion does not reveal any remaining fundamental technical issue.

I therefore recommend acceptance as a poster.

Area Chair qXdM · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

All three reviewers generally agree that this paper addresses an important and timely problem in securing LLM agents, and that the empirical results are promising. The evaluation across multiple benchmarks is viewed positively, and the proposed architecture appears technically sound. At the same time, reviewers raised several questions that should be addressed before the paper can be strongly considered for acceptance. In particular, the discussion should focus on clarifying the core contribution and strengthening confidence in the reported results, rather than adding extensive new experiments.

The authors are requested to address the following questions in the rebuttal:

Regarding novelty, what are the key technical ideas beyond combining existing defenses? Please explain more explicitly how SecureClaw differs from prior systems (e.g., Progent, CaMeL, IPIGuard, DRIFT, Faramesh, ClawGuard) and what new mechanisms or insights it contributes.

Regarding generality of the evaluation, the current experiments are largely conducted with GPT-4o-mini. Please explain whether the proposed architecture is expected to generalize across different LLMs, and discuss any available evidence or rationale supporting this claim. If additional experiments are not feasible, a clear discussion of the expected model dependence would be helpful.

Regarding the evaluation protocol, please explain the role of accommodations such as alias resolution and auto-confirmation, quantify where they are applied, and discuss whether they could affect the reported utility or security results. If possible, also comment on the robustness of the approach to imperfect protected-field identification.

Regarding presentation, several reviewers found the paper difficult to follow because many new concepts (e.g., read boundary, effect sink, opaque handles, handle store, dereference, bounded summaries) are introduced before they are sufficiently explained. Please provide a clearer, more intuitive description of the design and include concrete examples illustrating how the read and write paths operate.

Final justification

I have read the authors' response and the subsequent discussion. Overall, I believe the rebuttal has successfully addressed the main concerns raised in the initial meta-review, and the reviewers have reached consensus.

In particular, the authors strengthened the evaluation with experiments across multiple LLMs, clarified the novelty of SecureClaw relative to existing defenses, and provided additional analysis of the evaluation protocol and protected-field identification. They also addressed the presentation concerns by simplifying the terminology and providing a clearer explanation of the architecture.

There are still some limitations, particularly regarding the degree of architectural novelty and model-dependent utility/leakage. However, I do not consider these concerns significant enough to outweigh the paper's strengths. All three reviewers now give the paper a borderline accept score, and the discussion does not reveal any remaining fundamental technical issue.

I therefore recommend acceptance as a poster.

2 comments
Authors · CommentOpenReview ↗

We thank the AC and the reviewers. We address the metareview's four points below; the reviewer-specific responses provide the complete methods, tables, and statistical tests.

1. Novelty relative to prior systems (kXCM W1; 52G5 Q2).
SecureClaw contributes a dual-boundary security contract for an iterative tool-calling runtime that may be fully adversarial: raw protected values remain outside the runtime, while the sole trusted executor re-verifies authorization for the exact request before any external effect. Its technical novelty lies in this end-to-end enforcement placement and the tested non-substitutability of the two boundaries. Among the six systems named in the metareview, none provides both properties while preserving native iterative tool calling. We evaluate five through measurements in our harness or new adapted runs and compare ClawGuard mechanism by mechanism. The ablations and 29-case bypass suite test both directions of this non-substitutability. Bounded summaries provide an explicit, policy-controlled release interface, while deny-aware recovery preserves utility after blocked actions.

2. Generality across LLMs (52G5 Q1; kXCM W2).
We added full cross-model runs. SecureClaw obtains 0/2000 ASB ASR on each of five tested models, including the small open-weight Qwen3-8B, while same-model undefended controls on the three newly added models reach 49.8-85.4% ASR. In separate AgentLeak runs, C2/C5 remain 0/496 on each of four models. C1 and utility vary with the model, and we will state this explicitly as a limitation.

3. Evaluation protocol (kXCM Q3, Q4/W3).
We audited the accommodations benchmark by benchmark. We found that no scored-successful attacked task depended on auto-confirmation in the fresh AgentDojo full run (0/331) or ASB (0/1,778). AgentLeak has no matched no-confirm counterfactual, so we make no zero-dependence claim there. Across all four AgentDojo conditions, ASR remains 0-2/629. In the row-level comparison, 65 of the 331 full-condition successes are not scored as successes in the no-alias condition; all resolved requests still undergo authorization and request binding. We also tested imperfect protected-field identification with a separate exact-value diagnostic. It is not directly comparable to the primary AgentLeak detector, and the submitted AgentLeak result remains primary. Over-marking up to a 20% FPR yields 0/996 leaks, leakage increases as protected-field recall falls, and a schema-only fallback yields 0/996 in each channel at 85.9% utility.

4. Presentation (aDAC).
We will add a plain-language glossary for every flagged term, a numbered four-step walkthrough of the read and write paths, and matching edits to Secs. 3.2-3.4 and Fig. 1. These changes leave the paper's core claims and submitted results unchanged.

Two new head-to-head AgentDojo baselines further clarify the security-utility trade-off: Progent reaches 24/629 ASR versus our 4/629 at comparable utility, while CaMeL reaches 0/629 but with 31.0% attacked and 29.9% benign utility, versus our 56.6% and 60.8%. The reviewer-specific responses report the full results and caveats.

We hope these clarifications and targeted results address the four prioritized concerns and strengthen confidence in the paper's contribution and evaluation.

Authors · CommentOpenReview ↗

Summary of Rebuttal Results

Dear Area Chair,

Thank you for guiding the discussion. We addressed the four questions in the metareview. Here are the main results.

Novelty. SecureClaw protects both data reads and external actions. The LLM runtime never sees raw protected data and cannot execute external actions itself. A trusted executor runs only the exact request approved by policy. This design keeps normal step-by-step tool calling. Our ablation and 29-case bypass suite show that protecting only one side is not enough. In matched AgentDojo runs, SecureClaw had 0.64% ASR, compared with 3.82% for Progent; both have a similar utility. CaMeL had 0% ASR but 31.0% attacked utility, compared with 56.6% for SecureClaw.

Generality. We completed full ASB runs on five models. SecureClaw had 0 successful attacks out of 2,000 cases on each model, including the small open-weight Qwen3-8B. On each of four AgentLeak models, both agent-message leaks and shared-memory leaks were 0/496. Final-output leakage and utility varied by model, and we will state this clearly.

Evaluation protocol. We tested alias resolution and auto-confirmation separately. Auto-confirmation did not trigger in the fresh AgentDojo or ASB runs. Alias resolution was used on 129 of 726 AgentDojo rows, and we report its exact effect on scoring. AgentLeak leak scoring and ASB attack scoring do not depend on it. We also tested errors in identifying protected fields. In this test, marking up to 20% of unprotected fields as protected caused no leaks and changed utility by at most 0.6 percentage points. Missing protected fields increased leakage gradually.

Presentation. We rewrote the design in plain language, added a four-step example, and replaced our own labels with clearer words. For example, "opaque handle" is now "reference ID." Reviewer aDAC said the new wording was "much better" and raised the score to 4. At aDAC's suggestion, we also ran an AgentDyn check with Gemini 2.5 Pro. On all 60 benign tasks, SecureClaw reached 46.7% utility, compared with 50.0% without a defense. On a fixed subset of 40 attacked pairs, SecureClaw reached 37.5% utility and 0% ASR. Without a defense, utility was 47.5% and ASR was 22.5%.

All three reviewers now give the paper a score of 4. We hope these added results support a positive decision.

Reviewer 52G5OpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper presents secure-claw, an architecture that aims to reduce risks in agent-based settings where we have many calls of tools. The architecture introduces a set of trusted entities, specifically, a trusted gateway and a trusted policy that aim to ensure that no sensitive data is leaked when agents call different tools. The paper evaluates the approach across different benchmarks and compares it across several baselines, showing that secure-claw significantly decreases ASR.

Strengths and weaknesses

Let me start my review by acknowledging that I am not an expert in this domain. Having said that, I think that the paper focuses on an important and timely problem. I really liked that the paper included running examples to help the readers understand some of the underlying concepts and ideas behind secure-claw. I also liked that the paper did a careful evaluation of the approach and compared it across different benchmarks and baselines. Also, I believe that the paper is well-written and easy to follow. I only have some minor concerns with the paper.

First, the evaluation is conducted with a single LLM only (gpt-4-mini), which does not give a lot of confidence to the readers with respect to whether the same results will be generalizable across multiple LLMs. I will expect that many people will use a diverse set of agents and LLMs (e.g., from Anthropic) and we do not know whether the same ASR results will hold if we change gpt-4-mini to some other LLM. I suggest to the authors to include some additional LLMs in their analysis to demonstrate and confirm that the same results hold across LLMs.

Second, the paper briefly describes the difference between secure-claw and the rest of the baselines, it does not go into too much detail to allow the reader to understand the main difference between secure-claw and the rest of the defenses. Is it simply the fact that secure-claw combines different existing defenses in a cohesive architecture/framework? Or does it introduce new defense mechanisms that were not proposed before? I suggest to the authors to further discuss the difference between secure-claw and the other baselines to better explain the novelty of secure-claw.

Questions
  1. What was the reason for conducting the evaluation only on gpt-4-mini? Will the results change if I use a different model (e.g., a small open-source LLM)?
  2. What are the main differences between secure-claw and the baselines that are considered in this work? Does secure-claw combine different already existing defense mechanisms or does it introduce new ones?
Limitations

The paper includes an adequate discussion of the limitations. My only suggestion to the authors will be to include an additional limitation related to the fact that the evaluation is conducted completely on a single LLM.

Final justification

The rebuttal addresses my concerns so I maintain my positive recommendation about the paper.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the review and the two concrete questions; both now have direct, evidence-backed answers, and we adopt the suggested limitation.

Q1 / W1: Why one primary model, and do the results transfer?

Two reasons drove the original choice. First, the main table compares five systems across three full benchmarks in one common harness—fifteen full runs—and fixing one backbone keeps every comparison matched. Second, GPT-4o-mini is highly attack-susceptible in this harness (91.65% ASB ASR undefended, Table 2), making it a demanding stress test for the enforcement boundary. The submission carried only small spot checks (Table 9); during the discussion period we ran the full sets.

We ran all 2,000 ASB rows per model: the submitted GPT-4o-mini anchor and four additional full runs.

Model ASR Utility
GPT-4o-mini (submitted) 0/2000 1778/2000 (88.9%)
Claude Sonnet 4 0/2000 1799/2000 (90.0%)
GPT-5.6-Luna 0/2000 1672/2000 (83.6%)
Qwen3-8B (small open-weight) 0/2000 1883/2000 (94.2%)
Qwen3.7-Plus 0/2000 1689/2000 (84.5%)

No successful attack occurred in any of the 10,000 executions. Qwen3-8B provides the requested small open-weight evidence directly: 0/400 on each of the five ASB attack families, with the highest utility in the group.

The zero ASRs do not reflect naturally cautious models. On the same snapshots, undefended ASR is 49.8% on Claude Sonnet 4, 64.6% on Luna, and 85.4% on Qwen3.7-Plus; SecureClaw reduces each to 0/2000. Utility rises from 31.0% / 13.8% / 1.9% to 90.0% / 83.6% / 84.5%, consistent with blocked injections no longer derailing the task and deny-aware recovery resuming it.

We also ran all 996 AgentLeak rows per model in a separate transfer batch. The submitted 16/496 any-channel result remains the paper-level headline. The GPT-4o-mini row below is the transfer batch's fresh reference, evaluated identically to the three additional models, so the table provides a matched within-batch cross-model comparison.

Model Attacked C1 C2 C5 Attacked utility
GPT-4o-mini 8/496 (1.6%) 0/496 0/496 366/496 (73.8%)
Claude Sonnet 4 17/496 (3.4%) 0/496 0/496 406/496 (81.9%)
GPT-5.6-Luna 19/496 (3.8%) 0/496 0/496 271/496 (54.6%)
Qwen3.7-Plus 33/496 (6.7%) 0/496 0/496 229/496 (46.2%)

The internal relay channels stay closed on every model: C2 and C5 are 0/496 across the board, against 65.9-95.0% (C2) and 32.5-66.5% (C5) for the same snapshots undefended. Claude Sonnet 4 directly addresses the reviewer's Anthropic example: SecureClaw cuts any-channel leakage from 91.3% to 3.4% and raises attacked utility from 79.4% to 81.9%; the full runs also line up with the Table 9 spot checks.

The direct answer to "will the results change with a different model?": ASB ASR is 0/2000 on each of five tested snapshots, including the small open-weight Qwen3-8B; in the separate AgentLeak transfer set, C2/C5 are 0/496 on each of four snapshots. C1 and utility do change (attacked C1 spans 1.6-6.7%, and attacked utility spans 46-82% on AgentLeak). This matches the design: trusted components enforce effect authorization and prevent fresh raw-value dereference inside the runtime, while the backbone determines planning utility and user-visible C1 behavior.

Q2 / W2: What is new relative to the baselines?

SecureClaw contributes a dual-boundary contract for a fully adversarial iterative runtime. Two security mechanisms enforce this contract, while deny-aware recovery preserves utility after a blocked commit:

  1. Request-bound commit at a separate trusted executor. The runtime can only propose. The policy decision is HMAC-bound to the exact canonical bytes of the request, and the executor, the sole route to any external effect, re-verifies that binding plus freshness, replay, and confirmation state before committing. Checking "is this tool call allowed?" at the action boundary still leaves a gap between the check and the commit; binding to exact bytes closes it. The 29-case bypass suite stresses this under a fully adversarial runtime, a threat model the runtime-local baselines do not admit: 25/25 attacks denied, 4/4 legitimate controls allowed.

  2. Plaintext confinement at the read boundary. Protected objects remain in trusted storage and are represented to the LLM by random reference tokens; only trusted components can dereference a token, and only at authorized destinations. This prevents fresh raw-value dereference inside the runtime; bounded summaries remain the explicit declassification interface.

  3. Utility-preserving deny-aware recovery. After a blocked action the executor returns a safe next step ("draft for confirmation"), which keeps workflows usable at unchanged enforcement (Appendix A.7: +16 utility points on ASB at 0% ASR).

Individual elements overlap with prior systems; the table states each relation, with measured evidence from our harness or the new adapted runs:

System Mechanism Relation to SecureClaw, with measured result
IPIGuard preplanned tool-dependency graph, constrained traversal constrains the plan inside the runtime; no outside-runtime value store, no exact-request commit binding; 15.3% AgentDojo ASR, 78.6% AgentLeak leak
DRIFT secure planner, dynamic validation, injection masking cleans plans and observations; enforcement root stays runtime-local; 2.4% ASR, 72.2% leak
Progent per-tool privilege DSL with fallbacks at the action boundary strong policy layer; no exact-request commit binding at a separate executor, no read confinement; 24/629 = 3.8% ASR vs. our 4/629 = 0.64% (new full run)
Faramesh canonical action authorization at the execution boundary closest on the effect side; its control plane stays out of the data plane by design, so raw values remain in the runtime with no read confinement; 0% ASB ASR next to undefended-level AgentLeak leakage (93.9%)
ClawGuard (arXiv:2604.11790) task-scoped rules confirmed by the user before the first tool call and enforced at every tool-call boundary; pattern-based sanitizer for tool I/O checks and executes in one tool-call pipeline, with no separate executor re-verifying an approval bound to the exact request; its default sanitizer targets credential-style patterns rather than arbitrary schema-classified fields, and it has no general outside-runtime value store with sink-scoped dereference; will be added to Sec. 5
CaMeL generated code over quarantined data in a capability-tracking interpreter closest to addressing both flows; replaces the iterative agent loop; 0/629 ASR at 31.0% attacked / 29.9% benign utility vs. our 56.6% / 60.8% (new full run)

The Faramesh row provides direct evidence against the "existing defenses, combined" reading: controlling actions without confining reads leaves the measured AgentLeak channels at the undefended level, and this matches Faramesh's own scope statement that its control plane never processes tool payloads. The bypass suite (Table 17) validates the complementary direction: read confinement alone does not stop unauthorized commits. Together, naming these two requirements, instantiating each with formal guarantees and adversarial validation, and empirically showing their non-substitutability constitute the contribution.

Limitations

We will add the suggested limitation explicitly: the primary common-harness comparison uses a single backbone. The full transfer results reported above show 0/2000 ASB ASR on each of five snapshots and observed C2/C5 rates of 0/496 on each of four AgentLeak snapshots, while C1 and utility remain model-dependent. Thank you for pushing on this; the cross-model runs made the paper stronger.

Authors · CommentOpenReview ↗

Thank you again for your constructive review. We wanted to kindly check whether the results with Claude, Qwen, and the other models, together with the mechanism-level comparison to prior defenses, have addressed your questions. If any concern remains, we would be happy to provide further clarification before the author discussion period ends. Thank you for your time.

Reviewer aDACOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/4
Clarity
1/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes a system-level defense harness against prompt injection and data leakage. Existing agents can directly read sensitive data and directly elicit tool calls that make a difference. The proposed SecureClaw isolates a runtime agent operating on an untrusted environment, from a trusted sandbox. The untrusted runtime agent and the trusted sandbox agent have deterministically restrictive interactions: the untrusted runtime agent receives bounded summaries that do not contain sensitive data, and proposes actions that are subject to be authorized by the policy engine. Evaluations on multiple agentic tool calling benchmarks show a very low attack success rate with a noticeable utility drop.

Strengths and weaknesses

Strengths

  1. The paper focuses on an important problem with a well-motivated technical path. The threatening agent security risks come from the agent running in untrusted environment’s read and write actions: reading sensitive data and writing (outputing/proposing) actions that make a difference to the real world. The paper analyzes it and proposes to isolate an untrusted agent running in the environment, while interacting in a restrictive way with the sandboxed trusted parts. The trusted parts contain the gateway that interacts with the untrusted agent, asks the policy engine to authorize actions, checks with the handle store that stores texts that may be sensitive, etc.
  2. The evaluation is comprehensive covering AgentDojo, ASB, and AgentLeak. The results are impressive: even the model (gpt-4o-mini) is very insecure, the constructed agent has low attack success rates (0.6% on AgentDojo, 0% on ASB).

Weaknesses

  1. The paper is extremely hard to follow, so I doubt its value to the community before sufficient human efforts in distilling what are useful messages, besides a SecureClaw product. A lot of new uncommon terms are presented in the introduction, making the contributions confusing. For example, effect sink, read boundary, plaintext confinement, handle store, high-entropy symbolic reference, opaque handle, etc. The meaning of them is only explained afterwards: the read boundary is a boundary defined by the paper to mean the read operation of the untrusted agent to sensitive data, and the effect sink is also something newly defined to isolate the agent inference and actually calling the tool to make a difference to the environment.
  2. Following the above comment, the specific technical designs are unclear in the presented vague descriptions. From “3.2 Read path:”, I cannot see how the summary is bounded, how the plaintext/secrets are encrypted while still making them useful when needed, what the policy engine is, etc. A more specific example is in Line 153: “A handle is a high-entropy symbolic reference associated with caller, session, time-to-live, object version, and the set of sinks at which dereference is allowed”. This sentence contains 7 phrases I cannot understand via the surrounding contexts: “high-entropy symbolic reference, caller, session, time-to-live, object version, sinks, dereference”.
Questions

See weaknesses

Limitations

Yes

Final justification

The authors spent significant efforts to make presentation clear, making me to increase the score, which I will keep if newly invented terms are properly renamed.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for identifying two specific sources of confusion. Indeed, the introduction uses several systems-security terms before defining them, and Sec. 3.2 states properties of the read path before showing its mechanics. We will address both with localized presentation changes. Below we give the plain-language version, answer the three technical questions about Sec. 3.2, and list the exact edits we commit to.

1. The design in plain language

The revised Sec. 3 will open with this:

SecureClaw removes two privileges from the LLM runtime. When the agent reads protected data, it receives a reference and a short policy-defined view instead of the raw object. When it wants to change the outside world, it can only propose an action; a trusted component independently decides whether that exact action may execute.

The following end-to-end example expands the invoice scenario already in the paper:

  1. Read. The email tool returns the raw invoice to the trusted gateway, never to the LLM. The gateway stores it in a trusted table and hands the runtime a reference, written as INV_42 here for readability, plus a bounded summary: "vendor A, amount 4.2k, due Friday." The summary is produced by fixed rules and capped at M=8 items and C=512 characters.
  2. Plan. The runtime reasons over the summary and carries INV_42 through memory and later calls. The token is a plain reference to the stored object: the raw invoice never enters the LLM runtime, and the runtime cannot exchange the token for the value.
  3. Preview. The runtime proposes send_email([email protected], body=INV_42). The gateway adds the verified caller and session, then puts every field that determines the action into one fixed form: recipient, channel, referenced object and version, and relevant context.
  4. Commit. The policy engine checks the complete request against the configured rules and ties its approval to that exact request. The trusted executor, the only component that can reach the email API, checks that the approval matches, has not expired, and has not been reused; it then replaces INV_42 with the stored invoice and sends.

If the runtime changes the recipient after approval, the executor sees a different request and refuses to send. A denial returns a fixed safe continuation such as "save a draft and request approval," with no new protected content. That four-step loop is the whole design; the formal terminology only records which component performs each step and which guarantee follows from it.

2. Every flagged term, in one table (to appear as a glossary box at the start of Sec. 2)

Term Meaning
read boundary where tool or document content would enter the LLM runtime
effect sink the API call at which an action changes the outside world (the mail leaves; the payment executes)
plaintext confinement keeping raw protected objects outside the LLM runtime; on a protected read, the runtime receives a handle and a bounded, policy-defined view instead
opaque handle (high-entropy symbolic reference) a long random reference token (128+ bits) standing in for a secret, like a claim-check ticket; the LLM cannot use it to retrieve the stored value
handle store a trusted table outside the runtime, mapping each handle to the stored value and its metadata
dereference exchanging a handle for its stored value; only trusted components may do this
caller / session the authenticated identity of the requester / the identifier of the current interaction, both attached server-side
time-to-live an expiry after which a handle no longer resolves
object version the version of the stored item, so a stale handle cannot be used after that item changes
sinks where dereference is allowed an allow-list of destinations where a handle may become its value again (inside an authorized send_email body, never in a public post)
bounded summary a short policy-defined view from a fixed deterministic procedure (at most 8 items and 512 characters here) that the runtime may see for planning
policy engine the trusted rule service deciding whether the exact caller, action, recipient, object, and context are allowed

This covers the six terms flagged in the introduction and all seven phrases from line 153. With the glossary in place, we will replace that sentence with: A handle is a random reference to a protected object stored outside the runtime. Before resolving it, trusted code checks who may use it, in which session, until when, for which object version, and at which destinations. We will introduce each term with its plain meaning at first use.

3. The three questions about Sec. 3.2

How is the summary bounded? A fixed procedure, with no LLM involved, selects fields, replaces identifiers such as emails, bank-account numbers, and URLs with per-read tokens, strips configured suspicious markers and tags, and caps the result at 8 items and 512 characters. Appendix B (Table 21) reports a 122-pair diagnostic across 19 categories. These steps and limits will be stated in Sec. 3.2 itself.

How do secrets stay useful if the runtime cannot read them? There is no encryption to undo. The runtime plans with the token and places it inside a proposed call ("send email with body = INV_42"). After the policy check passes, the executor swaps the token for the stored value while assembling the outgoing request. The LLM handles the reference and the policy-defined summary; trusted components retain the raw value, and the executor dereferences it only after authorization at the final step.

What is the policy engine? A rule service that checks the complete proposed action against the configured rules: intent, verified caller and session, arguments, destination, and other relevant context. Example rules: "SEND_EMAIL only to recipients in the session's approver set"; "payments above a threshold require a user confirmation token." It returns allow or deny; if allowed, the approval can be verified only for that exact request.

4. Concrete presentation edits

  1. The two-privilege opening and numbered example will lead Sec. 3.
  2. The glossary will open Sec. 2, with one-clause definitions at first use in Sec. 1.
  3. Secs. 3.2–3.4 will follow the same read–plan–preview–commit order, with the caps stated inline.
  4. Figure 1's arrows will be numbered to match those four steps.
  5. Nonce, TTL, versioning, and key details will follow the intuitive description.

These localized edits fit within the existing section structure and leave the paper's core claims and submitted results unchanged.

5. The three main messages

We will state these three messages more clearly and earlier in the revised introduction:

  1. Agents face two distinct risks: unauthorized external actions and raw protected values entering the LLM runtime. Table 3 and the bypass suite show that neither control can replace the other.
  2. Approval must match the exact request that executes, so the recipient, channel, or context cannot be changed after the check. This binding held in all 29 bypass-suite cases (Table 17).
  3. The remaining measured leakage is concentrated in C1, the final answer shown to the user, identifying where policy improvements should focus.

We hope the glossary, worked example, and concrete edits address the readability concern and support reassessment of the paper's clarity and quality.

Authors · CommentOpenReview ↗

Thank you again for your thoughtful feedback. We wanted to kindly check whether the walkthrough and terminology clarifications in our response addressed your concerns about the presentation and explanation of the design. If anything remains unclear, we would be happy to clarify before the discussion period ends. Thank you for your time.

Reviewer aDAC · CommentOpenReview ↗

Thanks for making the presentation clear

I appreciate the efforts to improve the paper's presentation, which has been a significant common issue shared across system-level defense literatures. The improved wording/sentences are much better to me, and I am happy to increase the score to 4. However, I did not find the term table helpful. Are those terms used in existing/published literatures, or invented in this paper? For the former (probably like policy engine, time-to-live, session), it is ok to keep this term with this term table. For ones newly invented (probably like effect sink, plaintext confinement, opaque handle), I can understand with significant efforts, but please find clearer names for to represent their key functions. If you can find better names for terms newly invented, I will maintain my positive scores.

Below are pure suggestions to improve the paper, instead of requirements/criteria for acceptance, as it is infeasible to address in 12 hours. Limiting the communication between the trusted agent and untrusted agent risks utility loss when the data is important for next-step planning. For this concern, it would be valuable to evaluate on AgentDyn (especially benign utility) which measures if the agent can do benign tasks where the data is needed for planning (while potential injection appears). Also, this work shares idea similarity on the concurrent Twin Agent defense against prompt injection, so it would be helpful to discuss and distinguish from it. This discussion should not be treated as evidence against the paper's novelty.

Authors · CommentOpenReview ↗

Follow-up: Terminology Revisions, AgentDyn Diagnostic, and Twin Agent Comparison

Thank you for the careful follow-up and for raising the score.

1. Terminology. Policy engine, caller, session, time-to-live, object version, and dereference are standard systems terms. Opaque handle also appears in prior work. For example, FlowFence (USENIX Security 2016) uses opaque handles for sensitive data and resolves them only inside sandboxes. Still, we agree it is not always clear to a broad audience.

Read boundary, effect sink, plaintext confinement, handle store, bounded summary, and high-entropy symbolic reference are our own labels. Readers should not have to learn them. Following your feedback, we will remove the glossary table, define standard terms inline at first use, and replace our labels. The table below is only an edit map; it will not appear in the paper.

Current Revised
opaque handle; high-entropy symbolic reference reference ID: a random ID for a value in trusted storage
handle store trusted data store
bounded summary short planning summary: built by fixed rules (max 8 items, 512 characters)
dereference resolve a reference: replace the reference ID with its stored value
read boundary the trusted gateway that receives protected tool data
effect sink the external API call that executes the action
plaintext confinement raw protected data stays outside the LLM runtime

For the last three we add no new names. We just describe the function in plain words. In the appendix, dereference and sink may stay where useful, defined at first use.

The revised core explanation will read:

When a tool returns protected data, the trusted gateway stores the raw value in a trusted data store and gives the LLM a reference ID plus a short planning summary. When the LLM proposes an external action, the policy engine checks the exact request: caller, session, recipient, channel, referenced object and version, and context. The trusted executor independently verifies that approval. Only then does it replace any reference ID with its stored value and call the external API.

Figure 1 will say "Protected data is read here" and "External action executes here." The numbered walkthrough from our previous response stays. If any name is still unclear, we are happy to adjust it further.

2. AgentDyn. Following your suggestion, we ran a diagnostic with Gemini 2.5 Pro. The time window was too short for all 560 attacked cases, so we ran all 60 benign tasks plus a fixed subset of 40 attacked task-injection pairs across the three suites, with a matched no-defense control.

Methods Benign utility Utility under attack ASR
SecureClaw 28/60 (46.7%) 15/40 (37.5%) 0/40 (0.0%)
No defense 30/60 (50.0%) 19/40 (47.5%) 9/40 (22.5%)

The complete benign lane speaks to your exact concern: every AgentDyn task requires dynamic replanning and puts helpful third-party instructions on the critical path. SecureClaw is not plan-first. After each protected read, the runtime replans over the short planning summary and carries the reference ID into later authorized calls, so withholding raw data does not stall planning. As a sanity check, our no-defense control is close to AgentDyn's published numbers for this model (50.0/22.5 vs. 51.67/20.61 in their Table 3).

On the attacked subset, SecureClaw removes all nine observed attack successes. For context, AgentDyn's full-benchmark results for this model on different defense methods (benign utility/utility under attack/ASR) are DRIFT 36.67/33.04/1.09, Progent 25.00/16.06/1.59, Tool Filter 1.67/0.93/0, and CaMeL 0/0/0. Our benign utility is encouraging. Our attacked lane covers 40 fixed pairs, not all 560. We will extend it in the future.

3. Twin Agent. We read Twin Agent (arXiv, July 21, 2026) and will add it as concurrent work. Thank you for noting it should not count against novelty. Both works use privilege separation, but the trust split is different. Twin Agent uses two LLM agents: an Explore Agent reads untrusted content and sends a short, context-aware hint to a privileged Safe Agent. Its security relies on the hint-length budget, a prompt-injection detector on the hint, and the Safe Agent's robustness to short malicious hints.

In SecureClaw, the trusted side contains no LLM. The single LLM runtime is untrusted. The trusted parts are the gateway, policy engine, trusted data store, and executor. The planning summary comes from a fixed schema-aware procedure, not a trusted LLM. Raw protected data stays outside the LLM runtime, and the non-LLM executor re-verifies the exact request before any external action. SecureClaw also targets the relay of raw protected data through internal runtime channels. We therefore view the two designs as complementary.

Thank you again. These suggestions genuinely improve the paper.

Reviewer kXCMOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

SecureClaw is a secure architecture for tool-using agents. On the write path, a PREVIEW→COMMIT protocol binds a policy to the request via an HMAC digest. Only a trusted executor can commit so that a compromised/injected runtime cannot mutate recipient/channel/context after authorization. On the read path, sensitive values are replaced by opaque handles plus bounded summaries such that plaintext never enters the runtime's relay channels. The effectiveness is shown on multiple benchmarks including AgentDojo, AgentLeak, and ASB (gpt-4o-mini). SecureClaw reports 0% ASR on ASB, 0.64% on AgentDojo, and 3.23% parity-lane leak on AgentLeak, with an ablation and a 29-case compromised-runtime bypass suite.

Strengths and weaknesses

Strengths

  • The threat model is stronger than the usual prompt injection setting compared to other work. The 29/29 bypass suite (artifact tampering, replay, session/caller/context binding) is a strong validation of Theorem 1.
  • Informative residual analysis in Tables 4/13. The remaining failures are misaligned actions and final output declassification.
  • Practical overhead (~15 ms single-service policy) and exact-count statistics with Fisher tests and Clopper–Pearson bounds

Weaknesses

  • The paper solves a very practical security enhancement for agents but less contribution in novelty. The proposed methods are software architecture design solutions and the contribution is the decomposition + empirical isolation rather than a new mechanism.
  • Cross-model evidence is limited to small spot checks (Table 9). Could include more strong model.
  • The evaluation relies on accommodations (alias resolution, auto-confirmation) that touch utility scoring. The paper argues these can't turn a denied attack into an allowed commit. However, auto-confirming policy-allowed actions in a non-interactive harness is exactly where subtle utility inflation could hide. More detail on its footprint per benchmark would help.
Questions
  • What is the benign-utility/security trade-off curve as the summary operator is tightened? Can C1 residual be reduced without collapsing utility?
  • How does SecureClaw compare head-to-head (same harness) against Progent/CaMeL, not just IPIGuard/DRIFT/Faramesh?
  • How sensitive are results to protected-field misclassification (a stated assumption)? What happens to leak rates under a realistic classifier rather than oracle field tagging?
  • what fraction of scored-successful attacked-lane tasks depend on it, per benchmark?
Limitations

yes

Final justification

This paper addresses an important and timely problem in securing LLM agents, and that the empirical results are promising. Will maintain same score

Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for a review that focuses on the central parts of the evaluation. Below we report full-inventory runs targeted at the four evaluation questions; all numbers are exact counts on complete benchmark inventories, and the new tables will be added to the appendix of the revision.

Q1: Summary-operator sensitivity

To measure the requested trade-off, we ran the full AgentLeak parity inventory at three caps in one cap-study batch, holding all other settings fixed. Its M=8, C=512 row gives 10/496 C1. The submitted run (15/496 C1; 16/496 any channel), this cap-study reference, and the separate transfer-batch reference (8/496 C1) are independent hosted runs; comparisons are made within each batch, and the submitted result remains primary.

Summary caps Attacked C1 C2 C5 Benign utility
Paper caps: M=8, C=512 10/496 (2.02%) 0/496 0/496 384/500 (76.8%)
M=4, C=128 14/496 (2.82%) 0/496 0/496 387/500 (77.4%)
M=2, C=64 17/496 (3.43%) 0/496 0/496 405/500 (81.0%)

Across the 4x item-cap and 8x character-cap range, C2 and C5 remain 0/496, C1 stays within 2.02-3.43% with no statistically significant endpoint difference, and benign utility remains 76.8-81.0%. Thus, C2/C5 remain unchanged and benign utility does not collapse across the tested caps, while reducing M/C alone does not lower C1 in this range.

These results motivate evaluating more selective declassification over content categories as a separate next step, rather than only shrinking the summary window. We will clarify this interpretation in Sec. 4.4.

Q2: Progent and CaMeL on the same AgentDojo inventory

We ran both on the identical 629 attacked + 97 benign rows, using the authors' released implementations through AgentDojo adapters. We therefore report these as adapted full runs.

System ASR Attacked utility Benign utility
Progent 24/629 (3.82%) 337/629 (53.6%) 59/97 (60.8%)
CaMeL 0/629 (0.00%) 195/629 (31.0%) 29/97 (29.9%)
SecureClaw (submitted) 4/629 (0.64%) 356/629 (56.6%) 59/97 (60.8%)

Against Progent, SecureClaw's ASR is lower (Fisher p = 1.5e-4) at comparable utility (attacked p = 0.31; benign identical). CaMeL reaches zero observed ASR; its ASR difference to SecureClaw is not statistically distinguishable at this sample size (p = 0.12). The separation is in utility: 31.0% attacked and 29.9% benign for CaMeL versus 56.6% and 60.8% for SecureClaw. SecureClaw keeps the native tool-calling loop and holds near-zero ASR at 1.8x CaMeL's attacked utility.

Q3: Protected-field misclassification

Each of the following three full-inventory results covers all 996 rows. Here, a leak means that a concrete value from a field that the task's privacy rule designates as protected appears in C1, C2, or C5. This check isolates field-identification errors and complements the 16/496 AgentLeak result, which remains the paper's primary result.

(a) Over-marking does not increase leakage in this tested range. With recall held at 1.0, injecting false positives to achieve realized FPRs of up to 20% leaves attacked leaks at 0/496 and overall leaks at 0/996 at every level, with utility between 81.6% and 82.2%. Marking extra fields converts more values into handles; across this tested range, the utility change is at most 0.6 percentage points.

(b) Misses degrade gradually. Random false negatives at 1%, 5%, 10%, and 20% give attacked leak rates of 3.63% / 8.87% / 13.10% / 17.14%, with utility at or above 81% throughout. The guarantee is recall-critical, exactly as scoped in Sec. 2, Sec. 6, and Appendix B.1, and the measured failure mode is graded.

(c) No-oracle classification audit and recall-first fallback. We froze a value- and label-blind contextual detector before seeing any ground truth. It receives no field values or labels and reads only the privacy instruction, application domain, record and field names, and declared types. It reaches 99.22% field recall (44,448 TP / 351 FN) at 86.68% precision, covering every sensitive field on 879/996 tasks; we report this as classification evidence on the development inventory. Separately, a conservative schema-only fallback requiring no oracle field labels at inference ran end-to-end on all 996 rows: 0/996 on each of C1, C2, and C5, at 85.9% utility. The practical implication is to tune protected-field identification toward recall, since (a) shows that over-marking is inexpensive and (b) quantifies the effect of misses.

Q4 / W3: Effect of the benchmark accommodations

We re-executed the complete AgentDojo inventory (629 attacked + 97 benign rows) under four conditions. These are fresh hosted runs for this comparison; the Table 2 run stays the primary result.

Condition ASR Attacked utility Benign utility
full (both accommodations) 1/629 (0.16%) 331/629 (52.6%) 55/97 (56.7%)
no alias resolution 0/629 (0.00%) 282/629 (44.8%) 45/97 (46.4%)
no auto-confirmation 2/629 (0.32%) 341/629 (54.2%) 56/97 (57.7%)
neither 0/629 (0.00%) 294/629 (46.7%) 47/97 (48.5%)

ASR sits between 0 and 2/629 in every arm, at or below the submitted 4/629, matching the run-to-run behavior described in Appendix A.2.

To test possible utility inflation, no confirmation token was issued in any AgentDojo arm (0/726 rows per arm), including to any policy-denied proposal (full: 0/43; others: 0/82, 0/38, 0/62). Thus, 0/331 attacked-row successes in the fresh full arm depended on auto-confirmation. In the ASB run, auto-confirmation was never invoked, so 0/1,778 scored-successful rows depended on it. AgentLeak differs: its non-interactive adapter supplies confirmation at final-output release. No matched no-confirm counterfactual is available for the submitted configuration, so we do not claim zero dependence there; auto-confirmation never converts a policy DENY into an allowed release or commit.

Alias resolution was used in downstream calls on 129/726 rows (112/629 attacked, 17/97 benign; 216 events). Comparing the same benchmark rows across the full and no-alias conditions, 65 attacked rows score as task successes in the full condition but not in the no-alias condition, while 16 show the reverse (exact McNemar p = 3.6e-8; benign 12 vs. 2, p = 0.013). Because these are independent hosted runs, we report the row-level comparison directly: the 65 rows are 19.6% of the 331 full-condition successes, and the net difference of 49 equals the condition-level gap. Trusted code replaces a token such as EMAIL_REF_3 with the benchmark-expected literal before exact-string utility scoring; without this step, the action can be correct but still fail the scorer. The resolved recipient, channel, and context still pass policy authorization and request binding.

Other benchmarks: AgentLeak's leak detectors score raw outputs, so the 3.23% result receives no alias-resolution accommodation. ASB uses its native attack scorer; the utility driver there is deny-aware recovery, which Appendix A.7 isolates separately (70% to 86% at an unchanged 0% ASR).

W1: Novelty

The primitives are classical and the paper says so: HMACs, capabilities, reference monitors, declassification. Our contribution is the joint contract these primitives implement for a fully adversarial iterative runtime, together with evidence that neither the read-path nor the write-path protection is sufficient alone. On the write path, the allow decision is MAC-bound to the exact canonical bytes the sole executor later commits, with freshness, replay, and confirmation binding; this closes the gap between checking an action and committing it, which argument inspection cannot (zero-argument effectful tools are the limiting case). On the read path, freshly dereferenced raw values stay outside the runtime; the bounded-summary interface is the declared read-path content-dependent release to the runtime. Theorem 3 bounds trace-level exposure, while Table 21 separately reports a 122-pair diagnostic calibration target for the deployed operator. Individual elements overlap with prior systems: Faramesh on canonical action authorization at the execution boundary, CaMeL on covering both flows. No compared system instantiates the joint contract for a native tool-calling loop, and the measured pattern follows the decomposition: Faramesh achieves 0% ASB ASR but retains Plain-level AgentLeak leakage, while the bypass suite validates the complementary effect-side requirement: handles alone do not stop unauthorized commits. The reusable finding is this tested non-substitutability, supported by the 29-case adversarial validation of the commit invariant.

W2: Cross-model evidence, now at full scale

Full runs extend the Table 9 spot checks. Each of five ASB model snapshots (GPT-4o-mini, Claude Sonnet 4, GPT-5.6-Luna, Qwen3-8B, Qwen3.7-Plus) completes all 2,000 rows at 0/2000 ASR, with utility from 83.6% to 94.2%. In the AgentLeak transfer runs, the same evaluator is used for all four snapshots; C2 and C5 remain 0/496 on each, with attacked C1 between 1.6% and 6.7%. Same-snapshot undefended controls show 49.8-85.4% ASB ASR and 68.9-95.0% any-channel AgentLeak leakage. On Claude Sonnet 4, SecureClaw improves attacked utility (81.9% vs. 79.4% undefended) while cutting any-channel leakage from 91.3% to 3.4%. Per-model tables are in our response to Reviewer 52G5.

We hope these results address the four questions and the accommodation concern, and we are happy to clarify further during the discussion window.

Authors · CommentOpenReview ↗

Thank you again for your detailed and actionable questions. We wanted to kindly check whether our responses have addressed your concerns. If any point remains unclear or insufficiently supported, we would be grateful for the opportunity to clarify it before the author discussion period ends. Thank you for your time.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…