threat-mitigation-mapping — скилл для Claude Code
Связывает выявленные угрозы с мерами защиты и помогает составить план устранения рисков. Подойдёт для проверки покрытия контролями.
/plugin marketplace add wshobson/agents
/plugin install security-scanning@claude-code-workflowsЧто делает threat-mitigation-mapping
Скилл раскладывает угрозы по подходящим мерам защиты и помогает планировать работу с рисками. Он пригодится при выборе приоритетов для вложений в безопасность, подготовке плана устранения проблем и проверке того, насколько хорошо работают существующие контроли.
В основе три типа контролей: превентивные, детективные и корректирующие. Они рассматриваются на сетевом, прикладном, дата-, endpoint- и процессном уровнях. Такой разбор помогает выстроить defense in depth, не полагаться на одну защиту и учитывать тестирование, стоимость и регулярный пересмотр. Шаблоны и подробные примеры находятся в references/details.md.
Ставьте его, если вам нужно оформить анализ угроз в понятную карту мер и план действий. Для простой разовой проверки одного контроля скилл избыточен.
Какие задачи решает
- сопоставить угрозы с мерами защиты
- расставить приоритеты для вложений в безопасность
- составить план устранения рисков
- проверить покрытие контролями
- выстроить защиту по нескольким уровням
Примеры запросов агенту
- Сопоставь выявленные угрозы с превентивными, детективными и корректирующими контролями.
- Проверь покрытие контролями по сетевому, прикладному и дата-уровням.
- Составь план устранения рисков и укажи критические пробелы, используя шаблоны из `references/details.md`.
Как установить threat-mitigation-mapping
1Через маркетплейс плагинов
/plugin marketplace add wshobson/agents/plugin install security-scanning@claude-code-workflows2Через Skills CLI (Vercel)
npx skills add wshobson/agents --skill threat-mitigation-mapping -a claude-code3Вручную: положить файлы
~/.claude/skills/threat-mitigation-mapping/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/threat-mitigation-mapping/
1Через Skills CLI (Vercel)
npx skills add wshobson/agents --skill threat-mitigation-mapping -a codex2Вручную: положить файлы
.agents/skills/threat-mitigation-mapping/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add wshobson/agents --skill threat-mitigation-mapping -a cursor2Вручную: положить файлы
.cursor/skills/threat-mitigation-mapping/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install wshobson/agents threat-mitigation-mapping2Вручную: положить файлы
.github/skills/threat-mitigation-mapping/SKILL.mdКомандой платформы
gemini skills install https://github.com/wshobson/agents --path plugins/security-scanning/skills/threat-mitigation-mappingВручную: положить файлы
.devin/skills/threat-mitigation-mapping/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Похожие
Вопросы о threat-mitigation-mapping
Как установить threat-mitigation-mapping в Claude Code?
Выполните npx skills add wshobson/agents --skill threat-mitigation-mapping -a claude-code. Файл скилла появится в ~/.claude/skills/threat-mitigation-mapping/SKILL.md.
Что делает threat-mitigation-mapping?
Скилл связывает угрозы с мерами защиты, группирует их по типам и уровням контроля, а затем помогает подготовить план устранения рисков и проверки покрытия.
С какими платформами работает threat-mitigation-mapping?
Скилл предназначен для Claude Code, Codex и Cursor. Подробные шаблоны и примеры для анализа находятся в references/details.md.
Исходный текст
SKILL.md · MIT
---
name: threat-mitigation-mapping
description: Map identified threats to appropriate security controls and mitigations. Use when prioritizing security investments, creating remediation plans, or validating control effectiveness.
---
# 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
© Seth Hobson · MIT · wshobson/agents