mutating admission webhook

A Kubernetes hook that lets an external service change every new object, such as a pod, before it is stored.

A malicious webhook can change every workload the cluster starts.

In more detail

An attacker who registers a mutating webhook can inject a container or command into every new pod in the cluster, a powerful and quiet form of persistence. Creating MutatingWebhookConfiguration objects should be tightly restricted and audited.

Related terms

Taught in

References