Logo de Auditing Admission Control Policy Gaps

Auditing Admission Control Policy Gaps

Organização
UnboundCompute
auditing-admission-control-policy-gaps

Audite o controle de admissão do cluster em busca de falhas que permitam a entrada de cargas de trabalho não conformes ou maliciosas: um webhook de validação que falha de modo permissivo quando seu backend fica indisponível; uma política com escopo definido por namespace ou rótulo que deixa de fora os namespaces relevantes; um webhook de mutação cujas alterações são consideradas confiáveis pelos componentes seguintes; e uma ordem de execução ou exceção que permite a um pod privilegiado ignorar as verificações que deveriam impedi-lo. Abrange webhooks de admissão do Kubernetes e mecanismos de políticas que deveriam impor a segurança das cargas de trabalho no momento da criação e da atualização. Use quando as políticas de admissão forem o controle que impede a entrada no cluster de cargas de trabalho privilegiadas, sem assinatura ou com permissões excessivas. A carga de trabalho enviada para admissão é a origem, o recurso admitido é o destino, e a falha na política que permitiu sua entrada é a vulnerabilidade.

Visão geral

Publicado porUnboundCompute
Repositóriosecurity-agent-skills
Nome da habilidadeauditing-admission-control-policy-gaps
Estrelas
27
Forks
8
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por UnboundCompute no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Auditing Admission Control Policy Gaps no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-admission-control-policy-gaps
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Auditing Admission Control Policy Gaps em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Auditing Admission Control Policy Gaps automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Auditing Admission Control Policy Gaps não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo 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.

Perguntas frequentes

O que a habilidade de IA Auditing Admission Control Policy Gaps faz?

Audite o controle de admissão do cluster em busca de falhas que permitam a entrada de cargas de trabalho não conformes ou maliciosas: um webhook de validação que falha de modo permissivo quando seu backend fica indisponível; uma política com escopo definido por namespace ou rótulo que deixa de fora os namespaces relevantes; um webhook de mutação cujas alterações são consideradas confiáveis pelos componentes seguintes; e uma ordem de execução ou exceção que permite a um pod privilegiado ignorar as verificações que deveriam impedi-lo. Abrange webhooks de admissão do Kubernetes e mecanismos de...

Por que usar Auditing Admission Control Policy Gaps no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Auditing Admission Control Policy Gaps é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Auditing Admission Control Policy Gaps no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-admission-control-policy-gaps. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Auditing Admission Control Policy Gaps?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Auditing Admission Control Policy Gaps?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Auditing Admission Control Policy Gaps com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Auditing Admission Control Policy Gaps é gratuita?

Sim. A habilidade é publicada no GitHub por UnboundCompute sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