Back to skill

Security audit

talkies

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this speech-service skill suspicious because its documented local file access conflicts with its stated permissions, and some server routes and container image references carry security risks.

Consider the suspicious verdict and incomplete analysis before installing. Review the skill's actual local file access and approve only the specific inputs, outputs, and voice files you intend to use; send content only to a service you trust. If deploying the service, assess authentication and shared-file access, and use a verified, fixed container image version.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (37)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Reading urls.txt is local filesystem access despite the declaration excluding it. The contents are used as remote transcription inputs, making this a legitimate but inaccurately scoped batch workflow rather than evidence of arbitrary local-file collection.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The filesystem permission denies local access, but documented workflows read local audio and URL lists, create directories, and write output files. This understates the access an agent needs and could undermine permission review; however, the claimed deletion of local outputs after failed requests is not demonstrated in the supplied file.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Multipart file uploads read local audio, while redirection and curl output options write local files, contradicting the filesystem declaration. These operations fit the speech workflow and are not evidence of malicious activity, but the inaccurate declaration can conceal required access and overwrite risks.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Redirecting subtitles to ep-042.srt writes and potentially truncates a local file despite the filesystem disclaimer. Subtitle generation is within the declared service purpose, so this is a scope and overwrite issue rather than suspicious functionality.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Saving fox.mp3 is a local filesystem write despite the explicit denial of local filesystem access. The hardcoded example is ordinary TTS functionality, but executing it can replace an existing file in the working directory.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The TTS examples save generated audio locally through curl output options, contrary to the manifest's filesystem disclaimer. These are ordinary output operations, but fixed filenames can overwrite files in the current working directory.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The custom-voice workflow reads a local recording, creates directories, copies audio, and writes transcript and generated-audio files. These operations contradict the filesystem declaration and modify persistent voice assets that the server may immediately expose for synthesis.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The file=@audio.mp3 argument reads and transmits a local file, contrary to the filesystem permission text. Uploading user-selected audio is legitimate and disclosed elsewhere, but permission reviewers should not be told that local reads never occur.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The iteration workflow reads lecture.mp3 and writes several local transcript files, contradicting the filesystem declaration. The format variable comes from a fixed list, so the shown loop does not itself establish arbitrary-path injection, but existing outputs can be overwritten.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The streaming example writes stream.pcm locally, contradicting the declared filesystem scope. This is expected speech-service behavior, but the fixed output name creates a limited accidental overwrite risk.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
93% confidence
Finding

DELETE syntax is not inherently parameter abuse, but the documented endpoint evicts models and is unauthenticated when the optional token is unset. On a reachable default deployment, another caller could repeatedly trigger cold loads or disrupt service; the instruction to seek user approval does not enforce server-side authorization.

Content

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

md
| `GET /healthz` | Unauthenticated liveness. Returns `{ok, device, models}`. |
| `GET /v1/models` | OpenAI-style list of configured slugs. Each entry includes a `modality` field (`asr` or `tts`) so clients can filter. |
| `GET /api/ps` | Currently-loaded models with per-model `idle_seconds`. |
| `DELETE /api/ps/{model_id}` | Evict one model from memory. Slug can be URL-encoded (`/` → `%2F`). 404 if not loaded. |
| `POST /unload` | Evict every loaded model. Returns the list actually unloaded. |

Model eviction (`DELETE /api/ps/...`, `POST /unload`) forces a cold-load for anyone mid-request, so only do it for explicit maintenance the user asked for (e.g. "free up VRAM"). Auth is only enforced when `TALKIES_AUTH_TOKEN` is set — require it on shared deployments and don't expose these routes on an unauthenticated network.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
93% confidence
Finding

This duplicates the model-eviction exposure: the document states that disruptive maintenance routes are protected only when an optional token is configured. The explicit maintenance warning reduces accidental agent misuse but cannot stop unauthenticated callers on an exposed instance.

Content

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

md
| `DELETE /api/ps/{model_id}` | Evict one model from memory. Slug can be URL-encoded (`/` → `%2F`). 404 if not loaded. |
| `POST /unload` | Evict every loaded model. Returns the list actually unloaded. |

Model eviction (`DELETE /api/ps/...`, `POST /unload`) forces a cold-load for anyone mid-request, so only do it for explicit maintenance the user asked for (e.g. "free up VRAM"). Auth is only enforced when `TALKIES_AUTH_TOKEN` is set — require it on shared deployments and don't expose these routes on an unauthenticated network.

Behind these: an **idle sweeper** runs every `TALKIES_SWEEPER_INTERVAL` s (default 60) and unloads anything not used in `TALKIES_MODEL_TTL` s (default 600). Set `TALKIES_MODEL_TTL=0` to disable.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
98% confidence
Finding

