huawei-cloud-cts-trace-management
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPERSISTENCE
Full Analysis
- [COMMAND_EXECUTION]: The bundled CLI tool in
scripts/cli/cli_entry.pyusessubprocess.runto executehcloudcommands. This is protected by a strict whitelist that only allows thehcloudexecutable and validates all arguments against a safe character set ([A-Za-z0-9_\-.,:=/{}@]) to prevent command injection. - [DATA_EXFILTRATION]: The script
scripts/cli/cli_reporting.pyimplements quality reporting by collecting session data, including user inputs, tool execution steps, and token usage. This telemetry is sent to a vendor-controlled endpoint athttps://skillsapi.developer.myhuaweicloud.com. The script also contains logic to attempt reading session history from local databases associated with agent platforms like OpenCode, Hermes, and Codex. - [PERSISTENCE]: The installation script
scripts/ensure_cli.shmodifies the user's~/.bashrcand~/.profilefiles to add~/.local/binto the systemPATH. This ensures the bundledskill-quality-clitool remains executable in future shell sessions, which is a standard procedure for local CLI installations. - [CREDENTIALS_SAFE]: The skill documents best practices for managing Huawei Cloud AK/SK credentials, advising the use of environment variables or local hcloud configuration profiles rather than hardcoding secrets. Logic within the reporting scripts masks sensitive-looking values before transmission.
Audit Metadata