terraform-validator
Pass
Audited by Gen Agent Trust Hub on Mar 4, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill uses
pipto install thecheckovsecurity scanner and thepython-hcl2HCL parsing library from PyPI. These are established, well-known services for infrastructure-as-code tooling. - [COMMAND_EXECUTION]: The skill executes various CLI tools including
terraform,tflint, andcheckovthrough shell wrappers. These wrappers manage environment variables and ensure that tools are run from isolated virtual environments. - [PROMPT_INJECTION]: The skill is designed to process and analyze user-provided Terraform configuration files (.tf), which serves as a surface for indirect prompt injection.
- Ingestion points: The skill reads local Terraform files through the
extract_tf_info.pyscript and therun_checkov.shscanner. - Boundary markers: No explicit delimiters are specified in the workflow to encapsulate or neutralize potentially malicious instructions embedded in HCL comments or resource names within the processed files.
- Capability inventory: The skill can perform
terraform init, which allows for network access to fetch providers and modules, and provides detailed audit reports based on file content. - Sanitization: The skill utilizes the
python-hcl2library for structured parsing of Terraform files, providing better security than regex-based extraction, though it does not explicitly sanitize output before it is returned to the agent context.
Audit Metadata