dsh-tts
github.com/GooDAnDReaDY/dsh-tts
v0.4.33
界面与主题
可执行外部程序写入文件发起网络请求
DeepSeek Harness 多引擎语音合成:云端与本地引擎、流式音频、IT 术语词典与即时通讯集成
作者原文(英文)
Text-to-speech for DeepSeek Harness: speak agent replies in the Web UI with a provider fallback chain (OpenAI, ElevenLabs, Google, Azure, Groq, Deepgram, OpenRouter, Edge, Piper, eSpeak).
中文简介由 DeepSeek 模型翻译,仅供参考。
dshdsh-plugindeepseek-harnessttsspeechvoiceopenaielevenlabs
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注3需留意3一般17未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注4 处命中lib/engines/f5.js:1import { spawn } from 'node:child_process'lib/local.js:1import { spawn } from 'node:child_process'lib/engines/types.js:1import { execFile } from 'node:child_process'lib/updater.js:1import { spawn } from 'node:child_process'- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意9 处命中lib/cache.js:18if (!ready) ready = fs.promises.mkdir(dir, { recursive: true })lib/cache.js:118await fs.promises.writeFile(path.join(dir, key + AUDIO_EXT), buf)lib/cache.js:119await fs.promises.writeFile(path.join(dir, key + '.json'), JSON.stringify({ mime, at: now }))lib/cache.js:152await fs.promises.writeFile(path.join(dir, key + '.json'), JSON.stringify({ mime: hit.mime, at: now }))- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意2 处命中lib/client.js:94return fetch(url, fetchOpts).then((res) => {lib/updater.js:185const response = await fetch(`${registry.replace(/\/$/, '')}/${encodeURIComponent(packageName)}/latest`, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- R011 客户端可疑脚本
client-side-risk需留意1 处命中- client.js: postMessage 无 origin 校验
- 浏览器侧代码能改你看到的界面。确认改动范围符合插件用途。
- 接触凭据或密钥
credentials一般160 处命中lib/client.js:840'chainHintCard': 'Pick a provider, paste its API key, and Save (or leave the key field). The key is written to the host …lib/client.js:842'chainHint': 'Top to bottom is the fallback order. Cloud keys are saved to the host credentials store, never into plugin…lib/client.js:880'advancedHint': 'Limits and endpoint overrides. Provider API keys stay in the chain editor; credential slot names (*KeyE…lib/client.js:946'customKeyEnvHint': 'Credential name for the custom endpoint bearer key.',- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取文件
reads-files一般14 处命中lib/cache.js:65files = await fs.promises.readdir(dir)lib/cache.js:77const meta = JSON.parse(await fs.promises.readFile(path.join(dir, key + '.json'), 'utf8'))lib/cache.js:165const meta = JSON.parse(await fs.promises.readFile(path.join(dir, key + '.json'), 'utf8'))lib/cache.js:166const audio = await fs.promises.readFile(path.join(dir, key + AUDIO_EXT))- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般10 处命中lib/http-util.js:76const expectedToken = process.env.DSH_AUTH_TOKEN || process.env.DSH_TOKENlib/index.js:300root: process.env.DSH_HOME || path.join(os.homedir(), '.dsh'),lib/index.js:308return process.env[ref] || ''lib/index.js:397root: process.env.DSH_HOME || path.join(os.homedir(), '.dsh'),- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 4 |
| 写入文件 | writes-files | 需留意 | 9 |
| 发起网络请求 | network | 需留意 | 2 |
| R011 客户端可疑脚本 | client-side-risk | 需留意 | 1 |
| 接触凭据或密钥 | credentials | 一般 | 160 |
| 读取文件 | reads-files | 一般 | 14 |
| 读取环境变量 | reads-env | 一般 | 10 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 26 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)