Auditing Service Mesh Mtls And Authz Trustのロゴ

Auditing Service Mesh Mtls And Authz Trust

組織
UnboundCompute
auditing-service-mesh-mtls-and-authz-trust

サービスメッシュが主張するものの実際には強制できていない信頼を監査します。相互TLSと並行して平文通信も受け入れる許容モードのメッシュにより、未認証の呼び出し元がアクセスできるケース、認可ポリシーがない、適用範囲が狭すぎる、またはデフォルトで許可するケース、メッシュ外から到達できるワークロードがサイドカーを完全に迂回するケース、呼び出し元が設定可能なヘッダーを信頼するID検証などが対象です。サイドカーによってワークロード間の相互TLSとサービス単位の認可を強制する想定のサービスメッシュを確認します。メッシュが、誰が誰を呼び出せるか、また呼び出しが認証されているかを保証する制御となっている場合に使用してください。未認証または認可されていない呼び出し元がソース、呼び出し先サービスがシンクであり、許容モードや認可ポリシーの欠落によって呼び出しを許してしまうことが問題です。

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Auditing Service Mesh Mtls And Authz Trust」を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-service-mesh-mtls-and-authz-trust
  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-service-mesh-mtls-and-authz-trust .claude/skills/auditing-service-mesh-mtls-and-authz-trust
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にAuditing Service Mesh Mtls And Authz Trustを読み込みます。

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

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

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

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

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

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

スキルの指示

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

Auditing service mesh mTLS and authz trust: when the mesh asserts a trust it does not enforce

A service mesh is sold as identity and encryption between workloads: sidecars establish mutual TLS so every call is authenticated, and authorization policies decide who may call whom. Teams then reason about the cluster as if those guarantees hold everywhere. The gaps are where the guarantee is asserted but not enforced. A mesh in permissive mode accepts plaintext next to mutual TLS, so an unauthenticated caller is still served while the dashboards show encryption. Authorization frequently defaults to allow, or a policy covers some services and not the one that matters. A workload reachable outside the mesh, directly by pod IP or through an ingress that skips the sidecar, bypasses every mesh control. And an identity check that trusts a caller-set header authenticates nothing. You audit this by testing whether the mesh actually refuses an unauthenticated and an unauthorized call, rather than trusting that it does.

When to use

  • A service mesh is the control enforcing mutual TLS and per-service authorization between workloads.
  • The mesh may run in permissive mode, accepting plaintext alongside mutual TLS.
  • Authorization policies may be missing, default-allow, narrowly scoped, or bypassable outside the sidecar.

Scope check

Test a mesh only on clusters you own or are authorized to assess, on non-production services. Probing means sending calls between real workloads, including unauthenticated ones, so keep them benign and inside the authorized namespaces. If you can't name the authorization, stop.

The loop

  1. Establish the intended call graph first. Name which services may call which, and that every call must be mutually authenticated. This is the false-positive killer: a mesh in strict mutual-TLS mode with authorization policies that allow exactly the intended edges and deny by default is enforcing its claim. Name the intended graph and the authentication requirement, then test against them.

  2. Check the mutual-TLS mode. Determine whether the mesh enforces strict mutual TLS or runs in permissive mode. Permissive mode accepts plaintext alongside mutual TLS, so an unauthenticated caller reaching the sidecar is still served. Confirm strict mode on the workloads that matter, cluster-wide and per-namespace, since the setting can be overridden locally.

  3. Audit authorization policy presence and default. For each service, check whether an authorization policy exists and whether the effective default is deny or allow. A mesh with mutual TLS but no authorization authenticates callers without restricting them, so any authenticated workload can call any service. Confirm policies exist and default to deny.

  4. Check policy scope and identity basis. For each authorization policy, confirm it covers the target service and that it decides on the verified peer identity from the mutual-TLS certificate, not on a caller-set header, source IP, or other spoofable attribute. A policy scoped to the wrong workloads, or keyed on a forgeable attribute, does not constrain the caller it should.

  5. Find paths that bypass the sidecar. Determine whether any workload is reachable outside the mesh: directly by pod IP, through an ingress that terminates before the sidecar, or via a port the sidecar does not capture. A service reachable off-mesh is subject to none of the mesh's mutual-TLS or authorization controls, so the mesh's guarantees do not apply to it.

  6. Confirm and record. Confirm by making an unauthenticated call that permissive mode accepts, an authenticated-but-unauthorized call that a missing or default-allow policy admits, or a direct off-mesh call that skips the sidecar, in a non-production namespace and benignly. Kill the lead if the mesh enforces strict mutual TLS, authorization policies exist and default to deny on verified peer identity, and no workload is reachable outside the sidecar. Record the caller source, the called-service sink, and the permissive mode or missing authz policy that admitted it.

