SecureClaw: Clawing Back Control of LLM Agents
Yuhan Ma, Stefan Schmid
NeurIPS page · Open on the map
Category: AI Safety, Security & Alignment › Multi-Agent Security Evaluation · Type: new method · Keywords: LLM agent security, dual-boundary architecture, plaintext confinement, authorization sink, preview-commit protocol, AI safety
Areas: AI Agents › Agent Robustness › LLM Agent Attacks; Safety & Security › Language Model Security › LLM Agent Security
Summary
SecureClaw introduces a dual-boundary architecture that secures LLM agents by confining plaintext reads and authorizing writes, achieving near-zero attack success rates on benchmark suites.
Explained to a 5-year-old
Big computer programs that can use tools sometimes do things they shouldn't and show secret information. We built a special system that keeps the secrets hidden and only lets actions happen after checking. The system splits the work into two parts: one for reading data and one for doing actions. When reading, it changes secret numbers into codes so nobody can see the real thing. When doing actions, it first shows what it wants to do and then asks permission before it really happens.
Explained to a 5-year-old, longer
Some computer helpers called language models can use tools to do things for us. They sometimes make mistakes and either do something they shouldn't or leak private information. To fix this, researchers created a new way to keep these helpers safe. The new way splits the helper into two parts: one that reads information and one that performs actions. When the helper wants to read something secret, it first turns the secret into a code that looks like a number. This code cannot be turned back into the original secret, so no one can see the private data. When the helper wants to do something that changes the world, it first shows a plan. The plan is checked by a trusted guard who decides if it is allowed. Only after the guard says yes does the action actually happen. The helper never sees the real secret numbers and never directly makes changes. This way, the helper can still do useful tasks while staying safe. The new system was tested on several games that try to trick helpers, and it stopped most attacks.
For a technical reader
SecureClaw introduces a dual-boundary architecture that isolates sensitive data reads and authorizes state-changing writes. Sensitive reads are transformed into opaque handles or bounded summaries via a trusted gateway, preventing direct exposure. Writes follow a PREVIEW→COMMIT protocol where a trusted executor validates and commits only authorized requests. The runtime operates on symbolic references, eliminating direct secret dereferencing and side effects. Evaluations on AgentDojo, AgentLeak, and ASB show near-zero attack success rates while preserving task utility.
Problem
LLM agents that use tools are vulnerable to unauthorized external actions and leakage of sensitive data before output checks. Existing defenses protect only one boundary, leaving agents insecure on both fronts.
Method
The approach separates authorization and data confinement by placing an effect sink for writes and a read gateway for sensitive data. Sensitive reads are transformed into opaque handles or bounded summaries, while writes follow a preview-commit protocol enforced by a trusted executor. The runtime operates only on summaries and symbolic references, preventing direct secret access or side effects.
Results
The approach achieves 0% attack success rate on ASB, 0.64% on AgentDojo, and 3.23% overall leak on AgentLeak's parity lane while preserving task utility.
Contributions
The paper proposes a dual-boundary architecture that simultaneously secures both read and write operations of LLM agents, and provides a unified evaluation harness covering three benchmark suites.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction