Logo von Auditing Admission Control Policy Gaps

Auditing Admission Control Policy Gaps

Organisation
UnboundCompute
auditing-admission-control-policy-gaps

Prüfen Sie die Admission Control eines Clusters auf Lücken, durch die nicht konforme oder bösartige Workloads zugelassen werden: ein validierender Webhook, der bei Nichterreichbarkeit seines Backends Zugriff gewährt, eine Richtlinie, deren Geltungsbereich nach Namespace oder Label festgelegt ist und dadurch wichtige Namespaces auslässt, ein mutierender Webhook, dessen Änderungen nachgelagerte Komponenten ungeprüft übernehmen, sowie eine Reihenfolge oder Ausnahme, die es einem privilegierten Pod ermöglicht, die vorgesehenen Prüfungen zu umgehen. Abgedeckt sind Kubernetes-Admission-Webhooks und Richtlinien-Engines, die die Workload-Sicherheit beim Erstellen und Aktualisieren durchsetzen sollen. Verwenden Sie diesen Skill, wenn Admission-Richtlinien verhindern sollen, dass privilegierte, nicht signierte oder übermäßig berechtigte Workloads in den Cluster gelangen. Der zur Admission eingereichte Workload ist die Quelle, die zugelassene Ressource das Ziel und die Richtlinienlücke, durch die sie zugelassen wurde, die Schwachstelle.

Übersicht

HerausgeberUnboundCompute
Repositorysecurity-agent-skills
Skill-Nameauditing-admission-control-policy-gaps
Sterne
27
Forks
8
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von UnboundCompute auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Auditing Admission Control Policy Gaps in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-admission-control-policy-gaps
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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-admission-control-policy-gaps .claude/skills/auditing-admission-control-policy-gaps
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Auditing Admission Control Policy Gaps in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Auditing Admission Control Policy Gaps automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Auditing Admission Control Policy Gaps nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Auditing admission control policy gaps: when the gatekeeper waves it through

Admission control is the cluster's gate: every create and update passes through validating and mutating webhooks that are supposed to reject workloads that break policy, privileged pods, unsigned images, over-broad service accounts, host mounts. The gate only protects the cluster if it actually fires on the requests that matter and cannot be skipped. In practice it is riddled with quiet gaps: a webhook configured to fail open so an unreachable backend admits everything, a policy scoped to some namespaces but not the one an attacker targets, an exemption for system workloads that a hostile pod can wear, and a mutating webhook whose output later stages trust without re-validating. A gate with a gap is worse than no gate, because teams believe it is enforcing. You audit this by checking, for each policy, whether it fires on every relevant request and whether anything can bypass it.

When to use

  • Admission webhooks or a policy engine are the control keeping non-compliant workloads out of the cluster.
  • Webhooks may fail open, be scoped narrowly, carry exemptions, or run in an order that allows a bypass.
  • A mutating webhook changes resources that later stages or other policies trust without re-checking.

Scope check

Test admission control only on clusters you own or are authorized to assess, on non-production namespaces. Probing a policy means submitting workloads to a real cluster, so use a non-production namespace and remove any test workload you create. If you can't name the authorization, stop.

The loop

  1. Establish what each policy must enforce and where first. Name the rules admission control is supposed to guarantee (no privileged pods, only signed images, no host mounts) and the full set of namespaces they must cover. This is the false-positive killer: a policy that fires closed on every relevant request across every namespace, with no usable exemption, is doing its job. Name the intended coverage, then test against it.

  2. Check the failure mode of each webhook. Read whether each validating webhook fails open or closed when its backend is unavailable or times out. A fail-open webhook admits everything the moment its backend is unreachable, so an attacker who can stress or block the backend disables the policy. Confirm security- critical webhooks fail closed.

  3. Map policy scope against the namespaces that matter. Compare each policy's namespace and label selectors to the namespaces where a hostile workload could land. A policy scoped to a subset, or keyed on a label the submitter controls, misses the target namespace or is dodged by omitting the label. Find the gap between where the policy fires and where it needs to.

  4. Hunt exemptions and bypasses. Identify every exemption: system namespaces, service-account allowlists, and objects excluded by name or label. Check whether a hostile workload can place itself in an exempt namespace, assume an exempt identity, or set an exempt label. An exemption an attacker can wear is a full bypass of the policy.

  5. Check mutating-webhook trust and ordering. Where a mutating webhook injects or alters fields (sidecars, defaults, security context), confirm the result is still validated afterward and that the mutation cannot be used to satisfy or skip a later check. A mutation trusted downstream, or a webhook order that lets a resource avoid validation, is a structural gap.

  6. Confirm and record. Confirm by admitting a workload that the policy should reject through a real gap, fail-open under backend pressure, an uncovered namespace, an exemption worn by the test workload, in a non-production namespace and removing it after. Kill the lead if every security-critical webhook fails closed, policies cover all relevant namespaces without submitter-controlled scoping, no exemption is attacker-assumable, and mutations are re-validated. Record the submitted workload, the admitted-resource sink, and the policy gap that let it through.

