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
92%
Does it follow best practices?
Impact
100%
1.66xAverage 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 (high risk: 0.90). The skill's docs explicitly instruct agents to fetch and parse third-party content—e.g., references/component-blocks.md allows module sources from public registries, Git URLs and HTTP archives, and references/api-monitoring.md directs AI agents to GET artifacts and diagnostics (apply-description, stack-diagnostics) from the HCP Terraform API and parse their outputs/snippets—so the agent will ingest untrusted, user-provided web content that can materially influence subsequent actions.
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.80). The skill instructs runtime Terraform commands (e.g., "terraform stacks init" / configuration upload) that will fetch and execute remote modules/providers, including module source URLs such as git::https://github.com/org/repo.git//path?ref=v1.0.0 (and HTTP archives like https://example.com/modules/vpc-module.tar.gz), so these external URLs are used at runtime to retrieve code the agent/run-time tooling will execute.
9f2ede9
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.