Logo: Threat Model Triage

Threat Model Triage

Organisatioun
alpha-omega-security
threat-model-triage

Triage vun engem erakommende Schwachstellebericht, engem Scanner-Treffer, engem Fuzzer-Artefakt oder engem KI-Finding am Verglach mat engem fäerdege Threat Model. BENOTZEN, WANN gefrot gëtt, ob e Finding valabel ass oder an den Ëmfang fält. Wendt den Zouuerdnungsalgorithmus aus §1.1 an d’Reiefolleg vu §1.17 un, fir genee eng ofgeschlosse Bewäertung mat Zitater zu Sektioun an Hierkonft zouzeweisen. Ofgeleet Aussoe kënnen zu enger Eskalatioun féieren, awer ni zu enger definitiver Bewäertung; Viraussetzunge schléissen nëmmen dat aus, wat d’deklaréiert Triage-Politik vum Modell erlaabt. Wann et fir e Finding kee belegte Wee gëtt, ass et e MODEL-GAP a léist §1.16 aus. NET BENOTZEN FIR: e Modell vun Null un ze erstellen oder e Korpus am Réckbléck ze testen.

Add to TypingMind

Iwwersiicht

Editeuralpha-omega-security
Repositorythreat-model
Skill-Nummthreat-model-triage
Stären
60
Forks
10
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    alpha-omega-security huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Threat Model Triage an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/alpha-omega-security/threat-model/tree/main/skills/threat-model-triage
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-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 nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Threat Model Triage an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Threat Model Triage automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Threat Model Triage net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill Threat Model Triage?

Triage vun engem erakommende Schwachstellebericht, engem Scanner-Treffer, engem Fuzzer-Artefakt oder engem KI-Finding am Verglach mat engem fäerdege Threat Model. BENOTZEN, WANN gefrot gëtt, ob e Finding valabel ass oder an den Ëmfang fält. Wendt den Zouuerdnungsalgorithmus aus §1.1 an d’Reiefolleg vu §1.17 un, fir genee eng ofgeschlosse Bewäertung mat Zitater zu Sektioun an Hierkonft zouzeweisen. Ofgeleet Aussoe kënnen zu enger Eskalatioun féieren, awer ni zu enger definitiver Bewäertung; Viraussetzunge schléissen nëmmen dat aus, wat d’deklaréiert Triage-Politik vum Modell erlaabt. Wann et...

Firwat Threat Model Triage op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Threat Model Triage besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Threat Model Triage an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/alpha-omega-security/threat-model/tree/main/skills/threat-model-triage an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Threat Model Triage benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Threat Model Triage benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Threat Model Triage domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Threat Model Triage gratis?

Jo. alpha-omega-security huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