CyberGuardAI 安全情报工作区
AI 安全知识情报
LJH 管理员
返回首页 学术论文

SecureClaw:LLM智能体双边界安全架构

Yuhan Ma、Stefan Schmid

摘要与解读

提出双边界架构SecureClaw,约束工具智能体的越权动作与敏感信息泄露。

六维情报分析

6 个维度 · 原文可溯源

影响范围

  • 来源报告描述的影响对象是LLM Agent运行时及其外部状态写入路径:敏感读取经可信网关替换为reference IDs,写入须遵循PREVIEW→COMMIT协议且仅可信执行器可执行策略授权的精确请求。其信任边界落在运行时与网关、执行器之间,运行时只能基于摘要和引用ID规划,不能直接解析ID为秘密或产生副作用。后果是敏感值暴露面与越权副作用被结构性收窄,但前提是网关与执行器本身可信且策略正确。

    原文依据 · 2
    e. 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.
    查看原文 · v3
    est 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.
    查看原文 · v3

关联资产

  • 原文明确关联的组件包括:可信网关(负责敏感读取替换与declassification摘要)、reference IDs、PREVIEW→COMMIT写入协议、可信执行器,以及LLM Agent运行时;评估涉及AgentDojo、AgentLeak、ASB基准与公开代码仓库。适用前提是部署中存在需要读取敏感数据并变更外部状态的Agent,且网关与执行器可被置于运行时之外独立控制。本地资产清单未提供,未做任何本地匹配。

    原文依据 · 2
    e. 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.
    查看原文 · v3
    est 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.
    查看原文 · v3

风险评估

  • 已报道的风险机制是Agent在规划中接触敏感数据与执行外部状态变更;SecureClaw以declassification选择性释放信息、以引用ID替代原始值、以PREVIEW→COMMIT约束写入来阻断。触发条件为运行时试图直接解析ID或绕过可信执行器执行写入。防护优先级应放在网关替换逻辑、策略授权判定与执行器唯一性上,因为这三处是信任边界的实际承载点。

    原文依据 · 1
    e. 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.
    查看原文 · v3

相关研究

  • 研究方法是在AgentDojo、AgentLeak与ASB三个基准上,用统一harness比较多种防御,考察任务效用与攻击成功率、泄漏率的联合表现。贡献在于提出网关替换、declassification与PREVIEW→COMMIT组合的运行时架构,并报告SecureClaw是所评估防御中唯一同时保留可用任务效用且取得0% ASB ASR、0.64% AgentDojo ASR、3.23% AgentLeak attacked parity lane总体泄漏的方案。代码见https://github.com/ponyyuhan/SecureClaw。

    原文依据 · 2
    e. 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.
    查看原文 · v3
    est 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.
    查看原文 · v3

验证资料

  • 来源给出的实验数据为:ASB上ASR 0%、AgentDojo上ASR 0.64%、AgentLeak attacked parity lane总体泄漏3.23%,该lane衡量最终输出与内部中继泄漏;适用条件为统一harness下的对比评估。防御性核查可围绕网关是否将原始值替换为reference IDs、写入是否强制PREVIEW→COMMIT且仅可信执行器执行、以及日志中是否出现ID直接解析或非授权执行器写入的迹象。

    原文依据 · 2
    e. 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.
    查看原文 · v3
    est 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.
    查看原文 · v3

处置建议

  • 建议按序推进:先梳理Agent的敏感读取与外部写入路径,确认是否具备独立可信网关与执行器;再将敏感值替换为reference IDs并仅向运行时提供摘要;随后对写入强制PREVIEW→COMMIT且限定唯一可信执行器;最后在AgentDojo、AgentLeak、ASB类基准上回归任务效用与ASR、泄漏率,并监测日志中ID解析与非授权写入事件。上述步骤由来源架构与评估结果条件性推导,来源明确给出的代码地址为https://github.com/ponyyuhan/SecureClaw。

    原文依据 · 2
    e. 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.
    查看原文 · v3
    est 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.
    查看原文 · v3
模型与引文记录
模型
deepseek-flash
生成时间
记录编号
REQ-ee125b1d57454797a7f3ab95a7139c7a
分析原文
查看原文 · v3

原文摘要与结构

原文摘要

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.

资料档案

文献来源与参考链接

当前保存的来源版本 · v3

作者
Yuhan Ma、Stefan Schmid
文献与标准标识
arxiv:2606.09549
主题分类
cs.CR、cs.AI
主分类
cs.CR
来源备注
Accepted at NeurIPS 2026 (poster); 29 pages including appendices. This version corrects the conference footer only; scientific content is unchanged
来源版本
v3
来源更新时间
2026-10-15T09:33:47+00:00
日期依据
来源明确给出发表日期
原始标题与分类记录

