Back to skill

Security audit

Taobao Native CLI

Security checks for vulnerabilities and agentic risk

Overview

This Taobao shopping skill matches its stated purpose, but it needs review because it can run an unverified desktop installer and perform account-affecting shopping actions with limited confirmation safeguards.

Install only if you are comfortable giving the agent control over a logged-in Taobao desktop session. Before installation, verify the installer source and publisher outside the skill, and require the agent to ask before deleting cart items, submitting reviews, sending seller messages, or taking any purchase-related step.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

T03 · Remote Payload Retrieval and Execution

Warning
Location
references/install-download.md:12
Finding
Mutable Remote Installer Is Downloaded and Executed Without Integrity Verification## Vulnerability Details **File Location**: `references/install-download.md`, lines 12–33 **Vulnerability Type**: Remote payload retrieval and execution without cryptographic verification **Risk Level**: Medium ### Vulnerable Code ```text https://tblifecdn.taobao.com/taobaopc/ai/latest ``` ```markdown ## Download and installation logic 1. Download the installer according to the current platform and architecture. 2. Install it: - On Windows, the installation wizard can be run using a command such as: `powershell -Command "Start-Process -FilePath '{download path}' -ArgumentList '/S'"` Do not use `-Wait`; after installation, poll for the “Taobao Desktop” process. - On macOS, mount the `.dmg` and drag the application into place or use the provided installation process. 3. Start it if it did not start automatically. ``` ### Technical Analysis The installation procedure constructs an installer URL beneath a mutable `latest` endpoint and subsequently executes the downloaded artifact. The procedure does not pin a specific release, verify a cryptographic checksum, validate a detached signature, or require verification of the operating-system publisher signature before execution. Because the remote artifact can change after the Skill has been reviewed, the effective code executed by the installation workflow is not represented by the audited project contents. If the CDN account, distribution infrastructure, DNS resolution, TLS termination, or hosted installer were compromised, an attacker could substitute a malicious executable. The Windows instructions increase the exposure by supporting the `/S` silent-installation argument, which can execute the substituted payload with limited visibility to the user. The URL is hosted on an apparent Taobao-controlled domain, and the audit found no evidence that the current installer is malicious. The vulnerability is the absence of controls that establish the authentici ...[truncated 1528 chars]
Remediation
## Remediation Suggestions 1. Replace the mutable `latest` location with an explicitly versioned installer URL. 2. Publish a trusted SHA-256 or stronger digest for every platform-specific artifact and verify it before mounting or executing the installer. 3. On Windows, validate the Authenticode signature, expected signer identity, certificate chain, and signature status before calling `Start-Process`. 4. On macOS, verify the Developer ID signature and notarization status with `codesign` and `spctl` before installation. 5. Abort installation on any digest, signature, signer-identity, or notarization mismatch; do not provide an option to bypass verification automatically. 6. Require explicit user confirmation immediately before executing the verified installer, especially when silent installation is proposed. 7. Prefer the least-privileged installation mode and avoid running the agent or installer as an administrator unless the operating system requires it and the user expressly approves. 8. Record the resolved version, download URL, verified digest, and signer identity in an audit log.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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
Findings (1)

Missing User Warnings

Medium
Confidence
92% confidence
Finding
The skill provides a concrete workflow for deleting items from the shopping cart, including how to identify and click the delete control, but it does not require explicit user confirmation immediately before the destructive action. In an agent setting, ambiguous user intent, stale context, or element-matching mistakes could cause unintended item deletion, especially because the workflow recommends index-based clicking after DOM scanning and notes that no preselection is needed.

Static analysis

No suspicious patterns detected.