T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:114- Finding
Mutable Remote Installer Is Piped Directly into Bash
- Content
View full analysis
= 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 install/update, > or see `references/cli-installation-guide.md` for installation instructions. > Then [MUST] run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation. > Then [MUST] run `aliyun plugin update` to ensure that any existing plugins are always up-to-date. ``` ### Technical Analysis The Skill instructs the Agent to retrieve a mutable shell script from an external URL and execute it immediately through Bash. The script is not saved for inspection, pinned to a specific version, checked against a cryptographic digest, or validated with a vendor signature. The hostname appears related to Alibaba Cloud, but domain reputation alone does not establish the integrity of the payload over time. The effective code can change after this Skill has been reviewed. Compromise of the hosting infrastructure, DNS or TLS trust chain, publishing account, or setup script would consequently provide a direct code-execution channel. The subsequent mandatory commands increase supply-chain exposure by enabling automatic plugin installation and updating existing plugins to whatever versions are current at execution time. These executable components are also not pinned to audited versions. Installing or updating the CLI is a prerequisite operation rather than part of the declared MongoDB health-inspection functionality. Automatically executing mutable installation code therefore exceeds the minimum privileges and behavior required to produce a read-only report. ### Attack Path 1. The Agent loads the Skill and determines that Aliyun CLI ...[truncated 1274 chars]- Remediation
View remediation
