為新功能產出 STRIDE 威脅模型
何時使用: 當功能涉及使用者資料、驗證機制或外部網路時,在設計審查階段使用。
步驟
-
梳理系統架構Use security-skills. Here's the design for [feature]. Enumerate trust boundaries and data flows.✓ 已複製→ 已命名的信任邊界與明確的資料流向
-
套用 STRIDEFor each boundary, call out Spoofing, Tampering, Repudiation, Info Disclosure, DoS, Elevation risks.✓ 已複製→ 附有威脅評分的表格,而非泛泛的「請考慮 XSS」
-
提出緩解措施Rank the threats by likelihood * impact and propose concrete mitigations for the top 5.✓ 已複製→ 具體的控制措施(速率限制、簽署請求、稽核日誌)
結果: 一份可直接用於資安審查會議的威脅模型文件。
注意事項
- STRIDE 淪為形式上的勾選清單 — 要求提供具體的攻擊者情境 — 「具備 X 能力的攻擊者想達成 Y,採取 Z 行動」
搭配使用: filesystem