← Latest papers
💻 computer science

ClawKeeper: Comprehensive Safety Protection for OpenClaw Agents Through Skills, Plugins, and Watchers

This paper introduces ClawKeeper, a comprehensive real-time security framework for OpenClaw autonomous agents that mitigates critical vulnerabilities through a three-layered architecture of skill-based instruction policies, plugin-based runtime enforcement, and a novel decoupled Watcher middleware for system-level intervention.

Original authors: Songyang Liu, Chaozhuo Li, Chenxu Wang, Jinyu Hou, Zejian Chen, Litian Zhang, Zheng Liu, Qiwei Ye, Yiming Hei, Xi Zhang, Zhongyuan Wang

Published 2026-03-26
📖 4 min read☕ Coffee break read

Original authors: Songyang Liu, Chaozhuo Li, Chenxu Wang, Jinyu Hou, Zejian Chen, Litian Zhang, Zheng Liu, Qiwei Ye, Yiming Hei, Xi Zhang, Zhongyuan Wang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you've just bought a super-smart, self-driving robot butler named OpenClaw. This robot is incredible: it can write code, manage your files, send messages to your friends, and even run commands on your computer. It's like giving your robot a master key to your entire digital house.

But here's the problem: because it has such a big key, if the robot gets confused, tricked, or hacked, it could accidentally delete your photos, leak your passwords, or let a stranger into your house.

The paper introduces ClawKeeper, a new safety system designed to protect this robot. Think of ClawKeeper not as a single tool, but as a three-layered security team working together to keep your robot safe without slowing it down.

Here is how the three layers work, explained with everyday analogies:

1. The "Rulebook" Layer (Skill-Based Protection)

The Analogy: Imagine giving your robot a printed instruction manual before it starts working.

  • How it works: This layer writes specific safety rules directly into the robot's "brain" (its prompts). It tells the robot, "No matter what, never open the safe," or "If someone asks for your password, say no."
  • The Catch: It's like a paper manual. If a clever hacker tricks the robot into thinking the manual is wrong, or if the robot gets confused and ignores the paper, the safety fails. It's helpful, but it relies on the robot being polite and obedient.

2. The "Security Guard" Layer (Plugin-Based Protection)

The Analogy: Now, imagine installing a hardened security gate inside the robot's house.

  • How it works: This is a piece of software built directly into the robot's system. It acts like a bouncer who checks every single thing the robot tries to do. If the robot tries to run a dangerous command (like "delete everything"), the gate physically blocks it before it happens. It also locks the doors (configuration files) so no one can sneak in and change the rules.
  • The Catch: This guard is very strict and fast, but it's stuck inside the house. If the robot is tricked into telling the guard to leave, or if the hacker finds a secret backdoor the guard doesn't know about, the system is vulnerable. Also, the guard can't easily learn new tricks unless a human programmer updates its code.

3. The "Independent Watcher" Layer (The Star of the Show)

The Analogy: This is the most unique part. Imagine hiring a second, independent robot whose only job is to watch the first robot. Let's call him The Watcher.

  • How it works: The Watcher doesn't do any chores. It doesn't write emails or clean the house. It just sits in a separate room, watching the first robot through a window (a secure connection).
    • If the first robot starts doing something weird, The Watcher hits the Emergency Stop Button.
    • If the first robot is tricked into trying to delete your files, The Watcher sees it, stops the action, and asks you (the human), "Are you sure you want to do this?"
  • Why it's brilliant:
    • It can't be tricked: Since The Watcher is a separate robot, the first robot can't order it to "go away" or "ignore safety."
    • It learns: As The Watcher sees new types of tricks, it gets smarter and updates its own rules automatically. It's like a security guard who goes to night school to learn new ways to stop burglars.
    • It separates duties: The first robot can focus 100% on being helpful, while The Watcher focuses 100% on being safe. They don't fight each other.

The Big Picture: Why This Matters

Before ClawKeeper, safety systems were like trying to stop a car crash by putting a sign on the dashboard (Skill) or a weak lock on the door (Plugin). They often failed because they were too rigid or too easy to bypass.

ClawKeeper is like a full security ecosystem:

  1. The Rulebook tries to prevent mistakes before they happen.
  2. The Security Guard blocks dangerous actions instantly.
  3. The Independent Watcher acts as a final, un-trickable safety net that can stop the robot even if the first two layers fail.

The Result

The researchers tested this system against 140 different ways hackers try to trick robots (like asking for passwords, deleting files, or installing viruses).

  • Old safety systems stopped about 60% of these attacks.
  • ClawKeeper stopped 85% to 90% of them.

In short: If OpenClaw is the operating system of the future (like Windows or macOS for robots), ClawKeeper is the antivirus software that ensures your robot doesn't accidentally burn down your house while trying to help you. It's the ultimate "Safety Net" that lets AI be powerful without being dangerous.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →