Ai Threat Modelのロゴ

Ai Threat Model

組織
zero-lab-ai
ai-threat-model

不完全なアーキテクチャ、信頼関係、ID、データフロー、管理策の情報をもとに、証拠に基づくAI脅威モデルを作成します。AI評価の範囲設定、設計レビュー、不確実な状況下で現実的な攻撃経路に優先順位を付ける場合に使用します。

Add to TypingMind

概要

公開者zero-lab-ai
リポジトリskills
スキル名ai-threat-model
スター
152
フォーク
9
同梱ファイル
2
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zero-lab-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/engagement-operations/skills/ai-threat-model .claude/skills/ai-threat-model
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

AI threat model

Turn incomplete system knowledge into a decision-ready threat model without inventing architecture. Preserve uncertainty as a first-class result and update the model when evidence changes.

When to Use

  • Scoping an AI security review or penetration test.
  • Reviewing a design that combines models, retrieval, agents, tools, data, and conventional application or cloud services.
  • Prioritizing assessment paths when architecture evidence is incomplete or contradictory.

When NOT to Use

  • Do not treat the model as permission to validate a threat on a live target.
  • Do not use a generic AI risk list in place of the system's actual boundaries.
  • Do not assign likelihood or impact precision unsupported by evidence.

Workflow

  1. State the decision the threat model must support, the assessment scope, and the evidence cutoff date.
  2. Build an assumption register. For every unknown needed to continue, record the assumption, why it matters, the evidence that would resolve it, its owner, and the consequence if it is false.
  3. Identify crown jewels and safety properties. Include sensitive data, model behavior, tool authority, workload identity, evaluation integrity, deployment artifacts, human approvals, and availability where relevant.
  4. Map components and trust zones. Include users, applications, model gateways, model providers, retrieval pipelines, agent runtimes, tools, memory, registries, CI/CD, monitoring, and administrative planes.
  5. Draw data, instruction, identity, and artifact flows separately. A component can trust data but not instructions, or accept an artifact without loading it.
  6. For each boundary, ask what can cross, who authorizes it, which identity is used, what validation occurs, what logs survive, and what downstream consumer acts on the result.
  7. Construct attack-path hypotheses from evidence-backed transitions. Label every step observed, assumed, inferred, or blocked; one unknown step prevents the full path from being called demonstrated.
  8. Evaluate threats across the AI-specific surfaces:
    • instruction and context control;
    • retrieval and knowledge integrity;
    • agent and tool authority;
    • model and artifact supply chain;
    • identity and secret propagation;
    • output consumption and automation;
    • monitoring, evaluation, and human oversight.
  9. Prioritize by plausible consequence, exposed preconditions, boundary count, control evidence, and uncertainty. Do not multiply arbitrary numbers to manufacture precision.
  10. Convert priorities into bounded review questions, control gaps, evidence requests, and separately authorized validation objectives.
  11. Version the model. Record which new evidence confirmed, weakened, blocked, or split each path.

Deliverable

Return a threat-model package containing the system purpose, scope, evidence cutoff, crown jewels, component and trust-zone map, separated flow maps, assumption register, attack-path hypotheses, control observations, prioritized review questions, and change log.

Rationalizations to reject

  • “This is a standard RAG architecture.” Shared labels do not prove shared trust boundaries or controls.
  • “The diagram is authoritative because the client supplied it.” Supplied architecture is reported evidence and may be stale.
  • “An assumed step is probably true, so the path is complete.” A path is no stronger than its weakest unsupported transition.
  • “Map every framework technique.” Exhaustive taxonomy mapping can obscure the system-specific decisions the model exists to support.
  • “A low likelihood makes the control gap unimportant.” Weak evidence for likelihood should remain uncertainty, not become a reassuring score.
  • “The model is finished once the diagram is drawn.” A threat model is a versioned decision artifact, not a static picture.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

不完全なアーキテクチャ、信頼関係、ID、データフロー、管理策の情報をもとに、証拠に基づくAI脅威モデルを作成します。AI評価の範囲設定、設計レビュー、不確実な状況下で現実的な攻撃経路に優先順位を付ける場合に使用します。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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