Skip to content
Cisco AI Defense logo
CiscoAI Security

ClawShield — DefenseClaw

Overview

ClawShield is a family of built-in Go scanners under internal/scanner/. Each scanner implements the common scanner interface and supports skill and code targets. These scanners inspect readable content for injection, malware, PII, secrets, and vulnerability patterns.

What it scans

ScannerSource fileTargets
clawshield-injectioninternal/scanner/clawshield_injection.goskill, code
clawshield-malwareinternal/scanner/clawshield_malware.goskill, code
clawshield-piiinternal/scanner/clawshield_pii.goskill, code
clawshield-secretsinternal/scanner/clawshield_secrets.goskill, code
clawshield-vulninternal/scanner/clawshield_vuln.goskill, code

Detection categories

CategoryFindings prefixPurpose
Injectionclawshield-injectionPrompt-injection and instruction-override patterns
Malwareclawshield-malwareReverse shell, credential harvesting, mining, C2, suspicious magic bytes, and high-entropy content
PIIclawshield-piiCredit cards, SSNs, emails, phone numbers, dates of birth, passport-style IDs, and related patterns
Secretsclawshield-secretsProvider keys and token-shaped secrets
Vulnerabilitiesclawshield-vulnSQLi, SSRF, path traversal, command injection, and XSS patterns

CLI

There is no ClawShield command group in the current Python CLI. For a source-code scan exposed through the public gateway CLI, use CodeGuard:

defenseclaw-gateway scan code ./src --json

Related