Where admission gaps leak

  • Fail-open webhooks disable under pressure. A webhook that admits on backend error is off the moment its backend is unreachable, which an attacker can arrange.
  • Narrow scope misses the target namespace. A policy that fires in some namespaces but not the one a workload lands in never sees the request.
  • Submitter-controlled selectors are dodgeable. Scoping on a label the submitter sets lets a workload omit the label and escape the policy.
  • An attacker-wearable exemption is a bypass. An exempt namespace, identity, or label that a hostile workload can adopt skips the check entirely.
  • Trusted mutations skip validation. A mutating webhook whose output is not re-validated lets an injected change satisfy or evade a later policy.

Worked example (a confirm and a kill)

Confirm. A policy engine forbids privileged pods, but its validating webhook is configured to fail open, and the same policy exempts a system namespace by name. Submitting a privileged pod while the webhook backend is briefly unreachable admits it, and submitting one directly into the exempt namespace admits it even when the backend is healthy. Confirmed admission bypass of the privileged-pod policy, high, remediation = set the security-critical webhook to fail closed, remove or tightly gate the namespace exemption, and scope policies on cluster-controlled attributes rather than submitter-set labels.

Kill. Every security-critical webhook fails closed, the no-privileged-pod policy applies to all namespaces with no exemption a workload can place itself into, scoping uses attributes the submitter cannot forge, and mutating webhooks are followed by a validating pass over the final object. A privileged pod is rejected from every namespace and under backend failure. Killed, kill_reason = "webhooks fail closed, policy covers all namespaces with no attacker-wearable exemption, and mutations are re-validated; no submitted workload evades the gate."

Rationalizations to reject

  • "The policy engine forbids that." → Confirm the webhook fails closed and covers the target namespace; a fail-open or unscoped policy forbids nothing when it does not fire.
  • "Only system namespaces are exempt." → Check whether a hostile workload can land in or assume a system namespace or identity; an exemption is only safe if it is unreachable.
  • "We scope by label." → If the submitter sets the label, they can omit it; scope on attributes the cluster controls, not the request.
  • "The mutating webhook adds our security defaults." → Confirm the mutated object is validated afterward; a trusted mutation is a place to smuggle a non-compliant field.
  • "Admission control is enabled." → Enabled is not enforcing; a gate with a fail-open, a scope gap, or an exemption admits exactly what it was meant to stop.

Executing this in practice

You need each webhook's failure policy, the namespace and label scope of every policy, the full exemption list, the mutating-then-validating ordering, and the set of namespaces a hostile workload could target. For each policy, ask whether it fires on every relevant request and whether anything can skip it. Reading the webhook and policy configuration shows the intended gate; admitting a should-be-rejected workload through a gap in a non-production namespace shows whether it holds.

Related

  • auditing-container-image-provenance - the image-signing policy is one of the rules admission control enforces; this skill checks whether that enforcement can be bypassed.
  • hunting-container-escape-surface - the privileged and host-mount settings admission control is meant to block; a gap here lets exactly those workloads in.
  • auditing-kubernetes-workload-and-rbac-hardening - the workload posture admission control enforces at create time; audit the policy and the posture together.
  • adjudicating-taint-paths - use it to reason about whether a submitter-controlled attribute reaches the policy's scoping decision.
  • FINDING-SCHEMA.md - source = the workload submitted for admission, sink = the admitted resource, evidence = the policy gap that let it through.

Häufig gestellte Fragen

Was macht der KI-Skill Auditing Admission Control Policy Gaps?

Prüfen Sie die Admission Control eines Clusters auf Lücken, durch die nicht konforme oder bösartige Workloads zugelassen werden: ein validierender Webhook, der bei Nichterreichbarkeit seines Backends Zugriff gewährt, eine Richtlinie, deren Geltungsbereich nach Namespace oder Label festgelegt ist und dadurch wichtige Namespaces auslässt, ein mutierender Webhook, dessen Änderungen nachgelagerte Komponenten ungeprüft übernehmen, sowie eine Reihenfolge oder Ausnahme, die es einem privilegierten Pod ermöglicht, die vorgesehenen Prüfungen zu umgehen. Abgedeckt sind Kubernetes-Admission-Webhooks u...

Warum Auditing Admission Control Policy Gaps in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Auditing Admission Control Policy Gaps besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Auditing Admission Control Policy Gaps in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-admission-control-policy-gaps ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Auditing Admission Control Policy Gaps nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Auditing Admission Control Policy Gaps verwenden?

So viele Sie möchten. In TypingMind können Sie Auditing Admission Control Policy Gaps mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Auditing Admission Control Policy Gaps kostenlos?

Ja. Der Skill wird von UnboundCompute auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