iac-generation
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external Infrastructure as Code (IaC) files through its scanning and pricing capabilities, creating a surface for indirect prompt injection via code comments or metadata.
- Ingestion points: IaC files (Terraform, CloudFormation, Terragrunt) are read from the project directory in the
scanandpricesteps. - Boundary markers: The instructions do not specify explicit delimiters or "ignore embedded instructions" warnings for the processed IaC content.
- Capability inventory: The skill allows for executing the
infracostCLI/MCP tools and performing file system writes to modify IaC resources. - Sanitization: The skill mandates using structured JSON output from Infracost and explicitly prohibits unsafe shell processing (e.g.,
jqorpythonheredocs) for handling tool results, which serves as a sanitization best practice. - [CREDENTIALS_UNSAFE]: The skill promotes secure credential handling by explicitly instructing the agent not to commit authentication tokens or environment variables to the repository.
- [COMMAND_EXECUTION]: The skill utilizes vendor-specific CLI commands (
infracost) and MCP tools for its primary function. These are established vendor resources and do not represent a security risk within the context of the skill's purpose.
Audit Metadata