skills/aliyun/alibabacloud-aiops-skills/alibabacloud-cfw-internet-firewall-protect/Gen Agent Trust Hub
alibabacloud-cfw-internet-firewall-protect
Fail
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill's environment validation script (
scripts/validate-cli.sh) provides instructions to download and execute the Alibaba Cloud CLI installation script fromhttps://aliyuncli.alicdn.com/setup.shvia a pipe to bash. This resource is provided by the official vendor and is intended for necessary tooling setup. - [COMMAND_EXECUTION]: The skill extensively uses the
aliyunCLI tool across multiple scripts (fw-switch.sh,auto-protect.sh,validate-cli.sh) to perform cloud management operations. It also invokespython3via command substitution inscripts/auto-protect.shto perform JSON parsing and configuration merging for the firewall's auto-protection settings. - [INDIRECT_PROMPT_INJECTION]: The skill defines a multi-step workflow in
SKILL.mdwhere the agent is instructed to query assets and then filter them based on user-provided conditions, such as matching instance names (e.g., 'instances whose name contains Dify'). Because instance names and other resource metadata are externally controlled, they could potentially contain malicious instructions intended to influence the agent's behavior during the filtering or preview phases. - Ingestion points: Resource metadata fields including
NameandBindInstanceNamereturned by theDescribeAssetListAPI viascripts/fw-switch.sh query(referenced inSKILL.md). - Boundary markers: None explicitly defined in the instructions for the filtering step.
- Capability inventory: Execution of CLI management tools with write permissions, file system access, and network operations through the Cloud Firewall API.
- Sanitization: While the shell scripts include validation for specific fields like IP addresses and regions, the agent-side natural language filtering of descriptive metadata fields lacks explicit sanitization or instruction boundary protection.
Recommendations
- HIGH: Downloads and executes remote code from: https://aliyuncli.alicdn.com/setup.sh - DO NOT USE without thorough review
Audit Metadata