← 返回 Skills 市场
Clawhub Publish
作者
cyber-X.B.X
· GitHub ↗
· v2.1.1
402
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install skill-sanitizer
功能描述
Scans SKILL.md files with 7 regex layers to block prompt injection, reverse shells, memory tampering, encoding evasion, and trust abuse before LLM processing.
安全使用建议
This skill is internally consistent with being a local SKILL.md sanitizer: it has no network calls, no required credentials, and a single Python file using only standard library modules. Before installing or running it: 1) verify the source (registry metadata shows 'source: unknown' and no homepage in the registry entry—prefer a published repository or checksum), 2) inspect the full python file yourself (or run it in a sandbox) to confirm there are no hidden network calls in parts of the file you haven't read (the provided file is truncated in the listing), 3) if you enable semantic analysis, understand that requires a local Ollama instance and local model usage, and 4) be aware the SKILL.md intentionally includes injection examples (they will trigger the scanner). If you need higher assurance, obtain the code from an authoritative repo, verify a signed release or checksum, and run the built-in test suite locally.
功能分析
Type: OpenClaw Skill
Name: skill-sanitizer
Version: 2.1.1
The OpenClaw AgentSkills skill bundle 'skill-sanitizer' is designed to detect malicious patterns in other skills, not to perform malicious actions itself. The `SKILL.md` clearly outlines the types of attacks it aims to prevent (e.g., prompt injection, reverse shells, memory tampering) and provides examples of such malicious content as illustrations for detection, not as instructions for the agent. The `skill_sanitizer.py` code implements robust, local, and dependency-free detection logic using regex, unicode normalization, and base64 decoding to identify harmful patterns. There is no evidence of data exfiltration, persistence mechanisms, unauthorized remote control, or any other malicious intent within the sanitizer's own code or instructions.
能力评估
Purpose & Capability
The SKILL.md and Python scanner implement a 7-layer sanitizer as described and require no credentials or external services for basic operation. Minor inconsistency: the top-line name in the registry metadata is shown as "Clawhub Publish" while the skill's slug and SKILL.md call it "skill-sanitizer" — likely a packaging/label mismatch but worth verifying.
Instruction Scope
SKILL.md instructions are narrowly scoped: run sanitize_skill on SKILL.md content or use the CLI to scan/test. The document intentionally contains example injection strings (e.g., 'ignore previous instructions') for demonstration; those are expected and not evidence of exfiltration. An optional semantic mode references a local Ollama model — that is explicitly noted and would require a local service if enabled.
Install Mechanism
No install spec; the package is instruction-first with a single Python file using only standard library modules (unicodedata, re, base64, etc.). No downloads, no external package installs are declared.
Credentials
The skill requests no environment variables, no credentials, and the code only scans for references to common env var names (Anthropic/OpenAI/AWS/etc.) as detection signals—not to read them. Declared requirements are proportionate to the stated purpose.
Persistence & Privilege
Skill is not always-enabled and is user-invocable. There is no evidence it writes persistent agent configuration or requests elevated OS privileges. The code does logging/return of findings but not system-wide changes.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skill-sanitizer - 安装完成后,直接呼叫该 Skill 的名称或使用
/skill-sanitizer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.1
v2.1: code block awareness, 85% fewer false positives, 15 test vectors
v2.1.0
Position as first open-source AI sanitizer with local semantic detection. Updated README and SKILL.md.
v2.0.1
Fix homepage URL to correct GitHub account
v2.0.0
7-layer SKILL.md scanner. Zero dependencies. Zero cloud. Pure regex.
元数据
常见问题
Clawhub Publish 是什么?
Scans SKILL.md files with 7 regex layers to block prompt injection, reverse shells, memory tampering, encoding evasion, and trust abuse before LLM processing. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 402 次。
如何安装 Clawhub Publish?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install skill-sanitizer」即可一键安装,无需额外配置。
Clawhub Publish 是免费的吗?
是的,Clawhub Publish 完全免费(开源免费),可自由下载、安装和使用。
Clawhub Publish 支持哪些平台?
Clawhub Publish 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clawhub Publish?
由 cyber-X.B.X(@cyberxuan-xbx)开发并维护,当前版本 v2.1.1。
推荐 Skills