Skip to content
Skillpedia
Security41k Β· #6782

threat-mitigation-mapping

What it does

This tool helps connect security threats with the right protections (controls) to address them. It organizes these protections into categories and layers for more effective security planning.

When to use it

  • βœ“When deciding where to invest in security.
  • βœ“When planning how to fix security weaknesses.
  • βœ“When checking if current protections are sufficient.

Skill link

https://github.com/wshobson/agents/blob/main/plugins/security-scanning/skills/threat-mitigation-mapping/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/security-scanning/skills/threat-mitigation-mapping/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œWhat security controls should I use to protect against phishing attacks?”

5 new skills a week. 1 minute to read.

How it works

The tool maps known threats to control types (preventive, detective, corrective) and layers (network, application, data, etc.). This helps ensure all threats are covered by multiple layers of defense.

Technical content (original SKILL.md)

Original text by the author, straight from 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
FAQ

What are preventive, detective, and corrective controls?

Preventive controls stop attacks, detective controls identify them as they happen, and corrective controls act after an attack to minimize damage.

What are control layers?

These are different levels where security is applied, such as the network, applications, data, or user devices.

What is 'Defense in Depth'?

It's the idea of using multiple layers of security, like an onion, so that if one fails, others still protect the system.

Details

Original description by the author

Map identified threats to appropriate security controls and mitigations. Use when prioritizing security investments, creating remediation plans, or validating control effectiveness.

repo: wshobson/agents

Popularity

GitHub stars
41k
Ranking position
#6782
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills