Security Assessmentのロゴ

Security Assessment

組織人気
amd
security-assessment

GAIAで報告されたセキュリティ脆弱性を評価し、PSIRT / JIRAのトリアージを行います。脆弱性が有効で悪用可能か、CVEと速報が必要かを判断し、CVSS 4.0スコア、CWE、CVEの説明を作成します。研究者からの報告、セキュリティアドバイザリ、claude-security-auditの指摘をトリアージするときや、「これはCVEに該当するか」を判断したり、CVSSスコア、ベクトル、重大度を作成したりするときに使います。必ずレビュー済みのベクトルを使い、util/cvss4.pyでスコアを計算してください(FIRST 4.0 calculatorと一致します)。数値を推測してはいけません。LLMが推測したCVSSの数値は信頼できません。

Add to TypingMind

概要

公開者amd
リポジトリgaia
スキル名security-assessment
スター
1.6K
フォーク
176
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Security Assessment (PSIRT / CVSS triage)

For scoring a reported GAIA vulnerability and filling the PSIRT triage template. The one hard rule: the CVSS number is arithmetic on a reviewed vector, never a guess.

Rule 0 — never guess a CVSS score. Compute it.

The vector is the human judgment call. The number is math. Pick the vector, then run:

bash
python util/cvss4.py "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N"
# -> {"vector": "...", "base_score": 5.3, "severity": "Medium"}

util/cvss4.py is a thin, tested wrapper over the cvss pip package (in the [dev] extra) whose 4.0 output matches https://www.first.org/cvss/calculator/4.0 exactly (anchored in tests/unit/test_cvss4.py). A malformed vector is a loud ValueError, never a silent 0.0.

Why this rule exists (real GAIA cases):

  • An AI triage on the find -exec ticket asserted "CVSS 6.9 Medium" for the vector CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N — which actually computes to 8.4 High.
  • The security-audit workflow's prior anchor: a triage guessed 7.3 for a vector that scores 8.7.

Guessed numbers are off by a full severity band. Always run the tool and quote its output.

The GAIA vector rubric (which metric to pick)

This mirrors the rubric baked into .github/workflows/claude-security-audit.yml (keep the two consistent). Full form: CVSS:4.0/AV:_/AC:_/AT:_/PR:_/UI:_/VC:_/VI:_/VA:_/SC:_/SI:_/SA:_.

  • AV — Network only if untrusted data crosses a network boundary to reach the sink (hub artifact, HTTP request). A local CLI/file input on the same host is Local.
  • AC — Low unless a real, specific condition (not just "attacker must try") is needed.
  • AT — Present if exploitation needs a precondition outside the attacker's control (a specific agent installed, victim points at a non-default hub); else None.
  • PR — None unless GAIA privilege/auth is required to trigger it.
  • UI — This is where GAIA agent-tool findings usually turn. Active if the user must click through a warning or approve a confirmation-gated tool (TOOLS_REQUIRING_CONFIRMATION); Passive if they must merely initiate a command/install; None only if fully automatic. Most run_shell_command / write-tool findings are UI:A because the operator sees and approves the literal command first.
  • VC disclosure/reads · VI writes/tampering · VA crash/DoS. Set the subsequent scope metrics (SC/SI/SA) only if the impact escapes into a separate security scope (VM, container, downstream client) — an in-process capability gain does not.

Incremental-impact check: score the capability the finding adds, not what the tool could already do. The find -exec bypass's novel gain is write/delete/exec (VI/VA); file reads were already reachable via other whitelisted commands under the same path controls, so its VC is Low, not High. Overstating VC:H is what pushed the AI vector to a High score for a Medium-in-practice issue.

The confirmation gate changes the answer to "is this a CVE?"

