Back to skill

Security audit

VoiceHue TTS

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report workspace-boundary weaknesses and a private-voice deletion confirmation bypass; analysis was partial, so the evidence is incomplete.

Treat this as a review warning, not a finding of malicious intent. Before installing, weigh the confirmed file-boundary and deletion-confirmation weaknesses, and the incomplete analysis. Consider whether you are comfortable using it with files or private voices until those issues are addressed.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/voicehue.mjs
Finding

Private-voice deletion bypasses the documented confirmation requirement

Content
View full analysis

Impact

An unconfirmed invocation can delete a private voice belonging to the authenticated account. This does not establish cross-account access or author malice.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (16)

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 32)May include surrounding context.

md
- **Workspace boundary**: `scripts/voicehue.mjs` uses only built-in Node.js 18+

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 125)May include surrounding context.

md
see [references/api-and-workflows.md](./references/api-and-workflows.md)).

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 173)May include surrounding context.

md
- **Video voiceovers & batching**: Read [references/api-and-workflows.md](./references/api-and-workflows.md)

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 · scripts/voicehue.mjs (reported line 47)May include surrounding context.

js
Environment:
  VOICEHUE_API_KEY   Required for all commands except "voices" (and optional for "check").
                     Read from process.env, or fallback to VOICEHUE_API_KEY in ./.env.local or ./.env.
                     Create free at https://voicehue.com/dashboard/keys
`;

The documented workspace-only file boundary is not enforced for symbolic links.

High
Category
Excessive Agency
Confidence
99% confidence
Finding

resolveWorkspacePath checks lexical containment only, while subsequent filesystem operations follow symbolic links. A malicious workspace can therefore redirect an input to an outside file for reading and possible upload, or redirect an output file or parent directory to overwrite files outside the advertised workspace boundary.

Content

No source excerpt is available for this finding.

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 · scripts/voicehue.mjs (reported line 298)May include surrounding context.

js
return "";
}

/** Resolves VOICEHUE_API_KEY from process.env, falling back only to ./.env.local or ./.env inside cwd. */
export async function resolveApiKey(env, cwd) {
  const fromEnv = (env?.VOICEHUE_API_KEY || "").trim();
  if (fromEnv) return {key: fromEnv, source: "env"};

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 · scripts/voicehue.mjs (reported line 298)May include surrounding context.

js
return "";
}

/** Resolves VOICEHUE_API_KEY from process.env, falling back only to ./.env.local or ./.env inside cwd. */
export async function resolveApiKey(env, cwd) {
  const fromEnv = (env?.VOICEHUE_API_KEY || "").trim();
  if (fromEnv) return {key: fromEnv, source: "env"};

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 · scripts/voicehue.mjs (reported line 303)May include surrounding context.

js
const fromEnv = (env?.VOICEHUE_API_KEY || "").trim();
  if (fromEnv) return {key: fromEnv, source: "env"};
  if (cwd) {
    for (const file of [".env.local", ".env"]) {
      try {
        const candidate = resolveWorkspacePath(cwd, file);
        const content = await fs.readFile(candidate, "utf8");

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 · scripts/voicehue.mjs (reported line 303)May include surrounding context.

js
const fromEnv = (env?.VOICEHUE_API_KEY || "").trim();
  if (fromEnv) return {key: fromEnv, source: "env"};
  if (cwd) {
    for (const file of [".env.local", ".env"]) {
      try {
        const candidate = resolveWorkspacePath(cwd, file);
        const content = await fs.readFile(candidate, "utf8");

Markdown conversion is recommended without disclosing that document text is sent to VoiceHue.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The verification workflow invites users to convert any Markdown file using the API-backed synthesis command, but does not warn that its text will leave the local environment and be transmitted to VoiceHue. Naming the API provider elsewhere does not explicitly disclose this privacy consequence for potentially sensitive documents.

Content

No source excerpt is available for this finding.

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

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.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
## Network & Security Disclosure

- **Network endpoints**: Connects exclusively to `https://voicehue.com/v1/...`
  (and `https://api.voicehue.com/storage/signed/...` when downloading completed
  async job audio; plus `https://voicehue.com/mcp` if the host agent has the
  VoiceHue MCP server configured). Never sends text, audio, or credentials to
  any third-party host.

Behavior Manipulation

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Subtle instructions detected that may alter agent decision-making or introduce hidden biases.

Content

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

md
## Live Sync & Source of Truth

- **Always prefer live API responses over static snapshots in `references/`**:
  - `GET https://voicehue.com/v1/voices` (`voices`) syncs live with the VoiceHue
    voice library (5-minute cache), including new/retired voices, `tags`,
    `description` / `description_zh`, `tier`, `char_rate`, and `daily_char_limit`.

The synthesis workflow sends document text to VoiceHue without warning the user about third-party processing.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The agent is instructed to synthesize a local Markdown document through the VoiceHue service, but the example does not disclose that the document's cleaned text is transmitted to an external provider. Requesting a local audio file does not necessarily indicate awareness that potentially sensitive document contents leave the user's system.

Content

No source excerpt is available for this finding.

The workflow sends synthesis text and cloning audio to VoiceHue without an explicit privacy disclosure.

Medium
Category
Output Handling
Confidence
86% confidence
Finding

The file instructs the agent to use VoiceHue's hosted API, with reference audio supplied as audio_base64 for cloning and user text supplied for synthesis. Although it requires billing approval and speaker permission, it does not warn users that their text or voice recordings will be transmitted to a third-party service; account-private voice IDs do not address that disclosure.

Content

No source excerpt is available for this finding.

The documented VoiceHue-only network boundary does not cover redirects.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The audio downloader checks only the initial URL, and fetch follows redirects by default. An allowed endpoint that issues an attacker-influenced redirect could cause requests to an unapproved external or internal destination, bypassing the stated network boundary; this download request does not itself include the API key.

Content

No source excerpt is available for this finding.