← Back to Skills Marketplace
cyberxuan-xbx

Clawhub Publish

by cyber-X.B.X · GitHub ↗ · v2.1.1
cross-platform ✓ Security Clean
402
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install skill-sanitizer
Description
Scans SKILL.md files with 7 regex layers to block prompt injection, reverse shells, memory tampering, encoding evasion, and trust abuse before LLM processing.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-sanitizer
  3. After installation, invoke the skill by name or use /skill-sanitizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug skill-sanitizer
Version 2.1.1
License
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 402 downloads so far.

How do I install Clawhub Publish?

Run "/install skill-sanitizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Clawhub Publish free?

Yes, Clawhub Publish is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Clawhub Publish support?

Clawhub Publish is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Clawhub Publish?

It is built and maintained by cyber-X.B.X (@cyberxuan-xbx); the current version is v2.1.1.

💬 Comments