Many GAIA agent tools are gated behind explicit per-command user approval (TOOLS_REQUIRING_CONFIRMATION in src/gaia/agents/base/agent.py). When the user sees and approves the literal command before it runs, that human-approval step is the real security boundary. A bypass of a secondary control (e.g. an incomplete command allowlist) layered on top of an intact primary control is defense-in-depth hardening, not a standalone exploitable vulnerability — it typically does not warrant a CVE + public bulletin.

Check before deciding:

  • Is the tool in TOOLS_REQUIRING_CONFIRMATION? (grep it.)
  • Does it get denied in non-interactive mode, or only run under an opt-in like GAIA_AUTO_APPROVE_TOOLS=1? The opt-in is a documented, user-accepted risk.
  • Is there a code path (API server, programmatic SDK) that skips the gate? If yes, the gate is not universal and the CVE bar may be met after all — verify, don't assume.

Fix it regardless (defense-in-depth), but let the gate drive the CVE decision.

CWE — name the root cause, not the impact

Rank the root cause first, the consequence second. For the find -exec bypass: CWE-184 (Incomplete List of Disallowed Inputs) is the root cause (the allowlist check is incomplete); CWE-78 (OS Command Injection) is only the consequence. An AI triage that leads with CWE-78 has described the symptom, not the defect.

Filling the PSIRT / JIRA triage

Answer in this order (the template PSIRT sends):

  1. Valid, exploitable vulnerability? Yes/No — be honest about the bypass even if a gate limits it; qualify exploitability rather than denying the weakness.
  2. Needs a CVE ID + public Security Bulletin? Yes/No — apply the confirmation-gate test above. If No, state whether a security brief is required (usually optional).
  3. If new CVE: CVSS 4.0 (Score + Vector — from util/cvss4.py, not guessed), CWE (root-cause first), and CVE description in the required shape: <Weakness> in <component> could allow <attacker> to <exploit> potentially resulting in <CIA>.
  4. Mitigation delivery / AMD deliverables — for a GAIA code fix this is the amd-gaia package (PyPI + GitHub) only; None for PI / SEV FW / uCode / ROCm / Radeon / Adrenalin / uProf / Chipset drivers. Not a Linux-upstream issue.

Then move the JIRA ticket Opened → Assessed.

Worked example — the find -exec triage (2026-07)

Vectorutil/cvss4.py saysNote
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N8.4 Highthe AI's vector — it claimed 6.9
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N5.3 Mediumcorrected: UI:A (approval gate), VC:L (reads already possible), VA:H (-delete)

Both rows are complete vectors — paste either straight into util/cvss4.py.

Outcome: valid weakness, No CVE (confirmation gate is the real boundary), fixed as hardening in PR #2740. The corrected vector — computed, not guessed — lands a full band below the AI's assertion.

Writing it up

The triage you hand back follows CLAUDE.md → How You Communicate: open with the verdict in plain words — is it real, is it exploitable, does it need a CVE — then the CVSS vector, CWE, and evidence underneath. A reviewer deciding whether to file should not have to parse the vector string to learn the answer. State the computed score, never a guessed one.

よくある質問

AIスキル「Security Assessment」では何ができますか?

GAIAで報告されたセキュリティ脆弱性を評価し、PSIRT / JIRAのトリアージを行います。脆弱性が有効で悪用可能か、CVEと速報が必要かを判断し、CVSS 4.0スコア、CWE、CVEの説明を作成します。研究者からの報告、セキュリティアドバイザリ、claude-security-auditの指摘をトリアージするときや、「これはCVEに該当するか」を判断したり、CVSSスコア、ベクトル、重大度を作成したりするときに使います。必ずレビュー済みのベクトルを使い、util/cvss4.pyでスコアを計算してください(FIRST 4.0 calculatorと一致します)。数値を推測してはいけません。LLMが推測したCVSSの数値は信頼できません。

TypingMindでSecurity Assessmentを使うメリットは何ですか?

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

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

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

Security Assessmentを使えるAIモデルはどれですか?

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

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

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

AIスキル「Security Assessment」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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