What problem does it solve? LLM applications that process untrusted user input or fetch external data are vulnerable to prompt injection and jailbreak attacks that can override system prompts, leak instructions, or trigger unauthorized tool calls. This Skill provides concrete mitigation patterns to defend against both direct and indirect injection. ## Core Features & Use Cases - Delimiter Sandboxing: Isolate user input inside XML tags or randomized nonce delimiters so the model treats it as data, not instructions. - Dual-Model Filter Pattern: Use a fast, cheap model as a security scanner to classify input as SAFE or MALICIOUS before it reaches the main agent. - Least-Privilege Tooling: Restrict database permissions to read-only and require human approval gates for state-changing function calls like delete_user or process_payment. - Use Case: When building a chatbot that summarizes user-uploaded PDFs, apply indirect injection defenses so a poisoned document cannot hijack the assistant into executing malicious function calls. ## Quick Start Review my LLM prompt construction code and apply prompt injection defenses including XML delimiter sandboxing and output validation.