SecureClaw: Clawing Back Control of LLM Agents

研究方向
攻击方法、防御技术
影响维度
待人工确认
风险类型
待人工确认
相关技术
LLM、Agent

当前为离线关键词规则模式。

分类规则与原始字段
攻击方法 · attack
ltaneously 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 p
防御技术 · defense
ecurity Bench (ASB) benchmarks, SecureClaw is the only defense we evaluate in a common harness that simultaneously retains usable task utility and achieves 0% att
LLM · llm
SecureClaw: Clawing Back Control of LLM Agents Tool-using large language model (LLM) agents face two distinct security failures: unauthoriz
Agent · agent
orm side effects. Across the AgentDojo, AgentLeak, and Agent Security Bench (ASB) benchmarks, SecureClaw is the only defense we evaluate in a common harness tha
{
  "ai_relevance": {
    "evidence": [
      {
        "end_offset": 39,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 36
      },
      {
        "end_offset": 78,
        "location": "title_and_content",
        "quote": "large language model",
        "rule": "ai_term",
        "start_offset": 58
      },
      {
        "end_offset": 83,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 80
      },
      {
        "end_offset": 587,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 584
      }
    ],
    "matches": [
      {
        "end_offset": 39,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 36
      },
      {
        "end_offset": 78,
        "location": "title_and_content",
        "quote": "large language model",
        "rule": "ai_term",
        "start_offset": 58
      },
      {
        "end_offset": 83,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 80
      },
      {
        "end_offset": 587,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 584
      }
    ],
    "method": "explainable_keyword_rules",
    "reason": "Matched AI topic or component evidence",
    "relevant": true
  },
  "entity_ids": [],
  "facts": [],
  "method": "source_grounded_extraction",
  "unknown_fields": [
    "affected_products",
    "affected_versions",
    "fixed_versions",
    "cvss",
    "mitigations",
    "references",
    "papers",
    "poc"
  ]
}
原始采集文本
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.
采集信息与校验
完整来源元数据
{
  "authors": [
    "Yuhan Ma",
    "Stefan Schmid"
  ],
  "comments": "Accepted at NeurIPS 2026 (poster); 29 pages including appendices. This version corrects the conference footer only; scientific content is unchanged",
  "content_level": "abstract",
  "date_basis": "explicit_published",
  "date_evidence": {
    "published": "2026-06-08T14:29:01Z",
    "updated": "2026-10-15T09:33:47Z"
  },
  "identifiers": [
    "arxiv:2606.09549"
  ],
  "primary_category": "cs.CR",
  "source_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\u0027s attacked parity lane, which measures final-output and internal-relay leakage. Code is available at https://github.com/ponyyuhan/SecureClaw.",
  "source_capture": {
    "body_chars": 1542,
    "body_sha256": "597977676e3334d637898705744aeaae9a29b9c0392a059bf6c87ae35c70a53a",
    "evidence_scope": "parsed_feed_entry",
    "format": "atom",
    "schema_version": 1,
    "scope": "abstract",
    "source_assertions_sha256": "130262133f09302f0f0de1810334f0560e88a495e9e794f7f0b85bb9911ed36a",
    "visual_content_included": false
  },
  "source_updated_at": "2026-10-15T09:33:47+00:00",
  "subjects": [
    "cs.CR",
    "cs.AI"
  ],
  "version_label": "v3"
}
原文版本历史与校验
版本入库更新时间来源发布日期校验标识
v3 · 正在查看2026-10-16 15:25 UTC2026-06-08 14:29 UTC1c7e51e4b1a82c811d4ce1736a830d0a35df52c2a4ac697bec93edbf9462a699
v22026-10-16 01:42 UTC2026-06-08 14:29 UTC9f3f8bdf5b72b1da21595d7b059cc4d91ae3172d7ce7bdf80a8c2834de381553
v12026-10-15 01:22 UTC2026-06-08 14:29 UTCe25d755a8f7a0019b2f1855790c81938be5e2e59c50a3814355de8a46ac400ee
可引用分片 · 2 段

CHK-2e1322f6c7add35dec5dd28e

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.

CHK-1888bf1b589b546218b1e176

est 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.
处理记录
补充资料

中文译文

正文译文暂缺,以下仅为中文摘要。

中文摘要

提出双边界架构SecureClaw,约束工具智能体的越权动作与敏感信息泄露。

已采集原文

访问来源网页

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.

原文依据