Auditing Machine Identity Issuanceのロゴ

Auditing Machine Identity Issuance

組織
UnboundCompute
auditing-machine-identity-issuance

プラットフォームがマシンIDとワークロードID(認証局、ワークロードIDフェデレーション、サービスメッシュID、アテステーションベースの認証情報)をどのように発行するかを監査し、IDを求める側が過信されていないか確認します。自己申告の名前、未検証のラベル、到達可能なメタデータエンドポイントなど、弱い、または偽造可能な証明に基づいて認証情報を発行し、その証明を偽造するだけで実際のIDを得られるケース、発行できる名前が制限されていない発行機関、ワイルドカードのsubject、固定されていないissuer、欠落したaudienceなどによって信頼設定が広すぎ、外部のプリンシパルがそのIDを引き受けられるフェデレーション、存続期間が長すぎる、または失効できない証明書、検証済みのワークロードに紐付かない発行経路が対象です。マシンIDを取得するためにどの証明が必要かをプラットフォームが決める仕組みが境界となる場合に使用してください。偽造可能な発行証明または広すぎる信頼設定がソースで、不正に発行されたマシンIDがシンクです。弱いアテステーション、制約のない発行者、または広すぎるフェデレーション信頼が脆弱性です。

概要

公開者UnboundCompute
リポジトリsecurity-agent-skills
スキル名auditing-machine-identity-issuance
スター
27
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Auditing machine identity issuance: the identity is only as trustworthy as the proof that earned it

Every machine identity, a service mesh certificate, a federated cloud credential, a signed workload token, is a statement the platform makes on a workload's behalf: this is who this thing is. Downstream services trust that statement and skip re-checking, which is the point of an identity system, so the entire chain of trust rests on one decision made at issuance: what proof did the platform require before it minted the identity. If that proof is weak or forgeable, the identity is legitimate and the holder is not. A certificate issued on a self-asserted name, an unvalidated label, or a reachable metadata endpoint lets an attacker who forges the proof obtain a real, trusted identity. An issuing authority whose scope is not constrained can mint identities for names it should never speak for, so a compromise of one issuer forges any workload. A workload-identity federation trust configured too broadly, a wildcard subject, an unpinned issuer, a missing audience, lets an outside principal assume a workload identity that was meant for a specific one. A certificate or token with an over-long lifetime or no revocation lets a compromised identity persist long after it should be dead. And an issuance path with no binding to a verified workload hands an identity to any caller who asks. The audit follows issuance from the proof presented to the identity granted, and checks that the proof is strong, the issuer is scoped, the federation trust is narrow, and the identity is short-lived and revocable. You audit this by presenting a weak or forged proof and seeing whether a legitimate identity comes back.

When to use

  • A platform issues machine or workload identities: mesh certificates, workload-identity federation credentials, signed workload tokens, or attestation-based credentials.
  • Issuance may rely on a weak or forgeable proof, or the issuing authority may not be scoped to the names it may speak for.
  • A federation trust may be over-broad (wildcard subject, unpinned issuer, missing audience), or issued identities may be over-long-lived or unrevocable.

Scope check

Test machine-identity issuance only against platforms and identity systems you own or are authorized to assess, with test workloads. Requesting and using issued identities exercises real trust, so use test issuers and workloads and never obtain, forge, or use a machine identity outside your authorization. If you can't name the authorization, stop.

The loop

  1. Establish what proof earns each identity and what each issuer may speak for first. Name, for each issuance path, the proof a workload must present, how that proof is verified, what names or scopes the issuing authority is allowed to mint, how narrow each federation trust is, and the lifetime and revocation of what is issued. This is the false-positive killer: an issuance path that requires a strong, non-forgeable attestation, a scoped issuer that can mint only its intended names, a federation trust pinned to a specific subject, issuer, and audience, and short-lived revocable identities is behaving correctly. Name the intended proof, then test each path.

  2. Test the issuance proof. Present the weakest proof the path will accept, a self-asserted name, an unvalidated label, a value read from a reachable metadata endpoint, and confirm a legitimate identity is not issued on it. Try to forge or replay the proof another workload would present. An identity minted on a forgeable proof is a real identity in an attacker's hands.

  3. Test issuer scope. Examine what names or scopes each issuing authority (CA, signer, token issuer) is constrained to mint, and confirm it cannot issue an identity for a name outside its authority. Request an identity for a name the issuer should never speak for. An unconstrained issuer means compromising or misusing one issuer forges any workload's identity.

  4. Test federation trust breadth. For workload-identity federation, inspect the trust configuration: whether the subject is pinned or a wildcard, whether the issuer is pinned, and whether an audience is required and checked. Attempt to assume the workload identity as a different or outside principal. A wildcard subject, unpinned issuer, or missing audience lets a principal the trust was not meant for assume the identity.

  5. Test lifetime and revocation. Determine the lifetime of issued identities and whether they can be revoked promptly. Use an identity past when it should be valid and after it should be revoked. An over-long lifetime or absent revocation lets a compromised machine identity keep authenticating long after it should be dead, so confirm identities are short-lived and revocable.

  6. Confirm and record. Confirm with test workloads by obtaining a legitimate identity on a forged or weak proof, minting an identity for a name outside an issuer's scope, assuming a workload identity as an outside principal through a broad federation trust, or using an identity past its intended life, without touching real workloads. Kill the lead if issuance requires a strong non-forgeable proof, issuers are scoped, federation trusts are pinned to subject, issuer, and audience, and identities are short-lived and revocable. Record the forgeable proof or over-broad trust, the illegitimately issued identity, and the weak attestation, unconstrained issuer, or over-broad federation trust.

