gsep_scan_output
Scans LLM output for behavioral infection from indirect prompt injection, detecting system prompt leakage, role confusion, and data exfiltration patterns.
Instructions
Scan LLM output with C4 Behavioral Immune System (6 checks). Detects if the response was infected by Indirect Prompt Injection — system prompt leakage, role confusion, data exfiltration patterns, and more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | LLM response to scan for behavioral infection or manipulation | |
| genome_id | No | Genome ID | gsep-scanner |
| user_input | No | Original user input (for context matching) |