The staging API explicitly lacks per-caller ownership, so any API caller can enumerate, read, or delete another caller's files; with authentication unset, any network-reachable caller can do so. Path-traversal protection does not prevent this cross-caller access, and an instruction to delete only one's own files is not an authorization boundary.

Content

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

| GET /v1/files | List every staged file. Returns {"files": [{"path", "size", "modified"}]}. Enumerable by anyone with API access — no per-file ownership/isolation. | | PUT /v1/files/{path} | Upload raw bytes (--data-binary @local-file). Capped at TALKIES_MAX_UPLOAD_BYTES. Atomic write (.part → rename). | | GET /v1/files/{path} | Streams file back. Content-Type guessed by extension. 404 if missing. | | DELETE /v1/files/{path} | Removes a staged file and prunes empty parent dirs (404 if missing). Files don't self-expire, so call this to clean up when done. On a shared bucket every path is listable by any caller, so only remove paths you staged yourself. |

bash
# Stage once.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: 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.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 119)May include surrounding context.

md
# Discover TTS voices, then synthesize an MP3.
curl -s $TALKIES_URL/v1/audio/voices | jq
curl -s $TALKIES_URL/v1/audio/speech \
  -H "Content-Type: application/json" \
  -d '{
        "model": "kokoro-82m",

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 324)May include surrounding context.

Every call sends your input text (and, for voice-cloning slugs, the referenced voice sample) to whatever $TALKIES_URL points at — that data leaves your host. Point $TALKIES_URL only at a talkies instance you run or explicitly trust; prefer HTTPS when it's not localhost/LAN. Don't synthesize sensitive or confidential text through a server you don't control.

bash
curl -s $TALKIES_URL/v1/audio/speech \
  -H "Content-Type: application/json" \
  -d '{
        "model": "kokoro-82m",

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 386)May include surrounding context.

qwen3-tts-* slugs stream response_format=pcm requests as chunked int16 PCM instead of buffering the whole utterance — first-audio latency drops from seconds to sub-second. Kokoro and every non-pcm format are unaffected (buffered as normal). Response carries an X-Sample-Rate header; chunk size (codec steps per yielded chunk) is tunable via TALKIES_QWEN3_STREAM_CHUNK_SIZE (default 8) — see references/setup.md.

bash
curl -s $TALKIES_URL/v1/audio/speech \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3-tts-0.6b","input":"Streaming test.","response_format":"pcm"}' \
  --output stream.pcm

The custom-voice workflow reads and modifies the local filesystem despite the manifest explicitly denying local filesystem access.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The custom-voice commands create local directories, copy a recording, write a transcript, and save generated audio despite the manifest denying local filesystem access. This duplicates the custom-voice TP4 finding and can also overwrite persistent voice assets if executed without checking existing paths.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 435)May include surrounding context.

md
> ~/talkies-data/custom-voices/team-a/jane.txt

# Use it.
curl -s $TALKIES_URL/v1/audio/speech \
  -H "Content-Type: application/json" \
  -d '{
        "model": "qwen3-tts-0.6b",

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 511)May include surrounding context.

bash
# Stage once.
curl -X PUT --data-binary @lecture.mp3 \
  -H "Content-Type: audio/mpeg" \
  $TALKIES_URL/v1/files/lectures/2026-03-15/lecture.mp3

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 590)May include surrounding context.

bash
# tools/list
curl -s $TALKIES_URL/v1/mcp/ \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 636)May include surrounding context.

bash
ffmpeg -i video.mp4 -vn -acodec libmp3lame audio.mp3
curl -s $TALKIES_URL/v1/audio/transcriptions \
  -F "file=@audio.mp3" \
  -F "model=whisper-large-v3" \
  -F "response_format=srt" > video.srt

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 687)May include surrounding context.

md
# Pick a voice from GET /v1/audio/voices, choose a format.
curl -s $TALKIES_URL/v1/audio/voices | jq -r '.voices[].voice'
curl -s $TALKIES_URL/v1/audio/speech \
  -H "Content-Type: application/json" \
  -d '{
        "model": "kokoro-82m",

Docker image referenced without tag or digest: 'docker run -d'.

Medium
Category
MCP Rug Pull
Confidence
91% confidence
Finding

The multiline command does specify an image tag, so the scanner's match on 'docker run -d' is misleading. However, psyb0t/talkies:latest is mutable: a compromised publisher or registry could supply different code that executes with access to the mounted data directory.

Content

No source excerpt is available for this finding.

Docker image referenced without tag or digest: 'docker run -d'.

Medium
Category
MCP Rug Pull
Confidence
91% confidence
Finding

The command includes the latest-cuda tag, contrary to the scanner's truncated match, but does not pin an immutable digest. Replacement of that mutable image could introduce malicious code with access to persisted data and the assigned GPU devices.

Content

No source excerpt is available for this finding.