Logo di Auditing Admission Control Policy Gaps

Auditing Admission Control Policy Gaps

Organizzazione
UnboundCompute
auditing-admission-control-policy-gaps

Verifica i controlli di ammissione del cluster per individuare lacune che consentono a workload non conformi o ostili di passare: un webhook di convalida che, se il backend non è raggiungibile, consente l’accesso per impostazione predefinita; una policy limitata per namespace o label che non copre i namespace rilevanti; un webhook di mutazione le cui modifiche vengono considerate attendibili dai sistemi a valle; oppure un ordine di esecuzione o un’esenzione che permette a un pod con privilegi di aggirare i controlli che dovrebbero bloccarlo. Riguarda i webhook di ammissione di Kubernetes e i motori di policy destinati a imporre la sicurezza dei workload durante la creazione e l’aggiornamento. Usala quando le policy di ammissione sono il controllo che impedisce l’ingresso nel cluster di workload con privilegi, non firmati o con autorizzazioni eccessive. Il workload sottoposto all’ammissione è la sorgente, la risorsa ammessa è la destinazione e la vulnerabilità è la lacuna nella policy che gli ha permesso di passare.

Panoramica

Pubblicato daUnboundCompute
Repositorysecurity-agent-skills
Nome della skillauditing-admission-control-policy-gaps
Stelle
27
Fork
8
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da UnboundCompute su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Auditing Admission Control Policy Gaps in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-admission-control-policy-gaps
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Auditing Admission Control Policy Gaps in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Auditing Admission Control Policy Gaps non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Auditing Admission Control Policy Gaps non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA Auditing Admission Control Policy Gaps?

Verifica i controlli di ammissione del cluster per individuare lacune che consentono a workload non conformi o ostili di passare: un webhook di convalida che, se il backend non è raggiungibile, consente l’accesso per impostazione predefinita; una policy limitata per namespace o label che non copre i namespace rilevanti; un webhook di mutazione le cui modifiche vengono considerate attendibili dai sistemi a valle; oppure un ordine di esecuzione o un’esenzione che permette a un pod con privilegi di aggirare i controlli che dovrebbero bloccarlo. Riguarda i webhook di ammissione di Kubernetes e...

Perché usare Auditing Admission Control Policy Gaps su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Auditing Admission Control Policy Gaps è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Auditing Admission Control Policy Gaps in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-admission-control-policy-gaps. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Auditing Admission Control Policy Gaps?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Auditing Admission Control Policy Gaps?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Auditing Admission Control Policy Gaps: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Auditing Admission Control Policy Gaps è gratuita?

Sì. È pubblicata su GitHub da UnboundCompute con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