Back to skill

Security audit

alibabacloud-support

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious with medium confidence: it flags an installer that runs an unverified download and concerns about whether users understand consent, while parts of the scan were incomplete.

Treat this as a review-required listing, not a finding that the author is malicious. Before installing, consider whether you trust the download sources and can verify installers independently; note that some instructions were not fully analyzed, so the scan cannot resolve all uncertainty.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
Findings (79)

Tainted flow: 'command' from sys.stdin.read (line 1470, user input) → subprocess.run (code execution)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

External input (network, user) flows to a code execution sink. This enables remote code execution or command injection.

Content

Scanner excerpt · scripts/aliyun_support.py (reported line 1431)May include surrounding context.

python
def run_cli_process(command: list[str], timeout: int) -> tuple[int, str, str]:
    completed = subprocess.run(
        command,
        capture_output=True,
        text=False,

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
All Workorder operations and all self-service advisor operations go through `scripts/aliyun_support.py`. ABSOLUTE PROHIBITION on calling `aliyun workorder ...`

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- **Python 3.9+** — required for `scripts/aliyun_support.py` (entry script).

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
`scripts/aliyun_support.py` prints a single machine-readable JSON document on stdout and progress or degradation notes on stderr. `rules status` reports `source

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
`advisor` verbs. Called only through `aliyun_support.py`.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/aliyun_support.py doctor python3 scripts/aliyun_support.py rules status

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/aliyun_support.py catalog products --name <short-keyword> python3 scripts/aliyun_support.py catalog categories --product-id <ProductId-from-this

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/aliyun_support.py match --product-id <ProductId-from-step-2> --category-id <CategoryId-from-step-2>

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/aliyun_support.py match --local-only --product <product-name-from-customer>

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
`python3 scripts/aliyun_support.py advisor match --input - --product "<productName>"`. `--product` is the `productName` step 2 read from the live catalog and no

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/aliyun_support.py draft --input - <<'JSON' { "category": {"productId": "<ProductId-from-step-2>", "productName": "<real-product-name>", "categor

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/aliyun_support.py ticket preview-create \ --category-id <CategoryId-from-step-2> --severity 1 --title <TITLE> --content-file -

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/aliyun_support.py advisor resolve <slug> --download-if-missing --consent-token <installConsentToken-from-this-run's-advisor-match> --customer-an

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/aliyun_support.py ticket create \ --category-id <CategoryId-from-step-2> --severity 1 --title <TITLE> --content-file - \ --confirmation-token <C

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/aliyun_support.py ticket list --days 30 --page-number 1 --page-size 20 python3 scripts/aliyun_support.py ticket get --ticket-id <TICKET_ID> pyth

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
preview-reply --ticket-id <TICKET_ID> --content-file - python3 scripts/aliyun_support.py ticket reply --ticket-id <TICKET_ID> --content-file - --confirmation-to

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
scripts/aliyun_support.py ticket preview-evaluate --ticket-id <TICKET_ID> --score 5 --solved true --content-file - python3 scripts/aliyun_support.py ticket eval

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
--solved true --content-file - --confirmation-token <TOKEN> python3 scripts/aliyun_support.py ticket preview-close --ticket-id <TICKET_ID> python3 scripts/aliyu

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
`SKILL.md` or `scripts/*.py` at the customer site, on downloading or executing runtime updates of this skill, and on sending any credential, UID or raw customer

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
number or a step number; the name of this skill's own `SKILL.md`, its `references/` or its `scripts/`, and any account of reading them; a name for an internal s

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
`installResult` at all - nothing was fetched - so never report one. Read that `SKILL.md` and follow its own workflow in this turn; never improvise substitute c

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The Linux installation command pipes a mutable network response directly into bash without checking a pinned digest or signature. Compromise of the publishing endpoint or distribution infrastructure could execute arbitrary code with the invoking user's access, potentially exposing local cloud credentials; the separate installation-consent requirement limits unsolicited execution but does not authenticate the script.

Content

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

md
## Prerequisites

- **Python 3.9+** — required for `scripts/aliyun_support.py` (entry script).
- **aliyun CLI >= 3.3.3** — required for every Workorder OpenAPI call (`list-products`, `list-categories`, `create-ticket`, `list-tickets`, `get-ticket`, `reply-ticket`, `close-ticket`, `evaluate-ticket`, `list-ticket-notes`). The plugin-mode command surface this skill invokes was introduced in aliyun CLI 3.3.3 and hardened in 3.4.x; the current verified combination is aliyun CLI 3.4.5 with the `aliyun-cli-workorder` 0.9.0 plugin. Install or upgrade with `brew install aliyun-cli` / `brew upgrade aliyun-cli` on macOS, or `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` on Linux; confirm with `aliyun version`. If the installed version is below 3.3.3 the entry script returns an `not-installed` diagnostic and no CLI process is spawned.

## Data Flows and External Calls

Self-Modification

High
Category
Rogue Agent
Confidence
90% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

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

validated, redacted, non-blocking ticket body → preview-* └─ customer confirmation → create | reply | evaluate | close └─ ticket get / ticket list → status, engineer reply, clickable ticket URL

text

There is no rule download and no self-update anywhere in this chain. The one acquisition it can perform is the pinned, hash-verified install of a missing self-service skill, and only after the
customer chose `A`.

## Execution Flow

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · scripts/aliyun_support.py (reported line 103)May include surrounding context.

python
def cli_environment() -> dict:
    env = os.environ.copy()
    rendered = build_user_agent()
    for name in USER_AGENT_ENVS:
        env[name] = rendered

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, file_write, network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.