Logo van Threat Model Triage

Threat Model Triage

Organisatie
alpha-omega-security
threat-model-triage

Beoordeel één binnengekomen kwetsbaarheidsmelding, scannerresultaat, fuzzer-artefact of AI-bevinding aan de hand van een afgerond dreigingsmodel. GEBRUIK DIT wanneer wordt gevraagd of een bevinding geldig is of binnen de scope valt. Pas het routeringsalgoritme van §1.1 en de prioriteitsregels van §1.17 toe om precies één definitieve uitkomst toe te wijzen, met verwijzingen naar secties en herkomst. Afgeleide beweringen kunnen tot escalatie leiden, maar nooit tot een definitieve beslissing. Aannames kunnen alleen datgene definitief afhandelen wat het triagebeleid van het model toestaat. Als er geen onderbouwde route is voor een bevinding, is die MODEL-GAP en wordt §1.16 geactiveerd. GEBRUIK DIT NIET VOOR: een model helemaal zelf opstellen of een corpus backtesten.

Add to TypingMind

Overzicht

Uitgeveralpha-omega-security
Repositorythreat-model
Skillnaamthreat-model-triage
Sterren
60
Forks
10
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door alpha-omega-security op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Threat Model Triage in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/alpha-omega-security/threat-model/tree/main/skills/threat-model-triage
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alpha-omega-security/threat-model.git /tmp/threat-model
mkdir -p .claude/skills
cp -r /tmp/threat-model/skills/threat-model-triage .claude/skills/threat-model-triage
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Threat Model Triage in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Threat Model Triage automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Threat Model Triage niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Threat Model — Triage (route one finding)

The consumer side of the model. Given an inbound finding and a finished (or drafted) threat model, assign exactly one disposition from the closed §1.17 set, citing the section that licenses it. The response is "see threat model §X", not ad-hoc prose.

Requires a threat model produced by the threat-model orchestrator (or an equivalent document following output-structure.md). If no such model exists, stop and recommend producing one first.

Route from the prose and the threat-model.yaml sidecar, never from the threat-model.json export. The JSON drops disposition_precedence, disclaimed-property tiers, and known-non-finding component/symptom scope, so a consumer holding only the JSON cannot apply §1.17 first-match ordering or the security-critical floor. It states the contract; it cannot route a report against it.

Routing algorithm (the §1.1 triager quick-start)

  1. Locate the sink → look up its row in the §1.7 input-trust table (or the §1.8 output statement, for findings about what downstream consumers may assume).
  2. Locate the contract dimension → for state corruption, overflow, recursion, callback execution, deserialization, lifecycle, concurrency, or complexity findings, consult the component's contract-dimension row and its routed owning claim in §1.3/§1.5/§1.7/§1.10/§1.11/§1.12 or unresolved question in §1.18. Do not infer failure semantics from the parameter trust row alone.
  3. Check the attacker capability and control kind the finding requires against §1.7/§1.10. Distinguish control of data from control of size, type/class, callback code, object topology, collaborator implementation, or serialized state.
  4. Check the affected component against §1.2/§1.3, and any required build flag against §1.6.
  5. If the root cause lies in a dependency, apply §1.9.
  6. Check §1.15 for an exact known non-finding match: same component or sink, symptom/attack class, and required conditions, with a current stable discharge reference. Textual resemblance is insufficient.
  7. Apply §1.17's first-match precedence and assign exactly one disposition, citing the licensing section and provenance. If none fits, assign MODEL-GAP and trigger §1.16 — do not improvise.

The closed disposition set (§1.17)

DispositionWhenLicensed by
VALIDViolates a claimed property via an in-scope adversary and input.§1.11, §1.7, §1.10
VALID-HARDENINGNo §1.11 property violated, but a §1.14 misuse is easy enough to harden. Private; maintainer discretion; usually no CVE.§1.14
OUT-OF-MODEL: trusted-inputNeeds attacker control of a parameter marked trusted.§1.7
OUT-OF-MODEL: adversary-not-in-scopeNeeds an excluded attacker capability.§1.10
OUT-OF-MODEL: unsupported-componentLands in out-of-scope code.§1.3
OUT-OF-MODEL: non-default-buildRequires a configuration explicitly marked dev-only, discouraged for the modeled use, or unsupported; non-default alone is insufficient.§1.6
OUT-OF-MODEL: dependency-contractRoot cause is a dependency failing its own contract; usage conformant. Forward upstream, don't just close.§1.9
BY-DESIGN: property-disclaimedConcerns a property explicitly not provided.§1.12
KNOWN-NON-FINDINGMatches a documented recurring false positive.§1.15
MODEL-GAPFits none of the above → revise the model.triggers §1.16

