Authn Authz Relaxation

Flag AuthN/AuthZ relaxation — webhook token skipping, failurePolicy Ignore, missing SubjectAccessReview, wildcard RBAC, privileged pod specs (CWE-269, CWE-287, CWE-306, CWE-862, CWE-863).

kubernetes-sigs Updated

File contents

Skill: AuthN / AuthZ Relaxation

  • Webhook handlers that skip token validation or trust X-Forwarded-For / X-Remote-User (CWE-287, CWE-306).
  • New admission webhooks registered with failurePolicy: Ignore without explicit, documented justification (CWE-352-class bypass).
  • Privileged operations (cross-namespace reads, secret reads, impersonation) on a tenant's behalf without a preceding SubjectAccessReview.
  • New ClusterRoles with wildcard verbs (*) or resources (*). New RBAC must use minimum verbs and prefer RoleBinding over ClusterRoleBinding where namespace scope suffices (CWE-269, CWE-862, CWE-863).
  • Secret reads via a blanket cluster-wide verb instead of resourceNames scoping.
  • Pod specs setting HostPID, HostNetwork, HostIPC, privileged: true, allowPrivilegeEscalation: true, mounting sensitive host paths (/etc/kubernetes, /var/run/docker.sock), or dropping runAsNonRoot: true.

kubernetes-sigs/kueue/tree/main/cmd/experimental/skills/reviewer/security/authn-authz-relaxation commit eeda009631

Frequently asked questions

npx skillmds@latest add kubernetes-sigs-kueue/authn-authz-relaxation