alibabacloud-smartag-pilot
Pass
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches the official Alibaba Cloud CLI installation script from
https://aliyuncli.alicdn.com/setup.sh. As this is a resource owned by the vendor (aliyun), it is considered a legitimate dependency for the skill's functionality. - [REMOTE_CODE_EXECUTION]: The skill executes the installation script for the Alibaba Cloud CLI via
curl | bash. While this pattern typically carries risk, in this context it is used to install the necessary vendor tooling and is documented as a pre-check step. - [COMMAND_EXECUTION]: The skill executes various
aliyun smartagcommands to query cloud infrastructure. It also includes a Python script (references/status_inspection_template.py) that wraps these CLI calls usingsubprocess.run. The script includes error handling, retry logic, and uses kebab-case API naming as required by the plugin. - [CREDENTIALS_SAFE]: The skill enforces strict security rules regarding authentication. It explicitly forbids the agent from reading, printing, or asking the user for Access Key (AK) or Secret Key (SK) values. Instead, it directs the user to configure credentials through the official CLI configuration or environment variables outside the session.
- [INDIRECT_PROMPT_INJECTION]: The skill processes JSON data returned from the Alibaba Cloud API. While this represents a data ingestion surface, the skill is focused on infrastructure management and includes specific logic for parsing and sanitizing fields (e.g., using
jqfor null-safety andsafe_extract_listfor consistent structure), which reduces the risk of malicious data influencing agent behavior.
Audit Metadata