Where issuance trust leaks

  • Forgeable issuance proof. An identity minted on a self-asserted name, an unvalidated label, or a reachable metadata value lets an attacker who forges the proof obtain a legitimate identity.
  • Unconstrained issuer. An issuing authority not scoped to the names it may mint can speak for workloads it should never represent, so one issuer's misuse forges any identity.
  • Over-broad federation trust. A wildcard subject, unpinned issuer, or missing audience in a workload-identity federation trust lets an outside principal assume a workload identity meant for a specific one.
  • Over-long lifetime or no revocation. A certificate or token issued for too long, or with no working revocation, lets a compromised identity keep authenticating long after it should be dead.
  • No binding to a verified workload. An issuance path that does not bind the identity to a verified, attested workload hands a real identity to any caller who asks.

Worked example (a confirm and a kill)

Confirm. A cloud platform's workload-identity federation trust accepts tokens from an external issuer with the subject claim configured as a wildcard and no audience check, so any token that issuer mints is accepted as the workload. On a test project, an outside principal who can obtain a token from that issuer assumes the workload identity and calls the platform's APIs as it, because the trust pins neither the subject nor an audience. Confirmed workload-identity assumption via over-broad federation trust, high, remediation = pin the trust to the exact subject that represents the intended workload, require and verify a specific audience, and pin the issuer so only the intended external identity can assume the workload.

Kill. Each issuance path requires a strong non-forgeable attestation of the workload; issuers are constrained to the exact names they may mint; every federation trust is pinned to a specific subject, a pinned issuer, and a required audience; and issued identities are short-lived and revocable. A forged or weak proof yields no identity, an issuer cannot mint outside its scope, an outside principal cannot assume a pinned workload trust, and an expired or revoked identity is rejected. Killed, kill_reason = "issuance requires a strong non-forgeable proof, issuers are scoped, federation trusts are pinned to subject, issuer, and audience, and identities are short-lived and revocable; no forged proof or broad trust yields a machine identity it should not."

Rationalizations to reject

  • "The workload says who it is." → A self-asserted name is not a proof; require a strong attestation the attacker cannot forge before minting an identity for a claimed workload.
  • "The issuer is trusted." → Confirm it is scoped to the names it may mint; an unconstrained issuer, once misused or compromised, forges any workload's identity, so trust is not enough without scope.
  • "Federation is set up and working." → Working for the intended workload is not the same as pinned against others; confirm the subject, issuer, and audience are all pinned so no outside principal can assume it.
  • "Certificates last a year for convenience." → A long-lived identity with weak revocation is a long-lived compromise; issue short-lived, automatically renewed identities that can be revoked.
  • "Anything on the network can request one." → An issuance path with no binding to a verified workload hands identities to any caller; bind each identity to an attested workload, not to reachability.

Executing this in practice

You need each issuance path's required proof and how it is verified, what names each issuer may mint, the subject-issuer-audience pinning of each federation trust, and the lifetime and revocation of issued identities. With test workloads, present weak and forged proofs, request out-of-scope names, attempt to assume a workload trust as an outside principal, and use identities past their intended life. Reading the issuance and trust configuration shows the intended proof; a legitimate identity obtained on a forged proof or a broad trust shows where the proof fails.

Related

  • hunting-mutual-tls-and-service-identity-gaps - the consuming side of mesh identity; issuance decides who gets a certificate, mTLS decides whether it is checked, and the two together bound service identity.
  • auditing-cicd-oidc-trust - a specific federation-trust case; a CI pipeline assuming a cloud identity is workload-identity federation with the same subject, issuer, and audience pinning questions.
  • auditing-service-account-key-lifecycle - the credential an issued identity often replaces; short-lived attested identities are the alternative to long-lived downloaded keys.
  • hunting-non-human-identity-and-secret-reachability - once an identity is issued, its reachability and reuse are that skill's subject; issuance is where the identity's trust begins.
  • FINDING-SCHEMA.md - source = the forgeable issuance proof or over-broad trust, sink = the illegitimately issued machine identity, evidence = the weak attestation, unconstrained issuer, or over-broad federation trust.

よくある質問

AIスキル「Auditing Machine Identity Issuance」では何ができますか?

プラットフォームがマシンIDとワークロードID(認証局、ワークロードIDフェデレーション、サービスメッシュID、アテステーションベースの認証情報)をどのように発行するかを監査し、IDを求める側が過信されていないか確認します。自己申告の名前、未検証のラベル、到達可能なメタデータエンドポイントなど、弱い、または偽造可能な証明に基づいて認証情報を発行し、その証明を偽造するだけで実際のIDを得られるケース、発行できる名前が制限されていない発行機関、ワイルドカードのsubject、固定されていないissuer、欠落したaudienceなどによって信頼設定が広すぎ、外部のプリンシパルがそのIDを引き受けられるフェデレーション、存続期間が長すぎる、または失効できない証明書、検証済みのワークロードに紐付かない発行経路が対象です。マシンIDを取得するためにどの証明が必要かをプラットフォームが決める仕組みが境界となる場合に使用してください。偽造可能な発行証明または広すぎる信頼設定がソースで、不正に発行されたマシンIDがシンクです。弱いアテステーション、制約のない発行者、または広すぎるフェデレーション信頼が脆弱性です。

TypingMindでAuditing Machine Identity Issuanceを使うメリットは何ですか?

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

TypingMindにAuditing Machine Identity Issuanceをインストールするにはどうすればよいですか?

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

Auditing Machine Identity Issuanceを使えるAIモデルはどれですか?

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

Auditing Machine Identity Issuanceで使えるAIモデルの数に制限はありますか?

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

AIスキル「Auditing Machine Identity Issuance」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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