Where mesh trust leaks

  • Permissive mode serves plaintext. A mesh that accepts unauthenticated calls alongside mutual TLS authenticates nothing for those calls while appearing encrypted.
  • Mutual TLS without authorization restricts no one. Authenticated callers with no authz policy can call any service; identity without authorization is only half the control.
  • Default-allow or wrong-scope policies miss the target. A policy that defaults to allow, or does not cover the service that matters, leaves it open.
  • Header- or IP-based identity is spoofable. An authorization decision on a caller-set header or source IP is not the verified mesh identity and can be forged.
  • An off-mesh path skips every control. A workload reachable by pod IP or a sidecar-bypassing ingress is subject to none of the mesh's guarantees.

Worked example (a confirm and a kill)

Confirm. A namespace runs the mesh in permissive mode, and a sensitive internal service has no authorization policy. An unauthenticated plaintext call from a test pod reaches the service, and an authenticated call from a workload that should never call it also succeeds. Confirmed mesh trust bypass via permissive mode and missing authorization, high, remediation = enforce strict mutual TLS on the namespace, add an authorization policy that defaults to deny and allows only the intended caller identities, and ensure the service is reachable only through the sidecar.

Kill. The mesh enforces strict mutual TLS cluster-wide with no permissive override on the target namespace, every service has an authorization policy that defaults to deny and allows only the intended peer identities from their verified certificates, and no workload is reachable outside its sidecar by pod IP or a bypassing ingress. An unauthenticated or unauthorized call is refused. Killed, kill_reason = "strict mutual TLS with default-deny authorization on verified identity and no off-mesh path; the mesh refuses every unauthenticated and unauthorized call."

Rationalizations to reject

  • "The mesh gives us mutual TLS." → Confirm strict mode; in permissive mode an unauthenticated caller is still served, so the guarantee is not enforced.
  • "Everything in the mesh is encrypted." → Encryption is not authorization; without a default-deny policy any authenticated workload can call any service.
  • "We have authorization policies." → Confirm they cover this service, default to deny, and key on verified identity, not a header or IP a caller can set.
  • "Only mesh workloads can reach it." → Check for a pod-IP or sidecar-bypassing path; a service reachable off-mesh is subject to none of the mesh's controls.
  • "The sidecar handles it." → Only for traffic the sidecar captures; a port or ingress that skips the sidecar skips the mesh entirely.

Executing this in practice

You need the mutual-TLS mode cluster-wide and per-namespace, the authorization policy for each service with its default and identity basis, and every path by which a workload can be reached outside its sidecar. For each service, test an unauthenticated call, an unauthorized authenticated call, and an off-mesh call. Reading the mesh configuration shows the claimed trust; a call the mesh should refuse but serves shows whether it holds.

Related

  • auditing-network-policy-segmentation-gaps - the layer-3/4 companion; network policy and mesh authorization together define who can reach whom, and a gap in either undermines the other.
  • auditing-tls-and-certificate-validation - the certificate-verification layer the mesh's mutual-TLS identity rests on; weak validation there undermines every authorization decision above it.
  • auditing-namespace-as-tenant-boundary - mesh authorization is one control a namespace tenant boundary leans on; audit them together.
  • mapping-attack-surface - use it to find services reachable outside the mesh before testing the mesh's own controls.
  • FINDING-SCHEMA.md - source = the unauthenticated or unauthorized caller, sink = the called service, evidence = the permissive mode or missing authorization policy that admitted it.

よくある質問

AIスキル「Auditing Service Mesh Mtls And Authz Trust」では何ができますか?

サービスメッシュが主張するものの実際には強制できていない信頼を監査します。相互TLSと並行して平文通信も受け入れる許容モードのメッシュにより、未認証の呼び出し元がアクセスできるケース、認可ポリシーがない、適用範囲が狭すぎる、またはデフォルトで許可するケース、メッシュ外から到達できるワークロードがサイドカーを完全に迂回するケース、呼び出し元が設定可能なヘッダーを信頼するID検証などが対象です。サイドカーによってワークロード間の相互TLSとサービス単位の認可を強制する想定のサービスメッシュを確認します。メッシュが、誰が誰を呼び出せるか、また呼び出しが認証されているかを保証する制御となっている場合に使用してください。未認証または認可されていない呼び出し元がソース、呼び出し先サービスがシンクであり、許容モードや認可ポリシーの欠落によって呼び出しを許してしまうことが問題です。

TypingMindでAuditing Service Mesh Mtls And Authz Trustを使うメリットは何ですか?

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

TypingMindにAuditing Service Mesh Mtls And Authz Trustをインストールするにはどうすればよいですか?

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

Auditing Service Mesh Mtls And Authz Trustを使えるAIモデルはどれですか?

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

Auditing Service Mesh Mtls And Authz Trustで使えるAIモデルの数に制限はありますか?

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

AIスキル「Auditing Service Mesh Mtls And Authz Trust」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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