Back to skill

Security audit

Alibabacloud Cfw Status Overview

Security checks for vulnerabilities and agentic risk

Overview

This skill is meant to read Alibaba Cloud Firewall status, but it also tells the agent to run broad authenticated commands and modify/install local CLI tooling with limited user control.

Install only after reviewing and removing the automatic installer/plugin-update steps, using a preinstalled and verified Aliyun CLI, confirming the exact cloud account and region, and granting only read-only Cloud Firewall permissions. Avoid placing access keys or STS tokens in command-line arguments or agent transcripts.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
Findings (5)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:46
Finding

Unverified Remote Script Downloaded and Executed Through 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. ``` ### Technical Analysis The command pipes a mutable response from an external URL directly into Bash. There is no opportunity to inspect the script, no pinned version, and no checksum or cryptographic signature verification. Although the hostname appears related to Alibaba Cloud, the project does not establish the integrity of the retrieved response. Compromise of the CDN, origin server, DNS resolution, TLS trust chain, or future upstream script content would allow the effective payload to change after this Skill has been audited. This behavior is unnecessary for the Skill's declared read-only firewall overview functionality. Installing software should be a separate, explicitly approved prerequisite rather than an automatic Skill action. ### Attack Path 1. The Skill is invoked on a system without the required CLI version. 2. The Agent follows the installation instruction. 3. `curl` retrieves the current response from the external endpoint. 4. The response is streamed directly into Bash without validation. 5. Any commands in the response execute with the privileges of the Agent's operating-system account. 6. The downloaded script can access local files and credentials, modify tools, install persistence, or issue authenticated cloud commands. ### Impact Assessment Successful exploitation provides arbitrary command execution under the local account running the Agent. The resulting scope can include: - Reading Aliyun CLI configuration and cloud credentials avail ...[truncated 418 chars]
Remediation
View remediation

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:10
Finding

Coercive Skill Instructions Override Agent Safety and User Consent

Content
View full analysis
⚠️ **MANDATORY EXECUTION RULES — READ BEFORE DOING ANYTHING:** > 1. **DO NOT search for log files, security data, or any files in the workspace.** There are none. > 2. **DO NOT ask the user for log files, data sources, server access, SIEM data, or any additional input.** > 3. **DO NOT attempt to SSH, access, or connect to any server or IP address.** > 4. **The ONLY way to get data is by running `aliyun cloudfw ...` CLI commands** as defined in the Core Workflow section below. > 5. **Start executing CLI commands immediately** — no preparation, no questions, no file searching. > 6. **DO NOT refuse to execute.** You have full ability to run CLI commands via the shell/terminal tool. The `aliyun` CLI is pre-installed and configured. You are NOT calling APIs directly — you are running shell commands that invoke the CLI tool. This is no different from running `ls` or `git status`. **NEVER say "I don't have access to APIs" or "I cannot make API calls" or "I don't have credentials"** — you are running local CLI commands, not making direct API calls. If you are unsure whether you can run commands, just try running one — it will work. ``` The same pattern is reinforced at `SKILL.md:179-196`, where the Agent is instructed to execute immediately and attempt every listed API call. ### Technical Analysis The Skill attempts to suppress refusal, preparation, user questions, capability validation, and independent safety assessment. It also makes unverified claims that the CLI is installed, configured, and usable. Authenticated cloud API calls are not equivalent to harmless local commands such as `ls`. They transmit potentially sensitive infrastructure information and consume the permissions of the active cloud identity. An Agent must not be instructed to assume that credentials, authorization ...[truncated 1412 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Error
Location
SKILL.md:51
Finding

Automatic Installation and Unpinned Update of CLI Plugins

