Threat Model Interviewのロゴ

Threat Model Interview

組織
alpha-omega-security
threat-model-interview

脅威モデル作成のフェーズ3.4として、メンテナーへの質問を複数回に分けて実施します。推論による主張の承認が必要な場合や、インタビューを先に行うか、ドラフトを先に作成するかを選ぶ場合に使用してください。各回で、優先順位を付けた回答案付きの質問を3~7件提示します。第1回では必ず、スコープ、想定用途、設定のサポート、ホストへの副作用を扱います。回答を記録し、推論に基づく情報の出所を日付付きのメンテナー提供情報に更新して、該当する§1.18の質問を終了します。フェーズ3.7の終了ポリシーにも対応します。メンテナーの見解の捏造、モデル全体の作成、トリアージには使用しないでください。

Add to TypingMind

概要

公開者alpha-omega-security
リポジトリthreat-model
スキル名threat-model-interview
スター
60
フォーク
10
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    alpha-omega-securityがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Threat Model Interview」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/alpha-omega-security/threat-model/tree/main/skills/threat-model-interview
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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-interview .claude/skills/threat-model-interview
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでThreat Model Interviewを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にThreat Model Interviewを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Threat Model Interviewは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Threat Model — Interview (question waves)

Phase 3.4. Iteration is mandatory and the model is finite — better a tight 3-page document than a sprawling 20-page one. Pull questions from the question bank; reword for the project — do not read them verbatim.

Choose a mode

  • Interview-first — ask, then draft. Best when a maintainer is actively engaged and answers return quickly.
  • Draft-first (usually more efficient) — write v1 entirely from public artifacts (recon + surface), tag every claim, and collect the unresolved questions in §1.18. Hand the maintainer a document to react to rather than a questionnaire to fill in. Best when maintainer time is scarce or asynchronous.

Wave discipline

  • Never dump every question at once — a maintainer will not answer 30 in one go, and the answers will be shallow if they do. Ask in waves of 3–7, prioritized by which answers most shape the rest of the model.
  • Wave 1 is always scope + intended use — everything depends on it — plus the two questions that reshape multiple sections and are almost never documented:
    • the configuration-support question (support posture for every security- relevant knob, especially a default that voids a §1.11 property, reshaping §1.6/§1.11/§1.13/§1.17);
    • the no-surprise side-effects question (the negative claims from the surface pass — sockets, spawning, signal handlers, env reads, global state). If a prior SECURITY.md/"threat model" doc exists, also ask the coexistence question in wave 1.
  • Subsequent waves drill into trust boundaries, adversary model, dependencies, properties provided/not-provided, and known misuses/non-findings. Prioritize any unresolved rows in the surface contract-dimension matrix by expected triage volume and impact; numeric boundaries, callback trust, serialization, and failure atomicity commonly outrank low-volume edge cases.

Frame every question as a proposed answer

Maintainers respond faster and more precisely to "we believe X — confirm or correct" than to an open "what is X?". Wherever recon/surface yielded a plausible answer, state it as the working hypothesis and ask the maintainer to ratify or override. Reserve genuinely open questions for cases with no reasonable default. For a contract-dimension gap, propose an explicit routing decision: a §1.11 guarantee with conditions, a §1.12 disclaimer, or a narrower supported domain. Do not ask only "what happens here?"

Instead of: "What is the adversary model?" Ask: "We believe the only adversary in scope is whoever supplies the compressed input; in-process callers and side-channel observers are out of scope. Is that right, and is anything missing?"

After each wave

  • Record answers in the draft, not just in chat.
  • Promote provenance — (inferred, QN) or (assumption, QN) → (maintainer, YYYY-MM) — and delete the matching §1.18 open question.
  • State which next-wave questions the answers unlock or render moot.
  • Update the contract-dimension row from unresolved to claimed, disclaimed, or N/A, and route the resulting claim to its prose section.
  • Stop once the marginal value of another question is low.

Termination policy (§3.7) — the maintainer goes silent

Adopt a waiting policy up front (e.g., two unanswered waves, or 30–60 days — whatever the project's cadence suggests). When it expires:

  • Publish with status unratified draft, the draft-confidence count shown prominently, and §1.18 intact.
  • Closure constraint (all statuses): a disposition that closes a report against the reporter (OUT-OF-MODEL: *, BY-DESIGN: *, KNOWN-NON-FINDING) may not rest on inferred claims. An assumption closes only under the declared relaxed triage policy, only a low-blast-radius route, and never a security-critical property, KNOWN-NON-FINDING, or dependency-contract. A report that would otherwise be closed on inferred or ungoverned-assumption grounds is escalated to the maintainer instead, and the claim moves to the top of the next wave. VALID routings are unaffected (they fail safe).

Never fabricate

If a question is unanswered, its claim stays (inferred, QN) — or (assumption, QN) where a conservative default is clearly safe — with an open §1.18 item; do not invent a maintainer position. Answering a wave promotes both inferred and assumption claims to (maintainer, YYYY-MM). A draft that is mostly unratified is not ready to publish; a draft with none is fully reviewed or overclaiming.

よくある質問

AIスキル「Threat Model Interview」では何ができますか?

脅威モデル作成のフェーズ3.4として、メンテナーへの質問を複数回に分けて実施します。推論による主張の承認が必要な場合や、インタビューを先に行うか、ドラフトを先に作成するかを選ぶ場合に使用してください。各回で、優先順位を付けた回答案付きの質問を3~7件提示します。第1回では必ず、スコープ、想定用途、設定のサポート、ホストへの副作用を扱います。回答を記録し、推論に基づく情報の出所を日付付きのメンテナー提供情報に更新して、該当する§1.18の質問を終了します。フェーズ3.7の終了ポリシーにも対応します。メンテナーの見解の捏造、モデル全体の作成、トリアージには使用しないでください。

TypingMindでThreat Model Interviewを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Threat Model Interviewはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにThreat Model Interviewをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/alpha-omega-security/threat-model/tree/main/skills/threat-model-interviewを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Threat Model Interviewを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Threat Model Interviewで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもThreat Model Interviewを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Threat Model Interview」は無料ですか?

はい。alpha-omega-securityがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