terraform-plan-review
Pass
Audited by Gen Agent Trust Hub on Sep 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes several command-line interface (CLI) tools to manage infrastructure and verify the execution environment.
- In
SKILL.md,aws sts get-caller-identityis executed to ensure the agent is operating within the correct AWS account and role. - In
SKILL.md,terraform init,terraform plan, andterraform showare used to initialize the project and generate the JSON-formatted plan for analysis. - In
SKILL.md,terraform applyis executed to perform infrastructure changes, though this is guarded by a manual approval step. - [INDIRECT_PROMPT_INJECTION]: The skill processes data generated from the local environment which is then passed to subagents for analysis, creating a potential surface for indirect prompt injection.
- Ingestion points: The content of
plan.json, which reflects the local Terraform configuration and state, is interpolated directly into the prompts for theterraform-plan-analyzerandsecurity-reviewersubagents inSKILL.md(Step 3). - Boundary markers: The prompts use descriptive headers like
Plan JSON:to delimit the content, but lack specific instructions for the subagents to ignore potential command-like patterns or malicious instructions embedded within the infrastructure data. - Capability inventory: The skill has significant capabilities, including the ability to modify cloud infrastructure via
terraform applyand execute arbitrary CLI commands in the local shell environment. - Sanitization: There is no explicit sanitization, filtering, or schema validation performed on the
plan.jsoncontent before it is presented to the analysis agents.
Audit Metadata