alibabacloud-db-cost-diagnosis
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill interacts with Alibaba Cloud services by executing the
aliyunCLI as a subprocess. - Evidence: In
scripts/_cli.py, the_call_clifunction usessubprocess.run()with the argument list form to execute commands. All inputs such as billing cycles (--billing-cycle) and instance IDs (--instance-id) are validated using regular expressions or date-parsing logic before being passed to the CLI, effectively preventing shell injection. - [DATA_EXPOSURE]: The skill retrieves account identity and billing details to perform its core function.
- Evidence:
scripts/sts_token.pyexecutessts get-caller-identityto retrieve the Account ID (UID), and other scripts querybssopenapifor cost breakdowns. - Context: The skill is authored by the vendor (aliyun) and targets official vendor endpoints (
business.aliyuncs.com,sts.aliyuncs.com). It strictly forbids the manual entry or storage of credentials, relying on the environment's existing CLI configuration, which is a secure practice for this type of integration.
Audit Metadata