terraform-validator
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill's scripts (
extract_tf_info_wrapper.shandinstall_checkov.sh) automatically download and install Python packages (python-hcl2andcheckov) from the public PyPI registry usingpipwithout pinning to specific versions or hashes. - [COMMAND_EXECUTION]: The skill requires the execution of multiple shell commands and scripts (e.g.,
terraform,tflint,checkov,extract_tf_info_wrapper.sh) to perform its primary function of infrastructure validation. - [PERSISTENCE]: The installation process creates a persistent execution wrapper at
~/.local/bin/checkov, which modifies the environment by adding a new binary to the user's path. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes HCL files (Terraform configuration) from potentially untrusted sources, providing a surface for indirect prompt injection.
- Ingestion points: Terraform configuration files (
.tf,.tfvars) processed viascripts/extract_tf_info_wrapper.shandscripts/run_checkov.sh. - Boundary markers: Absent; there are no specific delimiters or "ignore" instructions for the HCL content being processed.
- Capability inventory: Subprocess calls to
terraform,checkov, andtflintacross multiple scripts; file writing for reports and testing. - Sanitization: Partial; the HCL parser
extract_tf_info.pyusespython-hcl2to convert input to structured JSON, andrun_checkov.shvalidates output format flags.
Audit Metadata