Logo : Auditing Service Mesh Mtls And Authz Trust

Auditing Service Mesh Mtls And Authz Trust

Organisation
UnboundCompute
auditing-service-mesh-mtls-and-authz-trust

Auditez un service mesh pour repérer les garanties de confiance qu’il promet sans les appliquer : un mesh en mode permissif qui accepte le trafic en clair en plus du TLS mutuel, laissant passer des appelants non authentifiés ; une politique d’autorisation absente, trop restrictive dans sa portée ou configurée par défaut pour autoriser les accès ; un service joignable en dehors du mesh, ce qui contourne entièrement le sidecar ; et une vérification d’identité qui fait confiance à un en-tête que l’appelant peut définir. Cela couvre les service meshes où les sidecars sont censés appliquer le TLS mutuel et l’autorisation entre services pour les charges de travail. À utiliser lorsqu’un mesh est le mécanisme chargé de déterminer qui peut appeler qui et de garantir l’authentification des appels. L’appelant non authentifié ou non autorisé est la source, le service appelé est la cible ; la faille réside dans le mode permissif ou l’absence de politique d’autorisation qui le laisse passer.

Présentation

ÉditeurUnboundCompute
Dépôtsecurity-agent-skills
Nom de la compétenceauditing-service-mesh-mtls-and-authz-trust
Étoiles
27
Forks
8
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par UnboundCompute sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Auditing Service Mesh Mtls And Authz Trust dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-service-mesh-mtls-and-authz-trust
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Auditing Service Mesh Mtls And Authz Trust dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Auditing Service Mesh Mtls And Authz Trust dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Auditing Service Mesh Mtls And Authz Trust n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Foire aux questions

À quoi sert la compétence IA Auditing Service Mesh Mtls And Authz Trust ?

Auditez un service mesh pour repérer les garanties de confiance qu’il promet sans les appliquer : un mesh en mode permissif qui accepte le trafic en clair en plus du TLS mutuel, laissant passer des appelants non authentifiés ; une politique d’autorisation absente, trop restrictive dans sa portée ou configurée par défaut pour autoriser les accès ; un service joignable en dehors du mesh, ce qui contourne entièrement le sidecar ; et une vérification d’identité qui fait confiance à un en-tête que l’appelant peut définir. Cela couvre les service meshes où les sidecars sont censés appliquer le TL...

Pourquoi utiliser Auditing Service Mesh Mtls And Authz Trust sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Auditing Service Mesh Mtls And Authz Trust se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Auditing Service Mesh Mtls And Authz Trust dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-service-mesh-mtls-and-authz-trust. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Auditing Service Mesh Mtls And Authz Trust ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Auditing Service Mesh Mtls And Authz Trust ?

Autant que vous le souhaitez. Vous pouvez utiliser Auditing Service Mesh Mtls And Authz Trust avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Auditing Service Mesh Mtls And Authz Trust est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par UnboundCompute sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