build-oci-iam-main-tf
Warn
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
run_oci_commandtool via the Model Context Protocol (MCP) to validatetenancy_ocidvalues. The instructions construct the command by interpolating user-supplied input directly into a string:iam compartment get --compartment-id <TENANCY_OCID>. This pattern creates an argument injection surface if the input contains additional CLI flags or command separators that are not filtered before the tool is invoked. - [INDIRECT_PROMPT_INJECTION]: The workflow requires the agent to 'Inspect the project root, its Terraform files, repository documentation, provider/backend setup, and established file layout.' Ingesting content from untrusted external repositories into the agent's context creates a surface for indirect prompt injection, where malicious instructions in those files could influence the agent's behavior during the configuration generation process.
- Ingestion points: Reads local
.tf,.tfstate, and documentation files from the target project directory (SKILL.md, validation.md). - Boundary markers: No explicit delimiters or instructions to ignore embedded commands within those files are specified.
- Capability inventory: The skill has the ability to write/modify local files and execute OCI commands via the MCP interface (SKILL.md, validation.md).
- Sanitization: Validation is performed for OCID format and name uniqueness, but there is no general sanitization or escaping of the content read from files before it is processed.
- [EXTERNAL_DOWNLOADS]: The skill generates Terraform configuration that fetches modules from the
oci-landing-zones/terraform-oci-modules-iamrepository on GitHub. This is the primary intended function of the skill and targets a well-known, relevant organization.
Audit Metadata