clawdefender

Scan AI skills for malware and block prompt injection with JSON output.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/okbest2024/openclaw-backup --skill clawdefender-okbest2024
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clawdefender
Source: https://github.com/okbest2024/openclaw-backup/tree/main/workspace/skills/clawdefender-1
Command: npx skills add https://github.com/okbest2024/openclaw-backup --skill clawdefender-okbest2024

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

Audits AI agent skills, sanitizes external input, and blocks prompt injection and related threats to prevent unsafe behavior in untrusted data.

Core Features & Use Cases

  • Full security audits of installed skills and scripts for malware and unsafe patterns.
  • Input sanitization and prompt-injection protection for external data sources.
  • URL validation and data-exfiltration guards to prevent SSRF and data leakage.
  • Use Case: Before processing untrusted data (emails, API responses), run ClawDefender to sanitize and audit.

Quick Start

Run a full security audit of installed skills and sanitize external input before processing data.

Frequently Asked Questions about clawdefender

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent prompt injection when processing untrusted external data in AI agents?

To prevent prompt injection, you scan external data sources to sanitize inputs and block unsafe AI behavior. This process detects malicious patterns, assigns configurable severity scores, and enforces safety by blocking or warning based on the highest detected threat score.

How do I audit installed AI agent skills for malware and unsafe patterns?

Auditing installed AI agent skills for malware involves running a full security scan that checks scripts for unsafe patterns. The audit identifies credential exfiltration, command injection, and path traversal risks, reporting findings via a JSON output for automation.

Can I use jq to parse JSON security audit reports from AI skill scans?

Yes, jq is required to parse JSON security audit reports. The scanning mechanism exposes a JSON output for automation, allowing you to programmatically extract and process detected threat findings, severity scores, and safety enforcement results.

What is the best way to block SSRF and data exfiltration in AI workflows?

Blocking SSRF and data exfiltration requires validating URLs and scanning external inputs before processing. This pattern-based detection method identifies unauthorized network requests and credential leakage, enforcing blocks or warnings based on configurable severity scores.

Does AI safety scanning work during skill installation or only when processing inputs?

AI safety scanning works during skill installation and input processing. It can be invoked to audit newly installed skills for malware or to sanitize real-time external data, ensuring continuous protection against command injection and prompt injection threats.