clawdefender
由 nukewire 提供
Clawdbot Tools简介
Security scanner and input sanitizer for AI agents.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
安装
clawhub install nukewire/clawdefender运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。