Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.
95
93%
Does it follow best practices?
Impact
98%
1.58xAverage score across 3 eval scenarios
Advisory
Suggest reviewing before use
Security
2 findings — 2 medium severity. This skill can be installed but you should review these findings before use.
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
Third-party content exposure detected (medium risk: 0.65). The required runtime workflow (API monitoring) fetches deployment diagnostics and artifacts from HCP Terraform, and those responses include free-form diagnostic text fields like `attributes.summary`, `attributes.detail`, and `attributes.diags[].snippet.code`, which are outsider-authored content from the service/other parties and can be ingested into the agent’s LLM context via the monitoring/parsing path.
The skill fetches instructions or code from an external URL at runtime, and the fetched content directly controls the agent’s prompts or executes code. This dynamic dependency allows the external source to modify the agent’s behavior without any changes to the skill itself.
Potentially malicious external URL detected (high risk: 0.90). The skill includes remote module/source references that Terraform will fetch and execute at runtime (e.g., git::https://github.com/org/repo.git//path?ref=v1.0.0 and https://example.com/modules/vpc-module.tar.gz), which are remote code dependencies required by the Stack and therefore pose a runtime code-execution risk.
bde3ed3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.