← 返回 Skills 市场
zhaov1976

Voice (Edge TTS)

作者 zhaov · GitHub ↗ · v1.10.0
cross-platform ⚠ suspicious
922
总下载
2
收藏
5
当前安装
2
版本数
在 OpenClaw 中安装
/install voice-edge-tts
功能描述
Convert text to speech using Microsoft Edge TTS with real-time streaming, customizable voice settings, and support for multiple languages including Chinese a...
安全使用建议
This skill appears to be a legitimate Edge TTS tool but the implementation contradicts its security claims. Before installing or enabling it: 1) Do not run it in a sensitive environment until code is audited. 2) Fix the command-execution issues: replace execAsync(string) with spawn/execFile and consistently apply the voice whitelist for all actions. 3) Sanitize and/or restrict inputs used in any command or PowerShell -c invocation (the 'play' action accepts an arbitrary filePath). 4) Remove or correct the hardcoded ffplay path in stream_speak.py and ensure ffmpeg/ffplay usage is documented and optional. 5) Prefer pre-installing Python deps (pip install edge-tts) in a controlled environment rather than allowing runtime pip installs, and verify the source of any npm/pip packages (the package-lock references a non-default mirror). If you are not comfortable reviewing or changing code, avoid installing this skill or run it in an isolated sandbox.
功能分析
Type: OpenClaw Skill Name: voice-edge-tts Version: 1.10.0 The `index.js` file contains a shell injection vulnerability in the `textToSpeech` function, which is used by the 'tts' and 'speak' actions. Parameters like `voice`, `rate`, `volume`, and `pitch` are concatenated directly into a command string executed via `util.promisify(exec)` without sufficient sanitization or validation, despite the `SKILL.md` and `CHANGELOG.md` explicitly claiming 'enterprise-grade security' and 'full command injection protection'. This allows for potential arbitrary command execution if an attacker can control these input options. While the 'stream' action is implemented securely using `spawn` with array arguments and input validation, the inconsistency and critical flaw in other core functionalities make this skill suspicious due to the severe vulnerability.
能力评估
Purpose & Capability
The skill's files and docs align with a Microsoft Edge TTS streaming tool (requires edge-tts and ffmpeg). However, package.json/lock also list an npm 'edge-tts' dependency while the implementation calls the Python CLI (pip edge-tts). This mismatch is odd but plausibly a packaging oversight rather than malicious.
Instruction Scope
SKILL.md repeatedly asserts 'no shell execution' and a strict voice whitelist, but the code contradicts this: index.js builds and runs a concatenated command string via execAsync for general TTS and for installation, and does not apply the voice whitelist for the 'tts' action (whitelist only enforced for 'stream'). The 'play' action calls PowerShell -c with an interpolated file path string, which can be abused if a user-controlled filePath is provided. These inconsistencies increase the chance of command injection or unexpected execution.
Install Mechanism
There is no platform install spec, but the skill contains an installDependencies method that runs 'pip3 install edge-tts' at runtime (network fetch). package-lock.json shows an npm package resolved from a non-default mirror. Runtime installation and mixed packaging (Python CLI expected + npm dependency present) are moderate risk and should be reviewed.
Credentials
The skill requests no environment variables or credentials, which is proportional to a local TTS/playback tool. There are no declared secrets, though runtime pip/network access will occur if install is invoked.
Persistence & Privilege
The skill is not 'always: true' and does not request elevated platform persistence. It does create and clean a local temp directory under a relative path, which is expected behavior for temporary audio files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install voice-edge-tts
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /voice-edge-tts 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.10.0
v1.10: Enterprise-grade security with command injection protection
v1.1.0
v1.1.0: Add streaming playback, fix command injection
元数据
Slug voice-edge-tts
版本 1.10.0
许可证
累计安装 5
当前安装数 5
历史版本数 2
常见问题

Voice (Edge TTS) 是什么?

Convert text to speech using Microsoft Edge TTS with real-time streaming, customizable voice settings, and support for multiple languages including Chinese a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 922 次。

如何安装 Voice (Edge TTS)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install voice-edge-tts」即可一键安装,无需额外配置。

Voice (Edge TTS) 是免费的吗?

是的,Voice (Edge TTS) 完全免费(开源免费),可自由下载、安装和使用。

Voice (Edge TTS) 支持哪些平台?

Voice (Edge TTS) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Voice (Edge TTS)?

由 zhaov(@zhaov1976)开发并维护,当前版本 v1.10.0。

💬 留言讨论