Back to skill

Security audit

Alibaba Cloud AI Audio CosyVoice Voice Clone

Security checks for vulnerabilities and agentic risk

Overview

This skill is a clearly scoped helper for preparing Alibaba Cloud CosyVoice voice-cloning requests, with privacy and consent considerations but no hidden or destructive behavior found.

Install only if you intend to use Alibaba Cloud Model Studio for voice cloning. Use audio only when you have the rights and consent to create a cloned voice, treat generated voice_id values as sensitive persistent resources, and check Alibaba Cloud retention and deletion controls before enrolling real voices.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill documents local helper and validation commands that read skill files and write artifacts under an output directory, but it declares no explicit tool scope such as permissions or allowed-tools. In an agent environment, missing tool restrictions can lead to broader-than-intended file access or writes if the runtime infers or grants capabilities implicitly.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
89% confidence
Finding

The skill explicitly supports creating cloned voices and reusing the returned voice_id in later synthesis calls, which introduces session/resource persistence beyond a single interaction. Persistent voice identifiers can enable unintended reuse, impersonation, or long-lived handling of sensitive biometric-derived resources if not clearly governed.

Content

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

md
# Model Studio CosyVoice Voice Clone

Use the CosyVoice voice enrollment API to create cloned voices from public reference audio.

## Critical model names

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill description and guidance do not prominently warn that reference audio is uploaded to an external Alibaba Cloud API and that enrollment creates a persistent custom voice resource. Users may unknowingly submit personal or biometric voice data and create retained assets, creating privacy, consent, and compliance risks.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The script sets --language-hint to zh by default, which imposes a specific language/locale behavior unless the user explicitly overrides it. This is a natural-language policy concern because the file does not offer a neutral default or explain why Chinese is required for this skill.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.