skills/aliyun/alibabacloud-aiops-skills/alibabacloud-oss-cdn-origin-config-diagnosis/Gen Agent Trust Hub
alibabacloud-oss-cdn-origin-config-diagnosis
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill executes the
aliyunCLI usingsubprocess.runwith argument lists inscripts/origin_config_diagnosis.pyandscripts/_oss_client.py. This is used exclusively for read-only operations likests get-caller-identityandcdn describe-cdn-domain-detail. Command injection is prevented by avoiding shell execution and validating the--domaininput against a strict regular expression. - [EXTERNAL_DOWNLOADS]: The
_doc_lookup.pyscript fetches content fromhelp.aliyun.comto verify configuration logic against official documentation. This is a well-known vendor service, and the script implements a host whitelist and strict URL validation to ensure only trusted content is retrieved. - [INDIRECT_PROMPT_INJECTION]: The skill has a surface for indirect prompt injection via the
--questionparameter used for documentation lookup. Evidence chain: 1) Ingestion points:scripts/origin_config_diagnosis.py. 2) Boundary markers: Present inSKILL.md(Mandatory entry-point enforcement and Execution Principle) which direct the agent to rely on structured script findings. 3) Capability inventory:subprocess.runandurllib.request.urlopen(limited to GET). 4) Sanitization:_doc_lookup.pyimplements_clean_excerptto strip markdown and limit text length. The primary diagnostic logic remains isolated from this input. - [CREDENTIALS_UNSAFE]: The skill follows secure credential management by utilizing the Alibaba Cloud default credential chain (environment variables and local CLI configuration). It explicitly prohibits hardcoding or passing AccessKeys directly in the instructions or script arguments.
Audit Metadata