360 Secure SkillHub
360 安全技能中心

Openclaw Skill

该 Skill 提供 Rust 守护进程和执行脚本:在 shell 命令运行前按可配置规则校验,判定允许、沙箱化或需确认;批准的命令在 Bubblewrap 用户命名空间中以只读最小根文件系统运行,并记录决策日志、限制重复调用。仅支持 Linux。

star8592
star8592
热度 58.36
最近更新 2026-05-11 17:30:16
分类:安全依赖:代码执行 / 读写文件 / 第三方 API应用场景:自动化脚本 / DevOps / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add skillshield-openclaw
Metadata
name
skillshield
version
2.1.8
description
Sandboxed command runner for AI agents — validates and isolates every shell action inside a Bubblewrap user namespace.
metadata
{"openclaw":{"emoji":"🛡️"}}

skillshield

Sandboxed command runner for AI agents — validates and isolates every shell action inside a Bubblewrap user namespace.

SkillShield sits between your AI agent and the operating system. Before any shell command runs, a lightweight Rust daemon checks it against a set of safety rules and decides whether to allow it, sandbox it, or ask for your confirmation. Every decision is logged so you always know what happened.

What it does

  1. Validates commands — checks each shell request against configurable rules before execution.
  2. Isolates execution — runs approved commands inside a Bubblewrap sandbox with a minimal, read-only root filesystem.
  3. Limits repetition — stops agents that get stuck in a loop and start consuming too many resources.
  4. Logs decisions — every action (allowed, sandboxed, or paused for review) is recorded with structured metadata.

How to use

# Install from ClawHub
npx clawhub@latest install skillshield-openclaw

# Run a command through the safety layer
./skillshield-exec.sh "echo hello world"

Requirements

Dependency Purpose
Linux User-namespace support
bwrap Bubblewrap sandbox runtime
cargo Builds the Rust daemon on first run

Links