skills/mukul975/anthropic-cybersecurity-skills/implementing-kubernetes-network-policy-with-calico/Gen Agent Trust Hub
implementing-kubernetes-network-policy-with-calico
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches installation manifests and configuration files for the Tigera operator and Calico custom resources from the official Project Calico GitHub repository. These downloads are standard for deploying and managing the Calico CNI in a Kubernetes environment.
- [COMMAND_EXECUTION]: The included Python scripts,
agent.pyandprocess.py, utilize thesubprocessmodule to executekubectlcommands. These executions are used to retrieve cluster state information, such as namespace lists and existing network policies, and to apply generated security policy templates to the cluster. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The
audit_network_policiesfunction inscripts/agent.pyreads and parses network policy configurations from local JSON files. Additionally,run_kubectlinscripts/process.pyingests and parses stdout from Kubernetes CLI commands. - Boundary markers: The skill does not employ specific delimiters or "ignore previous instructions" markers when processing the content of existing network policies during the audit phase.
- Capability inventory: The skill possesses the capability to execute shell commands through the
kubectlbinary to interact with the Kubernetes API. - Sanitization: The scripts use list-based argument passing for subprocess calls to prevent shell injection, and policy generation is performed using predefined, structured templates rather than raw user input.
Audit Metadata