/llm-security:ai-threat-modelfrom llm-security
Threat model an LLM/RAG/agentic AI system by mapping prompts, data sources, tools, identities, and trust boundaries, then enumerating AI-specific threats (OWASP LLM Top 10, STRIDE) and mitigations.
Ships in llm-security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A threat model tailored to GenAI: the AI-specific trust boundaries and data flows made explicit, threats enumerated against them, and mitigations mapped — bridging classic threat modeling with the OWASP LLM Top 10.
security-diagramming:threat-model-dfd),
marking the trust boundary between trusted instructions and untrusted
content/tool output explicitly.threat-modeling:stride) AND overlay the OWASP
LLM Top 10 categories (owasp-llm-top10) — GenAI threats don't all fit
STRIDE neatly (e.g. excessive agency, misinformation).security-diagramming:attack-tree).threat-modeling:risk-rank), map mitigations.A GenAI threat model: AI DFD + threat table (element · threat · STRIDE/LLM-Top-10
ref · risk · mitigation) + top-risks summary. Use security-reporting for the
deliverable.
The decisive question for most GenAI systems: where does untrusted content gain
the ability to influence trusted actions? Find every such crossing and constrain
it. For RAG-heavy or agent-heavy systems, the rag-security / agentic-ai-security
plugins go deeper.
This is a security threat model (attacker-driven). It does not cover AI
safety — harm to users/society without an attacker (harmful content, bias,
reliability, misuse). For that, run ai-safety:harm-modeling alongside this.
For multi-agent/agentic systems, also consider threat-modeling:maestro (CSA's
agent-native threat-modeling layers) alongside STRIDE.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/owasp-llm-top10Assess an LLM-backed application against the OWASP Top 10 for LLM Applications, producing a per-category finding set with severity and mitigations. Use when reviewing a chatbot, copilot, RAG app, or any feature built on an LLM./prompt-injection-testTest an LLM feature for direct and indirect prompt injection using a structured payload set, then record what succeeded and how to mitigate it. Use when assessing a chatbot, copilot, RAG app, or agent for input-handling weaknesses. Authorized testing only.npx claudepluginhub jassics/awesome-claude-security --plugin llm-securityOther plugins' skills for the same job