ai-app-hardening
Installation
SKILL.md
AI Application Hardening & Indirect Prompt Injection Defense
Mandatory Pre-Flight Context Inspection
Before deploying AI features:
- Indirect Prompt Injection Defense → Sanitize third-party content (scraped URLs, PDF imports, RAG docs) before feeding to LLMs
- XML Delimiter Sandboxing → Enclose user/external inputs inside
<external_context>and instruct model to ignore instructions within - Insecure Output Handling (OWASP LLM02) → Escape HTML/script tags on all rendered model outputs
Activation Boundaries
- Activate when: Operating in tasks requiring OWASP Top 10 for LLMs (2026), prompt injection defense, model output sanitization, indirect injection defense, and automated SBOM dependency security..
- DO NOT activate when: The task falls strictly outside ai-app-hardening domain or belongs to a different dedicated specialist.