360 Secure SkillHub
360 安全技能中心

Openclaw Skill

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

分类:安全
star8592
star8592
热度 44.75
最近更新 2026-05-11 17:30:16

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add star8592/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