What problem does it solve?
This Skill helps protect AI agents from malicious or unsafe content by detecting prompt injection, command injection, SSRF/data exfiltration attempts, credential theft patterns, and path traversal indicators before the agent processes untrusted data.
Core Features & Use Cases
- Security audit for skills: Scans installed skills and workspace scripts to flag potentially dangerous patterns with severity levels.
- Universal input sanitization: Checks external text payloads (including email/calendar/API responses) for prompt-injection indicators and can wrap/label flagged content.
- URL validation to prevent SSRF/exfiltration: Detects unsafe hostnames/IP ranges and known exfiltration endpoints before fetching.
- Automation-friendly checks: Supports non-interactive validation modes such as strict failure (exit code 1) and report-only output.
Quick Start
Run a security audit by instructing your agent: execute the ClawDefender full audit command to scan all installed skills and scripts for critical and high-risk findings.