skills/mukul975/anthropic-cybersecurity-skills/implementing-pod-security-admission-controller/Gen Agent Trust Hub
implementing-pod-security-admission-controller
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The provided scripts
scripts/agent.pyandscripts/process.pyuse the Pythonsubprocessmodule to executekubectlcommands. This is the primary method the skill uses to interact with the Kubernetes cluster for auditing and configuration. - Evidence:
subprocess.run(cmd, ...)calls in both scripts wherecmdstarts withkubectl. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from a Kubernetes cluster, including namespace labels and pod specifications. This data represents an attack surface where maliciously crafted metadata in the cluster could attempt to influence the agent's behavior.
- Ingestion points: Retrieval of cluster state through
kubectl get namespacesandkubectl get podsinscripts/agent.pyandscripts/process.py. - Boundary markers: Not present; the scripts parse and output cluster data without explicit delimiters or instructions to the LLM to ignore embedded content.
- Capability inventory: The skill has the ability to read and write cluster configuration via
kubectl. - Sanitization: None; the scripts assume the Kubernetes API returns standard, non-malicious content.
Audit Metadata