Claude Code Plugins

Community-maintained marketplace

Feedback

security/threat-model

@mgreenly/ikigai
1
0

Threat Modeling security skill

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name security/threat-model
description Threat Modeling security skill

Threat Modeling

Identify attack surface, enumerate threats, prioritize mitigations before writing code.

Process for Planned Work

1. Identify assets:

  • What are we protecting? (API keys, conversation history, user data)
  • What would attacker want? (credentials, code execution, data exfil)

2. Enumerate entry points:

  • User input (terminal, config, environment)
  • Network (LLM API responses)
  • Filesystem (config files, database)

3. Apply STRIDE per entry point:

  • Spoofing: Can attacker impersonate?
  • Tampering: Can attacker modify data?
  • Repudiation: Can actions be denied?
  • Information disclosure: Can secrets leak?
  • Denial of service: Can availability be impacted?
  • Elevation of privilege: Can attacker gain capabilities?

4. Prioritize:

  • Likelihood × Impact = Risk
  • Address high-risk items first
  • Document accepted risks

For new features ask:

  • What new entry points does this create?
  • What can go wrong if input is malicious?
  • What's the blast radius if this component is compromised?