Agent skill
security/threat-model
Threat Modeling security skill
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/security/securitythreat-model-mgreenly-ikigai
SKILL.md
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?
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?