wshobson avatar

Threat Mitigation Mapping

Maps security threats to specific controls with surprising depth. Creates structured mitigation plans that identify coverage gaps, missing defense-in-depth layers, and control diversity issues. The dataclass templates handle everything from calculating coverage scores based on implementation status to flagging threats with insufficient protection. Perfect when you're turning a messy threat model into an actionable security roadmap or need to justify budget for specific controls. The gap analysis alone saves hours of manual review, and the control library gives you a solid foundation instead of starting from scratch.

skills.sh installs
21.2K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add wshobson/agents --skill threat-mitigation-mapping --agent claude-code

Installs into .claude/skills of the current project.

Files

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

LayerExamples
NetworkFirewall, WAF, DDoS protection
ApplicationInput validation, authentication
DataEncryption, access controls
EndpointEDR, patch management
ProcessSecurity training, incident response

3. Defense in Depth

Sponsors

Details

Repository
github.com/wshobson/agents
Category
Security

More from wshobson/agents

All 174

Recommended

More Security
1insforge avatarinsforgeinsforge/agent-skillsClient-side SDK for database queries, authentication, file uploads, AI features, real-time messaging, and edge function invocation.19.4Kskills.sh installs
2clerk avatarclerk-chrome-extension-patternsclerk/skillsChrome Extension auth with @clerk/chrome-extension -- popup/sidepanel setup, syncHost for OAuth/SAML via web app, createClerkClient for service workers and head14.9Kskills.sh installs
3wshobson avatark8s-manifest-generatorwshobson/agentsCreate production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards. Use when genera11.6Kskills.sh installs
4github avatarai-prompt-engineering-safety-reviewgithub/awesome-copilotComprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while p10.4Kskills.sh installs
5anthropics avatarcode-reviewanthropics/knowledge-work-pluginsReview code changes for security, performance, and correctness. Trigger with a PR URL or diff, "review this before I merge", "is this code safe?", or when check10.1Kskills.sh installs
6deckardger avatartanstack-start-best-practicesdeckardger/tanstack-agent-skillsTanStack Start best practices for full-stack React applications. Server functions, middleware, SSR, authentication, and deployment patterns. Activate when build9.9Kskills.sh installs