T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:33- Finding
Remote installation script is executed directly without integrity verification
- Content
View full analysis
Run `aliyun version` to verify >= 3.3.3. If not installed or version too low, > run `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` to install/update, > or see `references/cli-installation-guide.md` for installation instructions. ``` ```bash # references/troubleshooting-guide.md curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash ``` ### Technical Analysis The downloaded response is passed directly to Bash without pinning a release, reviewing the script, or validating a cryptographic checksum or publisher signature. The effective code executed by the Skill can therefore change after the Skill itself has been audited. The hostname appears associated with Alibaba Cloud, but domain legitimacy does not remove the risk of a compromised CDN, hosting account, DNS path, TLS trust chain, or upstream release process. The `-f` and `-s` options also reduce visible diagnostic output, making unexpected delivery behavior less apparent. This installation behavior is not the minimum privilege necessary for configuration diagnosis. The diagnostic workflow requires an Aliyun CLI, but it does not inherently require executing an unverified, mutable script. ### Attack Path 1. An attacker compromises or alters the remote `setup.sh` payload or its distribution path. 2. A user or Agent follows the documented installation or update instruction. 3. `curl` retrieves the attacker-controlled response. 4. Bash executes that response immediately, without an integrity boundary. 5. The payload runs with the privileges of the user who invoked the Skill and can access that user’s files, environment, and configured cloud credentials. ### Impact Assessment A successful at ...[truncated 528 chars]- Remediation
View remediation
