terraform-ops
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external data such as Terraform plan outputs and GitHub Action workflow files, presenting a standard attack surface for indirect prompt injection.
- Ingestion points:
scripts/check-action-refs.shreads content from workflow YAML files;assets/github-actions-terraform.ymlreads the content ofplan.txtto post as a pull request comment. - Boundary markers: The GitHub Action template in
assets/github-actions-terraform.ymlwraps processed plan output in markdown code blocks to provide clear delimitation from other prompt instructions. - Capability inventory: The skill utilizes the
Bashtool to execute infrastructure commands, file operations, and network queries. - Sanitization:
scripts/check-action-refs.shperforms string parsing and validation on extracted action references before resolving them via API calls. - [EXTERNAL_DOWNLOADS]: The skill's CI/CD templates and scripts interact with well-known and official services for configuration and verification.
- Fetches official GitHub Actions from repositories such as
hashicorp/setup-terraform,aws-actions/configure-aws-credentials, andaquasecurity/trivy-action. - Queries the GitHub API (
api.github.com) inscripts/check-action-refs.shto resolve and verify the existence of action reference tags and commit SHAs. - [COMMAND_EXECUTION]: The skill uses the
Bashtool to manage infrastructure state and perform operations. - Executes
terraformortofubinaries for planning, applying changes, and performing state surgery. - Runs utility scripts for staleness verification of workflow references and automated testing.
Audit Metadata