volcengine-iac
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill manages Volcengine access keys and secret keys provided via environment variables (
VOLCENGINE_ACCESS_KEY,VOLCENGINE_SECRET_KEY). It demonstrates strong security posture by: - Mapping these credentials to standard
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYvariables exclusively for the purpose of authorizing the Terraform S3-compatible backend (Volcengine TOS). - Explicitly instructing users in
SKILL.mdandreferences/backend-tos.mdto avoid committing state files (.tfstate) and to add sensitive outputs to.gitignore. - Utilizing helper scripts (
scripts/export_outputs.sh) that automatically set file mode0600on generated JSON output files containing sensitive data like kubeconfigs or database credentials. - Providing a dedicated "Safety Rules" section in
SKILL.mdthat warns against reading plaintext credentials from local config files. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a data ingestion surface in
scripts/gen_tfvars.py, which reads and processes a deployment context JSON file (.volcengine/deploy-choice.json). This could potentially be used for indirect injection if a malicious source influences the JSON content. However, the risk is mitigated as the script includes ahcl_stringfunction that properly sanitizes values by escaping double quotes and backslashes before writing them to theterraform.tfvarsfile. - [DYNAMIC_EXECUTION]: The skill employs dynamic generation and shell execution to support its primary infrastructure tasks:
scripts/gen_tfvars.pygenerates HCL variable files based on dynamic input.- Various Terraform examples (e.g.,
assets/examples/volcengine-vke-cr-nginx/workload/main.tf) use thelocal-execprovisioner to run Docker commands for logging into private registries and pushing images. These commands are fixed, use validated variables, and are transparently documented in the accompanying reference files.
Audit Metadata