threat-mitigation-mapping
它能做什么
这个工具可以把安全威胁与应对它们的防护措施(控制手段)对应起来。它会把这些防护措施按类别和层级整理,便于更有效地规划安全工作。
适用场景
- ✓决定在哪些方面投入安全资源时。
- ✓规划如何修复安全弱点时。
- ✓检查现有防护措施是否足够时。
技能链接
https://github.com/wshobson/agents/blob/main/plugins/security-scanning/skills/threat-mitigation-mapping/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我应该使用哪些安全控制手段来防范网络钓鱼攻击?”
每周 5 个新技能,1 分钟读完。
工作原理
工具会把已知威胁映射到控制类型(预防性、检测性、纠正性)和层级(网络、应用、数据等)。这样可以确保每种威胁都有多层防御覆盖。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Threat Mitigation Mapping
Connect threats to controls for effective security planning.
When to Use This Skill
- Prioritizing security investments
- Creating remediation roadmaps
- Validating control coverage
- Designing defense-in-depth
- Security architecture review
- Risk treatment planning
Core Concepts
1. Control Categories
Preventive ────► Stop attacks before they occur
│ (Firewall, Input validation)
│
Detective ─────► Identify attacks in progress
│ (IDS, Log monitoring)
│
Corrective ────► Respond and recover from attacks
(Incident response, Backup restore)
2. Control Layers
| Layer | Examples |
|---|---|
| Network | Firewall, WAF, DDoS protection |
| Application | Input validation, authentication |
| Data | Encryption, access controls |
| Endpoint | EDR, patch management |
| Process | Security training, incident response |
3. Defense in Depth
┌──────────────────────┐
│ Perimeter │ ← Firewall, WAF
│ ┌──────────────┐ │
│ │ Network │ │ ← Segmentation, IDS
│ │ ┌────────┐ │ │
│ │ │ Host │ │ │ ← EDR, Hardening
│ │ │ ┌────┐ │ │ │
│ │ │ │App │ │ │ │ ← Auth, Validation
│ │ │ │Data│ │ │ │ ← Encryption
│ │ │ └────┘ │ │ │
│ │ └────────┘ │ │
│ └──────────────┘ │
└──────────────────────┘
Templates and detailed worked examples
Full template library and detailed mitigation/control mappings live in references/details.md. Read that file when you need the concrete templates for: Mitigation Model, Defense in Depth scoring, Executive Summary scaffolding, Critical Gaps reporting, Recommendations, Implementation Roadmap, Results by Control.
Best Practices
Do's
- Map all threats - No threat should be unmapped
- Layer controls - Defense in depth is essential
- Mix control types - Preventive, detective, corrective
- Track effectiveness - Measure and improve
- Review regularly - Controls degrade over time
Don'ts
- Don't rely on single controls - Single points of failure
- Don't ignore cost - ROI matters
- Don't skip testing - Untested controls may fail
- Don't set and forget - Continuous improvement
- Don't ignore people/process - Technology alone isn't enough
常见问题
预防性、检测性和纠正性控制有什么区别?
预防性控制用于阻止攻击,检测性控制用于在攻击发生时将其识别出来,纠正性控制则在攻击之后采取行动,以减少损失。
什么是控制层级?
这是指安全措施所作用的不同层面,例如网络、应用程序、数据或用户设备。
什么是“纵深防御”?
这是一种多层安全理念,就像洋葱一样层层防护,这样即使某一层失效,其他层仍能保护系统。
详情
作者的原始描述
Map identified threats to appropriate security controls and mitigations. Use when prioritizing security investments, creating remediation plans, or validating control effectiveness.
repo: wshobson/agents
热度
- GitHub 星标
- 41k
- 排名
- #6782
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …