threat-modeling
/threat-modeling
Prowadzi modelowanie zagrożeń systemu: zakres, diagramy przepływu danych, analizę STRIDE i przekształca środki zaradcze w zadania oraz testy.
- Autor
- bobmatnyc ↗
- Repozytorium
- claude-mpm-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 18.07.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 5
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 18.07.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Prowadzi modelowanie zagrożeń systemu: zakres, diagramy przepływu danych, analizę STRIDE i przekształca środki zaradcze w zadania oraz testy.
Oryginalny opis (EN)
Threat modeling workflow for software systems: scope, data flow diagrams, STRIDE analysis, risk scoring, and turning mitigations into backlog and tests. Use when designing new features, reviewing architecture changes, handling sensitive data, or hardening auth/payment/multi-tenant flows.
Jak działa
- Workflow
- Example: Threat Register Row
- Validation Checkpoint
- Outputs (Definition of Done)
- Load Next (References)
Podgląd SKILL.md
---
name: threat-modeling
description: "Threat modeling workflow for software systems: scope, data flow diagrams, STRIDE analysis, risk scoring, and turning mitigations into backlog and tests. Use when designing new features, reviewing architecture changes, handling sensitive data, or hardening auth/payment/multi-tenant flows."
user-invocable: false
disable-model-invocation: true
version: 1.0.0
category: universal
author: Claude MPM Team
license: MIT
progressive_disclosure:
entry_point:
summary: "Run a lightweight threat modeling workshop (STRIDE) and turn risks into concrete mitigations, tests, and PR checks"
when_to_use: "When designing new features, reviewing architecture changes, handling sensitive data, or hardening auth/payment/multi-tenant flows"
quick_start: "1. Define scope/assets 2. Draw data flows + trust boundaries 3. STRIDE per element 4. Score + prioritize 5. Track mitigations + tests"
token_estimate:
entry: 150
full: 8000
context_limit: 900
tags:
- security
- threat-modeling
- stride
- architecture
- risk
requires_tools: []
---
# Threat Modeling (STRIDE)
## Workflow
1. **Scope** — Identify the system boundary, assets (PII, credentials, payments), and availability requirements (SLO/SLA).
2. **Data Flow Diagram** — Map actors, entry points, data stores, and external dependencies. Mark trust boundaries (public internet → edge → internal → database → third-party).
3. **STRIDE per element** — For each element in the diagram, walk through all six STRIDE categories (Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege) and record threats.
4. **Risk score** — Rate each threat by Impact (Low/Med/High) and Likelihood (Low/Med/High). Prioritize High-impact + Med/High-likelihood items first.
5. **Mitigate** — Convert each prioritized threat into engineering tasks, verification tasks (tests, alerts), and operational controls (runbooks, access reviews).
6. **Tickets and tests** — Create backlog items for mitigations and add abuse-case tests for critical flows. Add PR checklist items for ongoing verification.
## Example: Threat Register Row
| Element | STRIDE | Threat | Impact | Likelihood | Mitigation | Owner | Status |
|---------|--------|--------|--------|------------|------------|-------|--------|
| API Gateway | Spoofing | Stolen JWT reuse after session revocation | High | Med | Short-lived tokens (15 min TTL), refresh rotation, revocation list check on each request | Security | Open |
This single row drives three artifacts: an engineering ticket (implement revocation-list middleware), a test (verify revoked token returns 401 within TTL window), and a PR checklist item (authz checks for new endpoints).
## Validation Checkpoint
Before finalizing, verify completeness:
- [ ] Every element in the data flow diagram has at least one STRIDE entry
- [ ] All High-impact threats have an assigned owner and mitigation
- [ ] Each mitigation maps to a backlog ticket or test case
- [ ] Threat model doc includes assumptions and scope boundaries
- [ ] PR checklist updated with new security requirements
## Outputs (Definition of Done)
Produce a data flow diagram, a threat register, and a mitigation plan that becomes tickets and tests.
## Load Next (References)
- `references/stride-workshop.md` — step-by-step workshop agenda + DFD guidance
- `references/common-threats-and-mitigations.md` — threat catalog with mitigations
- `references/templates.md` — copy/paste templates for docs and tickets
Pliki w paczce (5)
- SKILL.md 3 KB
- metadata.json 1 KB
- references/common-threats-and-mitigations.md 2 KB
- references/stride-workshop.md 2 KB
- references/templates.md 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · bobmatnyc/claude-mpm-skills | 100 | MIT |
| FrancoStino/opencode-skills-collection | 100 | MIT |
| event4u-app/agent-config | 100 | MIT |
| sickn33/agentic-awesome-skills | 100 | MIT |
| nimadorostkar/Claude-Skills-collection | 100 | MIT |
| arozumenko/sdlc-skills | 100 | MIT |
| alisinadevelo/md-files | 100 | MIT |
| dstreefkerk/claude-skills | 100 | MIT |
| timwukp/agent-skills-best-practice | 100 | MIT |
Migawka bazy z 28.10.2026 · wersja paczki 5db9f540042e (skrót SHA-256 całej paczki)
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 96threat-model
Prowadzi modelowanie zagrożeń metodą STRIDE dla projektu systemu lub funkcji. - 100threat-model
Tworzy model zagrożeń dla funkcji związanych z bezpieczeństwem: zasoby, zagrożenia STRIDE i środki zaradcze, bez pisania kodu. - 90stride
Przeprowadza modelowanie zagrożeń metodą STRIDE: buduje diagram przepływu danych i opisuje zagrożenia oraz środki zaradcze dla elementów systemu. - 90security-threat-modeling
Przeprowadza model zagrożeń w stylu STRIDE dla komponentu: aktywa, punkty wejścia, granice zaufania i środki zaradcze, z właścicielem każdego zagrożenia. - 100threat-model
Przeprowadza analizę STRIDE przed budową funkcji wrażliwych na bezpieczeństwo, nowego API lub projektowania zabezpieczeń. - 100security-threat-modeler
Analizuje architekturę kodu i tworzy model zagrożeń STRIDE z diagramami przepływu danych, granicami zaufania, priorytetyzowanymi zagrożeniami i środkami zaradczymi, zgodny z koncepcjami Microsoft Threat Modeling Tool.