scan_text
Analyze text for prompt injection, jailbreak attempts, data exfiltration, and social engineering threats using 42+ detection patterns to identify AI security risks.
Instructions
Scan text for prompt injection and security threats.
Analyzes the provided text using ClawGuard Shield's 42+ detection patterns to identify prompt injection attacks, jailbreak attempts, data exfiltration, social engineering, and other AI security threats.
Returns a scan result with:
is_clean: whether the text is safe
risk_score: threat level from 0 (safe) to 10 (critical)
severity: NONE, LOW, MEDIUM, HIGH, or CRITICAL
findings: list of detected threats with pattern names and descriptions
scan_id: unique identifier for this scan
Args: text: The text to scan for security threats. source: Optional source identifier for tracking (default: "mcp").
Returns: Scan result with clean/dirty status, risk score, and findings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| source | No | mcp |