OpenParable
Skip to content
← Back to skills

Injection

DevOps & Security
injection

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

Flag injection vectors from user-supplied strings — exec, SSRF, fmt.Sprintf-built selectors/URLs, template rendering, query concatenation (CWE-78, CWE-94, CWE-918).

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/injection/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/injection, 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: Injection from User-Supplied Strings

  • os/exec / exec.Command with user-controlled arguments (CWE-78, CWE-94).
  • http.Get / http.NewRequest to URLs built from CR fields (CWE-918 SSRF). Container image refs, init-container pull specs, and webhook target URLs count as untrusted.
  • fmt.Sprintf building YAML, JSON, label selectors, field paths, or API server URLs from user input. Require typed marshalling and labels.SelectorFromSet.
  • Server-side template rendering of annotation/label values (CWE-94).
  • SQL-like or query-language string concatenation against any external store.