huawei-cloud-obs-total-size
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
subprocess.runfunction inscripts/query_obs_total_size.pyto execute thehcloudandobsutilCLI tools. To mitigate risks of command injection, the script passes arguments as a list (argv) rather than a shell string and applies a restrictive regular expression (^[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$) to validate bucket names before execution. - [EXTERNAL_DOWNLOADS]: The documentation in
references/cli-installation-guide.mdprovides installation instructions for official Huawei Cloud tools from vendor-managed domains (e.g.,myhuaweicloud.com). These instructions promote secure practices, such as verifying SHA256 checksums and installing to user-local directories to avoid unnecessary privilege escalation.
Audit Metadata