infrastructure-as-code-terraform

Pass

Audited by Gen Agent Trust Hub on Sep 18, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides comprehensive best practices for Infrastructure as Code (IaC) that align with industry security standards, such as pinning provider versions and using remote backends for state management.
  • [SAFE]: Explicitly instructs the user to keep secrets out of .tf and .tfvars files, recommending environment variables and marking sensitive data with sensitive = true to ensure redaction in logs.
  • [SAFE]: Promotes operational safety by requiring state locking (e.g., via DynamoDB) and recommending small, isolated state files to minimize blast radius.
  • [SAFE]: Includes clear warnings regarding the destructive nature of commands like terraform destroy and provides a safe workflow using plan -destroy for review.
  • [INDIRECT_PROMPT_INJECTION]: The skill describes a standard CI/CD workflow where tool output (Terraform plans) is ingested and posted to external platforms like GitHub PR comments.
  • Ingestion points: Reading plan_output.txt generated by the terraform plan command.
  • Boundary markers: The example utilizes Markdown code blocks to delimit the plan output within the PR comment.
  • Capability inventory: The provided GitHub Actions example utilizes the github.rest.issues.createComment API to export data to the PR interface.
  • Sanitization: The implementation uses slice(-60000) to handle character limits but does not apply specific content sanitization, which is standard for plan review workflows.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 18, 2026, 08:31 AM