跳到正文
原文
机器之心 JIQIZHIXIN· @jiqizhixin · X·本站收录· 原文发表· 防御 →

资源劫持防御 ResGate 将 OpenClaw 评测平均攻击成功率从 84.1% 降至 23.6%

AI 导读

上海交通大学、南开大学等机构的研究者研究了 LLM 智能体的资源劫持问题,并提出防御方法 ResGate;在论文的 OpenClaw 评测中,该方法将平均攻击成功率从 84.1% 降至 23.6%,同时授权任务成功率从 90.4% 变为 89.3%。资源劫持是指智能体虽然没有泄露凭据,但仍可能在未授权用户的指使下消耗受保护的资源,例如 API 或 GPU。研究者构建的 ResourceHijackBench 包含 900 条提示,这些提示来自 300 个母场景,并用隔离环境检验被针对的资源变更行为是否真的发生,而不是只看智能体说了什么。ResGate 把请求理解与授权分开:由模型抽取资源与操作元数据,再由确定性代码按固定策略核对可信请求者的身份,通过后才执行。研究者也指出,剩余 23.6% 的攻击成功率仍然可观,该结果不能说明策略校验能消除不同部署、资源或智能体架构下的全部滥用。

正文 · 原文

ResGate reduces average attack success on the paper's OpenClaw evaluation from 84.1% to 23.6%, while authorized-task success changes from 90.4% to 89.3%.

Researchers including Shanghai Jiao Tong University and Nankai University study resource hijacking: an agent can keep credentials secret yet still spend protected resources on an unauthorized user's behalf.

Their ResourceHijackBench contains 900 prompts derived from 300 parent scenarios. Instead of judging only what the agent says, isolated environments check whether the targeted resource-changing behavior actually occurs. The defense separates request interpretation from authorization: a model extracts resource and operation metadata, then deterministic code checks trusted requester identity against a fixed policy before execution.

The distinction matters because an ordinary tool call can serve the wrong beneficiary. These controlled results support explicit resource authorization, but the remaining 23.6% attack success is substantial. The study does not show that a policy gate eliminates all misuse across deployments, resources or agent architectures.

Beyond Direct Access: Resource Hijacking in LLM Agents

Paper: https://arxiv.org/abs/2608.15108
Code: https://github.com/feymann/Agent-Resource-Hijacking
Our Report: https://www.jiqizhixin.com/articles/2026-10-22-12

📬 #PapersAccepted by Jiqizhixin

来源:机器之心 JIQIZHIXIN · x.com