securitythreat-model
Threat Modeling security skill
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
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?
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!