T08 · Insecure Dependencies
- Location
SKILL.md:69- Finding
Unpinned Automatic Installation and Update of Aliyun CLI Plugins
- Content
View full analysis
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 on your local machine are always up-to-date. # Enable automatic plugin installation aliyun configure set --auto-plugin-install true # Install DAS plugin (get-yao-chi-agent requires plugin for Signature V3 support) aliyun plugin install --names aliyun-cli-das ``` ### Technical Analysis The Skill requires users to enable automatic plugin installation and update every existing Aliyun CLI plugin. The instructions do not pin the DAS plugin to a reviewed version or require verification of a checksum, package signature, or immutable artifact identifier. Automatic installation allows the effective executable dependency to change after the Skill has been audited. Running `aliyun plugin update` also affects unrelated plugins already present on the host, exceeding the minimum action necessary to invoke the DAS API. The Skill only needs a compatible DAS plugin; automatically updating all plugins is not required for its declared PolarDB diagnostic functionality. Although no malicious plugin is included in the project, these instructions create a supply-chain trust boundary outside the audited package. ### Attack Path 1. A user follows the mandatory setup instructions and enables automatic plugin installation. 2. The user runs the unversioned plugin update or installation command. 3. A compromised distribution service, publisher account, or future plugin release supplies altered plugin code. 4. The Aliyun CLI installs that code without a project-defined integrity or version check. 5. The Skill invokes `aliyun das get-yao-chi-agent`, causing the installed plugin to execute under ...[truncated 832 chars]- Remediation
View remediation
