clawdefender
by nukewire
Clawdbot ToolsBrief
Security scanner and input sanitizer for AI agents.
Description
What This Skill Does
Security scanner and input sanitizer for AI agents. Detects prompt injection, command injection, SSRF, credential exfiltration, and path traversal across 90+ patterns. Runs as shell scripts that pipe into any agent workflow.
It runs as a standard shell pipe with no external dependencies, so it integrates into any existing agent workflow without additional configuration.
When to Use It
- Auditing all installed skills for malware before running them
- Sanitizing API responses before an agent acts on them
- Validating a URL before fetching to prevent SSRF
- Filtering GitHub issue content to block embedded injection attempts
- Blocking credential theft attempts in untrusted email content
Example Workflow
User asks: sanitize this API response before the agent processes it
- 1
Pipe the API response through sanitize.sh with the --json flag
- 2
Scanner checks content against prompt injection, command injection, and exfiltration patterns
- 3
Flagged sections are wrapped with warning markers and withheld from processing
- 4
Clean content passes through for normal agent use
Sanitized JSON ready for the agent, with suspicious sections marked and flagged to the user
Installation
clawhub install nukewire/clawdefenderRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.