SKILL

threat-modeling

Works out what could go wrong in a system's design before it is built — who would attack it, how, and which defences are worth having. Use this whenever the user is designing a system that handles sensitive data, money, or authentication, asks what the security risks are, mentions threat modeling or STRIDE, or is starting a feature with a meaningful attack surface. This is design-time and systematic; for finding vulnerabilities in code that exists, use security-analysis.

原文 · 译文尚未补齐

适用对象:设计与内容创作。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Threat modeling
  • 1. Draw the system and mark the trust boundaries
  • 2. Name the attackers and what they want
  • 3. Walk each element with a prompt list
  • 4. Prioritise by reachability and impact
  • 5. Prefer structural mitigations
  • 6. Write it down briefly, and revisit it
  • Report

Threat modeling asks what could go wrong here while the answer is still cheap to act on. Code review finds the bug you wrote; threat modeling finds the defence you never designed. Four questions structure the whole exercise: 1. What are we building? 2. What can go wrong? 3. What are we going to do about it? 4. Did we do a good enough job? The output is a short list of decisions, not a risk register nobody reads. You cannot reason about attacks without knowing where untrusted things meet trusted things. Sketch: the components, the data flows between them, the datastores, and — most importantly — the trust boundaries those flows cross. A boundary is anywhere the level of trust changes: internet to your edge, your service to a third party, one tenant's data to another's, user to admin. Keep it to one diagram someone can hold in their head. See diagramming. Done when: every trust boundary in the design is marked. Generic "hackers" produces generic mitigations. Be specific about who and why: An anonymous internet user: the largest population, lowest capability A legitimate user acting maliciously: has valid credentials. Most under-modelled, and the source of most real access-control fai

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
OKHP3/skillz
源文件
community/threat-modeling/SKILL.md
固定版本
7b187777d42ab7bc7bab1e5f2c940cd3139ecebf
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:OKHP3/skillz · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T10:00:54.396Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。