Przejdź do treści
Biblioteka skilli
Bezpieczeństwo · Analiza

threat-modeling

/threat-modeling

Buduje model zagrożeń przed projektowaniem lub w jego trakcie: aktywa, granice zaufania, zagrożenia STRIDE i ranking ryzyk z zabezpieczeniami.

Licencja
MIT
Ostatnia zmiana repozytorium
11.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Buduje model zagrożeń przed projektowaniem lub w jego trakcie: aktywa, granice zaufania, zagrożenia STRIDE i ranking ryzyk z zabezpieczeniami.

Oryginalny opis (EN)

Build a threat model before or during design: assets, trust boundaries, STRIDE threats, ranked risks, mitigations. Use for new systems, new features touching auth or data, or architecture security reviews.

Jak działa

  1. 1. Scope the model (4 questions)
  2. 2. Draw the system
  3. 3. Enumerate threats with STRIDE per flow crossing a boundary
  4. 4. Rank
  5. 5. Decide
  6. 6. Output table
  7. Rules
Sekcje z nagłówków SKILL.md, w oryginale · 41 linii, 421 słów
Podgląd SKILL.md
---
name: threat-modeling
description: "Build a threat model before or during design: assets, trust boundaries, STRIDE threats, ranked risks, mitigations. Use for new systems, new features touching auth or data, or architecture security reviews."
license: MIT
metadata:
  version: "1.0.0"
---

# Threat modeling

Run it at design time (cheapest fix) and again when a trust boundary changes. Output `THREAT_MODEL.md`; feed mitigations into Njoya's ADRs, Lukong's tests and Hayatou's gate. Code-level hunting is `security-auditor` / `llm-sast-scanner`.

## 1. Scope the model (4 questions)
What are we building? What can go wrong? What will we do about it? Did we do a good job? Write the scope, version and date at the top.

## 2. Draw the system
List, from the repo and ARCHITECTURE.md (do not guess; mark unknowns `UNVERIFIED`):
- **Actors**: anonymous, user, admin, service accounts, third parties, insiders.
- **Assets**: data (PII, credentials, payment, tokens), capabilities (admin APIs), availability, reputation.
- **Components & data flows**: client, API, workers, queues, datastores, third-party APIs, CI/CD, secrets store.
- **Trust boundaries**: internet/DMZ, tenant/tenant, user/admin, service/service, prod/non-prod, vendor.
Mermaid data-flow diagram preferred so it can live in Git.

## 3. Enumerate threats with STRIDE per flow crossing a boundary
| Letter | Threat | Typical question |
| :-- | :-- | :-- |
| S | Spoofing | Can someone pretend to be another user/service? token theft, weak service auth |
| T | Tampering | Can data or code be altered in transit/at rest/in the pipeline? |
| R | Repudiation | Could an actor deny an action? are audit logs tamper-evident? |
| I | Information disclosure | Leaks via errors, logs, IDOR, caches, backups, side channels? |
| D | Denial of service | Unbounded input, expensive queries, no rate limits, single points of failure? |
| E | Elevation of privilege | Missing authz checks, confused deputy, SSRF to metadata, injection to RCE? |
Add abuse cases (business-logic abuse: coupon farming, enumeration, mass export) and, for LLM features, prompt injection and tool-abuse paths.

## 4. Rank
Score each threat: likelihood (1-3) x impact (1-3) -> High/Med/Low, with the reasoning in one line. Do not average away a critical impact.

## 5. Decide
For each High/Med: **mitigate** (control + owner + test), **transfer**, **accept** (named approver, expiry date) or **eliminate** (remove the feature/data). Prefer eliminating data over protecting it.

## 6. Output table
`ID | Flow/asset | STRIDE | Threat | Risk | Mitigation | Verified by (test/scan) | Status`

## Rules
- Every High has a mitigation with a test or monitoring alert, else the gate is not passed.
- Re-open the model when adding an actor, data class, external integration or boundary.
- Keep it short: a one-page model that is maintained beats a 40-page model that is not.

Wersje

RepozytoriumWynikLicencja
Ta strona · swap-cameroon/kuro-antigravity-config90MIT
rjmurillo/ai-agents100MIT
FrancoStino/opencode-skills-collection100MIT
event4u-app/agent-config100MIT
sickn33/agentic-awesome-skills100MIT
nimadorostkar/Claude-Skills-collection100MIT
arozumenko/sdlc-skills100MIT
thisiskurubaran/DevSecOps100MIT
reddygopalkrishna/developer-agent-skills100MIT

Migawka bazy z 13.11.2026 · wersja paczki d928872ef734 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 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
    Tworzy lub aktualizuje dokument docs/THREAT_MODEL.md: granice zaufania, powierzchnię ataku i zagrożenia STRIDE przed wdrożeniem.
  • 100threat-model
    Opracowuje model zagrożeń dla logowania, płatności, uploadu plików i systemów AI: aktywa, STRIDE i zabezpieczenia, bez kodu.
  • 90Threat Modeling for Secure Design
    Identyfikuje zagrożenia przy projektowaniu bezpiecznej architektury: analiza STRIDE, granice zaufania i powierzchnia ataku.
  • 90model
    Buduje model zagrożeń architektury: diagram przepływu danych, granice zaufania i analizę STRIDE dla aplikacji.
  • 100threat-modeling-stride
    Tworzy model zagrożeń systemu z dokumentów projektowych lub kodu: analiza STRIDE, diagramy przepływu i raport w HTML.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.