What problem does it solve?
AI agents that accept user prompts can be manipulated by direct prompt injection, where a user message tries to override system or developer instructions, leak hidden prompts, or hijack the agent's goals. This Skill provides a structured testing procedure to identify whether an agent is vulnerable to such direct instruction-override attacks.
Core Features & Use Cases
- Role Override Probes: Sends direct override attempts (e.g., "Ignore all previous instructions") to test whether the agent reveals system or developer messages.
- Goal Hijack Marker Test: Uses a marker string like DIRECT_SUCCESS to detect whether the agent follows injected instructions when direct probes are blocked.
- Structured Vulnerability Reporting: Emits confirmed findings as XML <vuln> blocks with evidence, risk type, severity level, remediation suggestions, and the full conversation transcript.
- Use Case: A security engineer red-teams a customer support chatbot by running these probes to confirm the bot refuses to leak its system prompt before deployment.
Quick Start
Test this agent for direct prompt injection vulnerabilities using the direct-injection-detection skill and report any confirmed findings.