What problem does it solve? LLM-powered applications face unique threats like prompt injection, RAG poisoning, MCP tool rug-pulls, and rogue agent behavior that traditional application security does not cover. This Skill provides domain knowledge and production code patterns to defend probabilistic AI components against these attacks. ## Core Features & Use Cases - Prompt Injection Defense: Input sanitization, XML tag isolation, canary tokens for leak detection, and output monitoring aligned with OWASP LLM01. - RAG & Context Security: PII redaction with Presidio, embedding anomaly detection, and HMAC-signed context provenance verification. - MCP Hardening: Server allowlisting, manifest hash pinning, OAuth 2.1 token guidance, and validation middleware against tool poisoning and rug-pull attacks. - Agentic Defenses: WASM sandboxed execution, circuit breakers, human approval gates, kill switches, and append-only audit ledgers mapped to the OWASP Agentic Top 10. - Use Case: When building an agent that calls MCP tools and retrieves documents via RAG, apply this Skill to validate every tool call with Pydantic/Zod schemas, sign retrieved context, and gate destructive actions behind human approval. ## Quick Start Review my agent's tool-calling and RAG pipeline code and apply the prompt injection and MCP security controls from this Skill.