Back to skill

Security audit

Alibaba Cloud ACK

Security checks for vulnerabilities and agentic risk

Overview

Review before installing: this skill treats cluster login credentials as ordinary data and can execute an unverified installer when its CLI is missing.

Require an explicit request for credentials for a specific cluster, restrict their permissions and lifetime, and keep returned kubeconfigs out of chat and logs. Preinstall a verified CLI release and review or disable its automatic skill synchronization. The connector implementation and remote installers are outside the bundle and remain unverified. The artifact supports Review for insufficient credential controls and automatic installation, without evidence establishing malicious intent.

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
  • 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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (8)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The supplied chunk executes an external installer and contains no ACK search or read operations. Nothing shown establishes that this installer is a supporting dependency for ACK access. Its installation and remote-code-execution behavior is not represented by the declared purpose. The downloaded script is not supplied, so its specific effects cannot be determined.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
88% confidence
Finding

Kubeconfig retrieval is a legitimate ACK capability, but this skill permits it under a blanket rule that untagged reads are safe and provides no credential-specific output-handling safeguards. A returned kubeconfig may contain usable authentication material, so careless display, persistence, or logging could expose cluster access; actual permissions depend on the returned credentials.

Content

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

md
## Available actions

- `get_temporary_kubeconfig` — Generate a short-lived kubeconfig for an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.

## Safety

Credential Access

High
Category
Privilege Escalation
Confidence
88% confidence
Finding

This duplicates the credential-handling finding at the same location rather than identifying a separate exploit. The concern is not the word kubeconfig itself, but the combination of sensitive credential retrieval, automatic-read authorization, and missing secret-output protections.

Content

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

md
## Available actions

- `get_temporary_kubeconfig` — Generate a short-lived kubeconfig for an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.

## Safety

External Script Fetching

High
Category
Supply Chain
Confidence
99% confidence
Finding

The command pipes mutable remote content directly into Bash, giving the installation endpoint code-execution authority on the agent's host. HTTPS protects transport but does not establish that the script is safe or unchanged; endpoint compromise could expose local files and credentials accessible to the process.

Content

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

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
## Resources

- Alibaba Cloud ACK homepage: https://www.alibabacloud.com/product/kubernetes
- API documentation: https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/api-cs-2015-12-15-describeclusteruserkubeconfig

The skill exposes temporary cluster-credential generation despite describing its scope as searching and reading ACK data.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The only advertised action retrieves a temporary cluster credential, but the safety rules classify every untagged action as a read that is safe to run directly. This conflates ordinary data retrieval with access to authentication material and can lead an agent to obtain cluster credentials without explicit authorization for that sensitive operation.

Content

No source excerpt is available for this finding.

Fallback setup instructs the agent to execute downloaded installer scripts without a system-integrity warning.

Medium
Category
Output Handling
Confidence
98% confidence
Finding

Both setup examples execute downloaded scripts immediately, without a pinned version or independent integrity verification. Although setup is conditional on a missing CLI, that condition does not prevent a compromised installation endpoint from executing arbitrary code with the agent process's permissions.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% 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 76)May include surrounding context.

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources