senior-devops
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/terraform_scaffolder.pyscript utilizessubprocess.runto execute localterraformcommands for formatting and validation. These executions are performed using list-based arguments without a shell, which mitigates the risk of command injection.\n- [INDIRECT_PROMPT_INJECTION]: Thescripts/deployment_manager.pyscript generates a runbook of shell commands that includes a user-provided--health-check-url. There is a potential for command injection if an agent executes the generated runbook without sanitizing the URL, as shell metacharacters are not escaped in the generated output.\n - Ingestion points: The
health_check_urlargument inscripts/deployment_manager.pyprovides an entry point for untrusted data into the agent's generated workflow.\n - Boundary markers: No explicit delimiters or warnings are present in the generated runbook to instruct the agent to ignore embedded instructions within the interpolated URL.\n
- Capability inventory: The skill possesses the ability to write to the file system and execute the
terraformbinary via subprocess calls.\n - Sanitization: While the script uses a regular expression to extract a safe health path for the Kubernetes manifest, the shell command in the runbook uses the raw input string without shell-escaping or validation.
Audit Metadata