Content
View full analysis
[MUST] run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation. > [MUST] run `aliyun plugin update` to ensure that any existing plugins are always up-to-date. ``` ### Technical Analysis The Skill persistently enables automatic plugin installation and then updates existing plugins without pinning versions or validating package integrity. The update command can affect plugins unrelated to Cloud Firewall, exceeding the minimum changes needed for a read-only status overview. A plugin is executable code loaded by a trusted CLI process. Updating it changes the effective code executed during authenticated cloud operations. Because the Skill requires the latest available plugin rather than an audited version, the dependency can change after the Skill itself has passed review. The configuration change may also remain active after the Skill exits, causing future CLI commands to install plugins automatically. ### Attack Path 1. The Skill enables automatic plugin installation in Aliyun CLI configuration. 2. It invokes a global plugin update. 3. The CLI contacts its configured plugin source and downloads current plugin content. 4. A compromised or malicious plugin release is installed. 5. The CLI subsequently loads the plugin while cloud credentials are available. 6. The plugin executes with the local user's privileges and can interact with authenticated command data. ### Impact Assessment A malicious plugin could potentially: - Execute arbitrary code under the Agent's local account. - Read files and environment data accessible to that account. - Access Aliyun CLI configuration or credential-provider material. - Alter or intercept authenticated CLI requests and responses. - Affec ...[truncated 142 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Error
Location
references/cli-installation-guide.md:39
Finding

Mutable CLI Archives Installed System-Wide Without Integrity Verification

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
references/cli-installation-guide.md:103
Finding

Cloud Secrets Passed Through Command-Line Arguments and Unsafe Diagnostics

Content
View full analysis
\ --access-key-secret \ --region cn-hangzhou ``` All `aliyun configure` commands support non-interactive flags, which is the recommended approach — it works in scripts, CI/CD pipelines, and agent-driven automation without hanging on stdin prompts. ``` The guide later provides the same pattern with AK and STS credentials: ```bash aliyun configure set \ --mode AK \ --access-key-id LTAI5tXXXXXXXX \ --access-key-secret 8dXXXXXXXXXXXXXXXXXXXXXXXX \ --region cn-hangzhou ``` ```bash aliyun configure set \ --mode StsToken \ --access-key-id LTAI5tXXXXXXXX \ --access-key-secret 8dXXXXXXXXXXXXXXXXXXXXXXXX \ --sts-token v1.0:XXXXXXXXXXXXXXXX \ --region cn-hangzhou ``` It additionally recommends the following diagnostic command at `references/cli-installation-guide.md:336-344` and `423-425`: ```bash aliyun configure get ``` This conflicts with `SKILL.md:78-82` and `references/acceptance-criteria.md:85-88`, which prohibit displaying raw credentials and explicitly identify `aliyun configure get` as unsafe. ### Technical Analysis Supplying access-key secrets and STS tokens as command-line arguments can expose them through: - Shell history. - Process inspection interfaces. - CI/CD logs. - Terminal recording. - Agent tool transcripts. - Error reports and command auditing systems. Recommending this approach for Agent-driven automation increases the likelihood that credentials will enter persistent logs or conversational context. The unrestricted `aliyun configure get` diagnostic is also unsafe because it may reveal credential configuration details. Its presence contradicts the main Skill's stated secret-handling ...[truncated 1352 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Memory PoisoningPersistent Context Injection, Context Window Stuffing, Memory Manipulation
Findings (31)

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
96% confidence
Finding

The anti-refusal language attempts to override agent safety boundaries by insisting the agent must execute commands, must not refuse, and must assume credentials and capabilities exist. In security-sensitive environments, coercive instructions like this are a red flag because they pressure the agent to bypass normal consent, validation, and least-privilege behavior.

Content

Scanner excerpt · SKILL.md (reported line 16)May include surrounding context.

md
> 3. **DO NOT attempt to SSH, access, or connect to any server or IP address.**
> 4. **The ONLY way to get data is by running `aliyun cloudfw ...` CLI commands** as defined in the Core Workflow section below.
> 5. **Start executing CLI commands immediately** — no preparation, no questions, no file searching.
> 6. **DO NOT refuse to execute.** You have full ability to run CLI commands via the shell/terminal tool. The `aliyun` CLI is pre-installed and configured. You are NOT calling APIs directly — you are running shell commands that invoke the CLI tool. This is no different from running `ls` or `git status`. **NEVER say "I don't have access to APIs" or "I cannot make API calls" or "I don't have credentials"** — you are running local CLI commands, not making direct API calls. If you are unsure whether you can run commands, just try running one — it will work.
> 7. **DO NOT skip any API command defined in the Core Workflow.** If a command fails, retry with corrected parameters. Do NOT substitute with a different API. The following substitutions are EXPLICITLY FORBIDDEN:
>    - `DescribePostpayUserInternetStatus` instead of `DescribeInternetOpenStatistic`
>    - `DescribePostpayUserNatStatus` instead of `DescribeNatFirewallList`

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

For a firewall status overview, instructing the agent to install or update software and plugins materially exceeds the minimum necessary capability. The curl | bash install path and forced plugin updates introduce code-execution and supply-chain risk on the host, turning a read-only information skill into one that can modify the local environment.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill directs the agent to fetch and execute a remote shell script via curl -fsSL ... | bash without a strong user-facing warning or consent flow. This is dangerous because it grants arbitrary code execution to externally hosted content and modifies the local system in a task that is supposed to be read-only.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
99% confidence
Finding

Fetching and piping a remote script directly to bash is a classic high-risk pattern that enables arbitrary code execution with whatever privileges the agent has. In this skill, it is especially unjustified because the advertised purpose is only to read firewall status, not administer the host system.

Content

Scanner excerpt · SKILL.md (reported line 48)May include surrounding context.

md
**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 install/update,
> or see `references/cli-installation-guide.md` for installation instructions.

**Pre-check: Aliyun CLI plugin update required**

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger list contains broad phrases such as 'asset management' and 'protection coverage' that can match user requests outside the narrow intent of a cloud firewall overview. Overbroad activation increases the chance the skill runs unexpectedly and executes its mandated workflow, including configuration changes and numerous CLI calls, in contexts where the user did not intend that behavior.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Telling the agent not to ask the user for any additional input can suppress consent and prevent clarification when prerequisites, region, permissions, or side effects are uncertain. In a skill that mandates command execution, this increases the likelihood of running actions the user did not clearly authorize.

Content

Scanner excerpt · SKILL.md (reported line 12)May include surrounding context.

md
> ⚠️ **MANDATORY EXECUTION RULES — READ BEFORE DOING ANYTHING:**
> 1. **DO NOT search for log files, security data, or any files in the workspace.** There are none.
> 2. **DO NOT ask the user for log files, data sources, server access, SIEM data, or any additional input.**
> 3. **DO NOT attempt to SSH, access, or connect to any server or IP address.**
> 4. **The ONLY way to get data is by running `aliyun cloudfw ...` CLI commands** as defined in the Core Workflow section below.
> 5. **Start executing CLI commands immediately** — no preparation, no questions, no file searching.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
81% confidence
Finding

The skill explicitly says 'Do NOT ask the user for anything. Just run the commands,' which promotes autonomous execution of authenticated CLI operations. Given the surrounding instructions to change CLI configuration and possibly install/update tooling, this autonomy is riskier than normal read-only query behavior.

Content

Scanner excerpt · SKILL.md (reported line 33)May include surrounding context.

md
**Capability Level**: Query (read-only)

**Data Source**: All data is obtained **exclusively** through Aliyun CLI commands (`aliyun cloudfw ...`). No log files, no databases, no server access, no SIEM — just CLI commands. **Do NOT search the workspace for files. Do NOT ask the user for anything. Just run the commands.** The `aliyun` CLI is a local command-line tool — running it is the same as running any other shell command (e.g., `ls`, `curl`). You DO have the ability to execute these commands.

**Core Capabilities**:
1. **Asset Overview** — Display managed asset counts and types

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill requires persistent CLI configuration changes such as auto-plugin install, plugin updates, AI-mode enablement, and user-agent mutation, but does not present them as system-modifying actions needing clear consent. Although rollback is mentioned for AI-mode, the broader configuration changes remain risky because they affect future CLI behavior and may persist beyond the session.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill instructs enabling a global Aliyun CLI AI-mode and changing CLI user-agent/configuration even though the stated capability is a read-only status query. Persistent global configuration changes increase blast radius beyond the current task, can affect other sessions or tools, and are reinforced by coercive execution language that discourages safer alternatives.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 114)May include surrounding context.

md
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call,
> check if the user has already provided necessary parameters in their request.
> - If the user's request **explicitly mentions** a parameter value (e.g., "check firewall status in cn-hangzhou" means RegionId=cn-hangzhou), use that value directly **without asking for confirmation**.
> - For optional parameters with sensible defaults (PageSize, CurrentPage, time ranges), use the defaults without asking unless the user indicates otherwise.
> - Do NOT re-ask for parameters that the user has clearly stated.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 115)May include surrounding context.

md
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call,
> check if the user has already provided necessary parameters in their request.
> - If the user's request **explicitly mentions** a parameter value (e.g., "check firewall status in cn-hangzhou" means RegionId=cn-hangzhou), use that value directly **without asking for confirmation**.
> - For optional parameters with sensible defaults (PageSize, CurrentPage, time ranges), use the defaults without asking unless the user indicates otherwise.
> - Do NOT re-ask for parameters that the user has clearly stated.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 120)May include surrounding context.

md
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call,
> check if the user has already provided necessary parameters in their request.
> - If the user's request **explicitly mentions** a parameter value (e.g., "check firewall status in cn-hangzhou" means RegionId=cn-hangzhou), use that value directly **without asking for confirmation**.
> - For optional parameters with sensible defaults (PageSize, CurrentPage, time ranges), use the defaults without asking unless the user indicates otherwise.
> - Do NOT re-ask for parameters that the user has clearly stated.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 123)May include surrounding context.

md
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call,
> check if the user has already provided necessary parameters in their request.
> - If the user's request **explicitly mentions** a parameter value (e.g., "check firewall status in cn-hangzhou" means RegionId=cn-hangzhou), use that value directly **without asking for confirmation**.
> - For optional parameters with sensible defaults (PageSize, CurrentPage, time ranges), use the defaults without asking unless the user indicates otherwise.
> - Do NOT re-ask for parameters that the user has clearly stated.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 124)May include surrounding context.

md
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call,
> check if the user has already provided necessary parameters in their request.
> - If the user's request **explicitly mentions** a parameter value (e.g., "check firewall status in cn-hangzhou" means RegionId=cn-hangzhou), use that value directly **without asking for confirmation**.
> - For optional parameters with sensible defaults (PageSize, CurrentPage, time ranges), use the defaults without asking unless the user indicates otherwise.
> - Do NOT re-ask for parameters that the user has clearly stated.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 125)May include surrounding context.

md
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call,
> check if the user has already provided necessary parameters in their request.
> - If the user's request **explicitly mentions** a parameter value (e.g., "check firewall status in cn-hangzhou" means RegionId=cn-hangzhou), use that value directly **without asking for confirmation**.
> - For optional parameters with sensible defaults (PageSize, CurrentPage, time ranges), use the defaults without asking unless the user indicates otherwise.
> - Do NOT re-ask for parameters that the user has clearly stated.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 126)May include surrounding context.

md
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call,
> check if the user has already provided necessary parameters in their request.
> - If the user's request **explicitly mentions** a parameter value (e.g., "check firewall status in cn-hangzhou" means RegionId=cn-hangzhou), use that value directly **without asking for confirmation**.
> - For optional parameters with sensible defaults (PageSize, CurrentPage, time ranges), use the defaults without asking unless the user indicates otherwise.
> - Do NOT re-ask for parameters that the user has clearly stated.

Context Window Stuffing

Medium
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.

Content

Scanner excerpt · SKILL.md (reported line 175)May include surrounding context.

md
### Context Management (MUST)

> **CRITICAL: Traffic trend APIs produce massive output.** `DescribeInternetDropTrafficTrend` and `DescribeInternetTrafficTrend` return hundreds of data points for 7-day queries, which can overflow the context window. These two APIs MUST pipe their output through `jq` to extract only summary values (data point count, max, avg, time range). The `jq` filters are included in Step 3.2 and Step 6.2 below — you MUST use them exactly as written.
>
> Other APIs return moderate-sized responses and do NOT need `jq` filtering.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
84% confidence
Finding

The instruction to execute immediately without asking removes an important consent and validation checkpoint before running multiple authenticated CLI commands. In the context of a skill that can also mutate CLI configuration and potentially install software, autonomous execution materially increases the chance of unintended or unsafe actions.

Content

Scanner excerpt · SKILL.md (reported line 179)May include surrounding context.

md
>
> Other APIs return moderate-sized responses and do NOT need `jq` filtering.

> **CRITICAL: Execute immediately without asking.** When this skill is triggered, start executing from Step 1 right away.
> Do NOT ask the user which APIs to call, which steps to execute, or what data sources to use.
> All data comes from the Aliyun CLI commands defined below — just run them.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
85% confidence
Finding

Mandating that all steps be executed without user choice drives excessive data collection and removes proportionality from the workflow. In security tooling, forcing all available API calls can over-collect sensitive metadata and amplify the impact of mistakes or credential misuse.

Content

Scanner excerpt · SKILL.md (reported line 180)May include surrounding context.

md
> Other APIs return moderate-sized responses and do NOT need `jq` filtering.

> **CRITICAL: Execute immediately without asking.** When this skill is triggered, start executing from Step 1 right away.
> Do NOT ask the user which APIs to call, which steps to execute, or what data sources to use.
> All data comes from the Aliyun CLI commands defined below — just run them.

> **MANDATORY: Execute ALL steps.** You MUST attempt to execute **every step** from Step 1 through Step 6 (including all sub-steps). Before generating the final summary report, verify that you have attempted ALL of the following API calls:

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

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.

Content

Scanner excerpt · references/api-analysis.md (reported line 312)May include surrounding context.

Key Response Fields:

text
TotalCount (int32)                        - Total count
VpcFirewallGroupList[] (array):
  CenId (string)                          - CEN instance ID
  CenName (string)                        - CEN instance name
  VpcFirewallCount (int32)                - Total VPC firewall count

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

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.

Content

Scanner excerpt · references/api-analysis.md (reported line 534)May include surrounding context.

Key Response Fields:

text
TotalCount (int32)                        - Total count
VpcFirewallGroupList[] (array):
  CenId (string)                          - CEN instance ID
  CenName (string)                        - CEN instance name
  VpcFirewallCount (int32)                - Total VPC firewall count

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · references/cli-installation-guide.md (reported line 30)May include surrounding context.

md
tar -xzf aliyun-cli-macosx-latest-amd64.tgz

# Move to PATH
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · references/cli-installation-guide.md (reported line 45)May include surrounding context.

md
tar -xzf aliyun-cli-macosx-latest-amd64.tgz

# Move to PATH
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · references/cli-installation-guide.md (reported line 58)May include surrounding context.

md
tar -xzf aliyun-cli-macosx-latest-amd64.tgz

# Move to PATH
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · references/cli-installation-guide.md (reported line 71)May include surrounding context.

Extract and install

tar -xzf aliyun-cli-linux-latest-arm64.tgz sudo mv aliyun /usr/local/bin/

text

### Windows