T08 · Insecure Dependencies
- Location
references/cli-installation-guide.md:41- Finding
Unverified Privileged Installation of a Mutable CLI Binary
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly coherent for Alibaba Cloud PAI-DLC job management, but its install, credential, and permission guidance is too broad and risky for default use.
Install only if you are comfortable reviewing the referenced setup docs first. Prefer a package manager or verified pinned Aliyun CLI release, avoid auto plugin updates unless you accept new remote code, configure credentials outside the agent using short-lived or least-privileged identities, and narrow RAM permissions to the specific workspace/job operations you actually need.
references/cli-installation-guide.md:41Unverified Privileged Installation of a Mutable CLI Binary
SKILL.md:50Automatic and Unpinned Aliyun Plugin Installation and Update
references/cli-installation-guide.md:121Cloud Credentials Exposed Through Command-Line Arguments and Environment Variables
references/ram-policies.md:37Account-Wide Job Management and Terminal Permissions in the Standard RAM Policy
The manifest description limits scope to PAI-DLC job CRUD, monitoring, and GPU sanity check, but the documented workflow also includes AIWorkSpace discovery calls such as listing workspaces, images, datasets, and code sources. Those cross-product operations are treated as required steps for create-job in the body of the skill, so the manifest understates actual operational scope.
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
tar -xzf aliyun-cli-macosx-latest-amd64.tgz
# Move to PATH
sudo mv aliyun /usr/local/bin/
# Verify
aliyun version
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
tar -xzf aliyun-cli-macosx-latest-amd64.tgz
# Move to PATH
sudo mv aliyun /usr/local/bin/
# Verify
aliyun version
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
tar -xzf aliyun-cli-macosx-latest-amd64.tgz
# Move to PATH
sudo mv aliyun /usr/local/bin/
# Verify
aliyun version
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
tar -xzf aliyun-cli-linux-latest-arm64.tgz sudo mv aliyun /usr/local/bin/
### Windows
The skill is described as managing PAI-DLC jobs, monitoring them, and listing GPU sanity check results, but this file instructs users to configure multiple global Aliyun authentication modes, ECS RAM roles, custom ECS endpoints, proxy settings, and to run generic ECS commands such as describe-regions. Those capabilities are broader than what is justified for a narrowly scoped PAI-DLC job-management skill and encourage account-wide cloud access setup rather than service-specific usage.
The examples place long-lived secrets directly on the command line via --access-key-id and --access-key-secret. In many environments, command-line arguments can be exposed through shell history, process listings, CI logs, or telemetry, which can leak cloud credentials and enable unauthorized access.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
1. Log in to Aliyun Console: https://ram.console.aliyun.com/
2. Navigate to: AccessKey Management
3. Create a new AccessKey pair
4. Save the secret immediately — it's only shown once
### Configuration Modes
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
# Restrict permissions
chmod 600 ~/.aliyun/config.json
The manifest advertises triggers for core PAI-DLC job operations, logs, events, and sanity checks, but the skill also documents use of commands like list-workspaces, list-image-labels, list-images, list-datasets, list-code-sources, and list-ecs-specs. While related to job creation, these capabilities broaden the practical behavior beyond what the manifest says is covered.
No suspicious patterns detected.