alibabacloud-terraform-code-generation
Pass
Audited by Gen Agent Trust Hub on Jul 9, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes several helper scripts (
scripts/iacservice.py,scripts/static_checks.sh) to perform resource lookups and validate generated HCL code. These scripts invoke the official Alibaba Cloud CLI (aliyun) and standard utilities likegrepandawk. Analysis of the Python scripts shows they use the list-basedsubprocess.runmethod withoutshell=True, which is a secure practice to prevent shell injection. - [EXTERNAL_DOWNLOADS]: The skill includes maintenance scripts (
scripts/build_alicloud_providers.py,scripts/build_deprecated_fields.py) that clone the official Alibaba Cloud Terraform provider repository fromhttps://github.com/aliyun/terraform-provider-alicloud.git. These downloads target the official vendor repository for the purpose of keeping local metadata caches up to date. - [DATA_EXFILTRATION]: Network operations are directed towards official Alibaba Cloud endpoints, specifically
iac.cn-zhangjiakou.aliyuncs.comfor IaCService metadata and validation. The skill uses aconfiguration_sourceheader in the generated HCL for attribution/telemetry, which is a common practice for vendor-provided tooling. - [CREDENTIALS_UNSAFE]: The skill contains explicit, 'hard' rules forbidding the agent from reading, writing, or requesting cloud credentials (AK/SK). It provides clear guidance on using current, secure environment variables (
ALIBABA_CLOUD_ACCESS_KEY_ID, etc.) and delegating authentication to the provider's native credential chain.
Audit Metadata