castai-common-errors
Pass
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes administrative commands using
kubectl,helm, andterraformto view logs, restart deployments, and manage cluster configurations. Tools are constrained via theallowed-toolsfrontmatter to specifickubectlandcurlpatterns. - [EXTERNAL_DOWNLOADS]: Fetches diagnostic data and policy information from
api.cast.aiandstatus.cast.ai. It also pulls thecurlimages/curlDocker image for in-cluster debugging. These represent well-known services associated with the skill's intended purpose. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface by ingesting untrusted data from the environment.
- Ingestion points: Reads pod logs (
kubectl logs) and cluster events (kubectl get events) inSKILL.mdsections 1, 2, 7, and 10. - Boundary markers: The skill lacks explicit boundary markers for ingested data but includes instructions to "collect the minimum redacted evidence needed".
- Capability inventory: Uses
Bash(kubectl:*)andBash(curl:*)which can be used to modify cluster state or exfiltrate data if the agent is influenced by malicious log content. - Sanitization: Instructions explicitly mandate redacting API keys, raw secrets, and complete workload logs before outputting incident records.
Audit Metadata