huawei-cloud-sac-dify
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external web pages via the
extract_sac_deploy_info.pyscript. - Ingestion points: The
extract_sac_deploy_info.pyscript uses Playwright to browse a user-provided or default Huawei Cloud solution URL and extract text, prices, and links into a JSON structure. - Boundary markers: The extracted data is returned as a structured JSON object, but the text content within fields like
titleandestimated_price_textis not explicitly sanitized or delimited for embedded instructions when displayed to the agent. - Capability inventory: The skill has the capability to execute shell commands (
terraform,playwright-cli) and perform file operations in the temporary directory. - Sanitization: While the script uses regular expressions to filter for specific data types (prices, URLs), the raw text extracted from the page is interpolated into the agent's context.
- [COMMAND_EXECUTION]: The skill executes various CLI tools including
terraformandplaywright-clito manage cloud infrastructure. - Evidence:
scripts/playwright_utils.pyusessubprocess.runto invoke the Playwright CLI for web scraping. The main workflow inSKILL.mdorchestrates the deployment viaterraform init,plan,apply, anddestroy. - [EXTERNAL_DOWNLOADS]: The skill downloads infrastructure templates and binaries from external sources.
- Evidence:
SKILL.mdusescurlto fetch a Terraform template (dify-ecs.tf) from a Huawei Cloud OBS bucket (documentation-samples.obs.cn-north-4.myhuaweicloud.com). - Evidence:
references/cli-installation-guide.mdprovides links to download the Terraform binary from HashiCorp's official release site (releases.hashicorp.com). - [DYNAMIC_EXECUTION]: The skill generates and executes JavaScript code at runtime to facilitate web scraping tasks.
- Evidence:
scripts/playwright_utils.pycontains arun_pw_codefunction that writes a JavaScript snippet from a template to a temporary file and executes it using theplaywright-cli run-codecommand.
Audit Metadata