Guardrails

  • Exactly one disposition. Apply §1.17's precedence when multiple preconditions fail. Report MODEL-GAP only when the model is silent or genuinely contradictory, not merely because two predicates are true.
  • MODEL-GAP is not "other". It means the model is incomplete: the correct response is to add the property to §1.11/§1.12 (via threat-model-authoring), not to make an ad-hoc call on the report.
  • Closure constraint (all statuses), governed by the declared triage policy. Any disposition that closes a report against the reporter (OUT-OF-MODEL: *, BY-DESIGN: *, KNOWN-NON-FINDING) must be licensed by a documented or maintainer claim, with one policy-scoped exception for assumption:
    • An inferred licensing claim always escalates instead of closing.
    • Read the header's triage policy. Under strict (default) an assumption also escalates only. Under relaxed an assumption may close the low-blast-radius routes — trusted-input, adversary-not-in-scope, unsupported-component, non-default-build, and a non-security-critical property-disclaimed — as a provisional close: cite the QN, note it re-opens on challenge, and leave the §1.18 item open.
    • Security-critical floor (both policies). An assumption never licenses KNOWN-NON-FINDING, a property-disclaimed whose property is security-critical, or dependency-contract; those escalate unless documented / maintainer.
    • Silence floor (both policies, every provenance). A §1.12 disclaimer that rests on the absence of a statement rather than on a stated limit never closes a security-critical report, a KNOWN-NON-FINDING, or dependency-contract — even tagged documented. Escalate instead.
    • An untiered §1.12 disclaimer is treated as security-critical, not as the weaker case. Do not read a blank tier as permission.
    • VALID routings are unaffected. A model marked accepted while retaining inferred or assumption claims is invalid; return it for status/model correction.
  • An escalated finding is not a MODEL-GAP. Escalation means the route is right and the authority to use it is missing; MODEL-GAP means there is no route. Keep the disposition, mark it escalated, and name the §1.18 question that would unblock it. Do not feed it into the §1.16 revision loop — that loop is for genuine gaps, and filling it with escalations manufactures phantom model defects.
  • Cite provenance. When a disposition closes a report, cite the tagged claim (e.g., "not a bug — §1.12 disclaims this property (maintainer, 2025-03)", or "provisionally out of model — §1.7 (assumption, Q6) under relaxed policy; re-open on challenge").

Output

The disposition and its status, written as DISPOSITION (status) — for example OUT-OF-MODEL: trusted-input (escalated). The status is one of:

StatusMeaning
closedLicensed by a documented or maintainer claim. The report is answered.
provisionalA relaxed-policy assumption close. Cite the QN; re-opens on challenge.
escalatedThe route is right but its license cannot close it. Name the blocking QN.

VALID and MODEL-GAP are not closes and take no status qualifier.

Also report the citing section(s), the provenance of the licensing claim, and — for MODEL-GAP or a two-way route — the model-revision or sharpening recommendation to hand back to the orchestrator.

Veelgestelde vragen

Wat doet de AI-skill Threat Model Triage?

Beoordeel één binnengekomen kwetsbaarheidsmelding, scannerresultaat, fuzzer-artefact of AI-bevinding aan de hand van een afgerond dreigingsmodel. GEBRUIK DIT wanneer wordt gevraagd of een bevinding geldig is of binnen de scope valt. Pas het routeringsalgoritme van §1.1 en de prioriteitsregels van §1.17 toe om precies één definitieve uitkomst toe te wijzen, met verwijzingen naar secties en herkomst. Afgeleide beweringen kunnen tot escalatie leiden, maar nooit tot een definitieve beslissing. Aannames kunnen alleen datgene definitief afhandelen wat het triagebeleid van het model toestaat. Als...

Waarom Threat Model Triage gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Threat Model Triage bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Threat Model Triage in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/alpha-omega-security/threat-model/tree/main/skills/threat-model-triage. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Threat Model Triage gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Threat Model Triage gebruiken?

Zoveel als je wilt. Je kunt Threat Model Triage gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Threat Model Triage gratis?

Ja. Deze skill is door alpha-omega-security op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