alibabacloud-network-diagnose
Pass
Audited by Gen Agent Trust Hub on Jul 30, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runandsubprocess.Popento execute the Alibaba Cloud CLI (aliyun). These calls are performed using list-based argument passing rather than shell strings, and all user-supplied inputs (Instance IDs, IP addresses, VPC IDs) are strictly validated against specific regular expressions inscripts/net_common.pyto prevent command injection. - [EXTERNAL_DOWNLOADS]: The
references/cli-installation-guide.mdfile provides instructions to download the official Alibaba Cloud CLI fromaliyuncli.alicdn.com. As this domain is an official vendor resource foraliyun, the download is considered safe. - [DATA_EXFILTRATION]: The skill implements a strict isolation policy documented in
SKILL.mdthat forbids the agent from inspecting or reporting on the runner's local environment (e.g., listening ports, local files, or processes). It uses a local guard file mechanism (.network_diag_workflow_blocked) to ensure no cloud queries are performed until the user has provided specific cloud endpoints. - [CREDENTIALS_UNSAFE]: The skill checks for environment variables (
ALIBABA_CLOUD_ACCESS_KEY_ID, etc.) and the presence of the default CLI configuration file~/.aliyun/config.jsonto verify the environment. It does not hardcode, store, or exfiltrate these credentials, relying instead on the official CLI's internal authentication chain.
Audit Metadata