OpenParable
Skip to content
← Back to skills

Nil Safety

Testing & Quality
nil-safety

Nil Safety is an Agent Skill for testing & quality published in the kubernetes-sigs/kueue repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Flag unguarded dereferences of optional pointer fields reachable from a malformed CR, and goroutines without recover (CWE-476).

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/kubernetes-sigs/kueue/blob/HEAD/cmd/experimental/skills/reviewer/security/nil-safety/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/nil-safety, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Skill: Nil-Safety and Crash Resistance (CWE-476)

  • Unguarded dereferences of optional pointer fields reachable from a malformed CR (Workload.Status.Admission, ClusterQueue.Spec.Cohort, optional sub-structs, slice elements). A panic in scheduler cache construction or webhook handling wedges the scheduling loop — treat as high severity.
  • Goroutines launched outside the controller-runtime workqueue without a deferred recover() or a documented panic policy.