界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
设计与创意 · SKILL.md

threat-modeling

threat-modeling

【设计与创意】Perform threat modeling using the STRIDE methodology and security-by-design principles before coding.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: threat-modeling description: Perform threat modeling using the STRIDE methodology and security-by-design principles before coding.

Threat Modeling (STRIDE)

Identify and mitigate architectural security flaws during the design phase, before any code is written.

Methodology: STRIDE

  • Spoofing: Impersonating something or someone else. (Mitigation: Strong Authentication)
  • Tampering: Modifying data or code. (Mitigation: Integrity checks, TLS)
  • Repudiation: Claiming to have not performed an action. (Mitigation: Secure Logging, Auditing)
  • Information Disclosure: Exposing information to unauthorized users. (Mitigation: Encryption at rest/transit)
  • Denial of Service: Denying or degrading service to users. (Mitigation: Rate limiting, WAF)
  • Elevation of Privilege: Gaining capabilities without proper authorization. (Mitigation: RBAC, Least Privilege)

Threat Modeling Process

%%{init: {"theme": "default", "flowchart": {"useMaxWidth": true}}}%%
graph TD
    A[Decompose Application] --> B[Identify Threats]
    B --> C[Determine Mitigations]
    C --> D[Validate]
    B -.-> E((STRIDE))

Security-by-Design Checklist

  • Data flow diagrams (DFDs) created for all trust boundaries.
  • Authentication and Authorization defined at every entry point.
  • Secrets management strategy established (no hardcoded credentials).
  • Input validation and output encoding strictly enforced.
我的收藏