Search

PythonReactSEOPDF
OpenClaw

Skill Sanitizer

name: skill sanitizer description: "First open source AI sanitizer with local semantic detection. 7 layers + code block awareness + LLM intent analysis. Catches prompt injection, reverse shells, memory tampering, encoding evasion, trust abuse. 85% fewer false positives in v2.1. Zero cloud — your prompts stay on your machine." user invocable: true metadata: openclaw: emoji: "🧤" homepage: "https://github.com/cyberxuan XBX/skill sanitizer"

cyberxuan-xbx0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install cyberxuan-xbx/skill-sanitizer

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

name: skill-sanitizer description: "First open-source AI sanitizer with local semantic detection. 7 layers + code block awareness + LLM intent analysis. Catches prompt injection, reverse shells, memory tampering, encoding evasion, trust abuse. 85% fewer false positives in v2.1. Zero cloud — your prompts stay on your machine." user-invocable: true metadata: openclaw: emoji: "🧤" homepage: "https://github.com/cyberxuan-XBX/skill-sanitizer"

Skill Sanitizer

The first open-source AI sanitizer with local semantic detection.

Commercial AI security tools exist — they all require sending your prompts to their cloud. Your antivirus shouldn't need antivirus.

This sanitizer scans any SKILL.md content before it reaches your LLM. 7 detection layers + optional LLM semantic judgment. Zero dependencies. Zero cloud calls. Your data never leaves your machine.

Why You Need This

  • SKILL.md files are prompts written for AI to execute
  • Attackers hide ignore previous instructions in "helpful" skills
  • Base64-encoded reverse shells look like normal text
  • Names like safe-defender can contain eval(user_input)
  • Your agent doesn't know it's being attacked — it just obeys

The 7 Layers

Layer What It Catches Severity
1. Kill-String Known platform-level credential patterns (API keys, tokens) CRITICAL
2. Prompt Injection ignore previous instructions, role hijacking, system prompt override HIGH-CRITICAL
3. Suspicious Bash rm -rf /, reverse shells, pipe-to-shell, cron modification MEDIUM-CRITICAL
4. Memory Tampering Attempts to write to MEMORY.md, SOUL.md, CLAUDE.md, .env files CRITICAL
5. Context Pollution Attack patterns disguised as "examples" or "test cases" MEDIUM-HIGH
6. Trust Abuse Skill named safe-* or secure-* but contains eval(), rm -rf, chmod 777 HIGH
7. Encoding Evasion Unicode homoglyphs, base64-encoded payloads, synonym-based i...

Source information

Source
github
Repository
openclaw/skills
Path
skills/cyberxuan-xbx/skill-sanitizer
Version
—
Commit
f265073e83118034514d7b271312a39c9f6d2a00
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
name: skill-sanitizer
description: "First open-source AI sanitizer with local semantic detection. 7 layers + code block awareness + LLM intent analysis. Catches prompt injection, reverse shells, memory tampering, encoding evasion, trust abuse. 85% fewer false positives in v2.1. Zero cloud — your prompts stay on your machine."
user-invocable: true
metadata:
  openclaw:
    emoji: "🧤"
    homepage: "https://github.com/cyberxuan-XBX/skill-sanitizer"
---

# Skill Sanitizer

**The first open-source AI sanitizer with local semantic detection.**

Commercial AI security tools exist — they all require sending your prompts to their cloud. Your antivirus shouldn't need antivirus.

This sanitizer scans any SKILL.md content **before** it reaches your LLM. 7 detection layers + optional LLM semantic judgment. Zero dependencies. Zero cloud calls. Your data never leaves your machine.

## Why You Need This

- SKILL.md files are **prompts written for AI to execute**
- Attackers hide `ignore previous instructions` in "helpful" skills
- Base64-encoded reverse shells look like normal text
- Names like `safe-defender` can contain `eval(user_input)`
- Your agent doesn't know it's being attacked — it just obeys

## The 7 Layers

| Layer | What It Catches | Severity |
|-------|----------------|----------|
| 1. Kill-String | Known platform-level credential patterns (API keys, tokens) | CRITICAL |
| 2. Prompt Injection | `ignore previous instructions`, role hijacking, system prompt override | HIGH-CRITICAL |
| 3. Suspicious Bash | `rm -rf /`, reverse shells, pipe-to-shell, cron modification | MEDIUM-CRITICAL |
| 4. Memory Tampering | Attempts to write to MEMORY.md, SOUL.md, CLAUDE.md, .env files | CRITICAL |
| 5. Context Pollution | Attack patterns disguised as "examples" or "test cases" | MEDIUM-HIGH |
| 6. Trust Abuse | Skill named `safe-*` or `secure-*` but contains `eval()`, `rm -rf`, `chmod 777` | HIGH |
| 7. Encoding Evasion | Unicode homoglyphs, base64-encoded payloads, synonym-based i...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.