T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:12- Finding
Unverified Remote Installer Executed Through a Shell Pipeline
- Content
View full analysis
**Pre-check: Aliyun CLI >= 3.3.3 required** > 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 update, > or see `references/cli-installation-guide.md` for installation instructions. ``` ### Technical Analysis The installation command pipes a response fetched from a mutable external URL directly into Bash. The effective code is not included in the audited package and can change after review. No version pin, checksum validation, digital-signature verification, or local inspection step is required. HTTPS authenticates the connection to the responding server but does not establish artifact immutability. Compromise of the origin, CDN, DNS resolution, publishing account, or deployment pipeline could result in arbitrary commands being returned and immediately executed. This behavior is not necessary for video processing. A package-manager installation or a separately downloaded and verified, versioned artifact would provide the required CLI without direct remote-to-shell execution. ### Attack Path 1. An attacker compromises the remote installer, its publishing pipeline, or the content-delivery infrastructure. 2. The response at `https://aliyuncli.alicdn.com/setup.sh` is replaced with malicious shell commands. 3. A user or agent follows the Skill's prerequisite instruction. 4. `curl` downloads the modified response. 5. Bash immediately executes it without an integrity or review boundary. 6. The payload runs with the invoking user's privileges and can access local files, environment variables, cloud configuration, and credentials available to that user. ### Impact Assessment Successful exploitation provides arbitrary code execution under the account running the Skill. Depending on ...[truncated 221 chars]- Remediation
View remediation
