D

dsh-ears

github.com/WizisCool/dsh-ears

v0.4.1 模型与账号 含混淆或编码代码发起网络请求写入文件

Voice input plugin for DeepSeek Harness: microphone, transcription, and optional dsh LLM polishing into an editable draft

该插件尚未翻译,显示作者原文。

dshdeepseek-harnessvoicespeech-to-textwhisperasr
分类
model
发布
2026-09-28
版本
v0.4.1

检测报告

有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
3需留意4一般17未命中
高关注需留意一般

能力清单

  • 含混淆或编码代码obfuscated-code需留意10 处命中
    • lib/polish/prompts.d.ts:1export declare const POLISH_SYSTEM_PROMPT = "# Role\nYou clean Automatic Speech Recognition (ASR) transcripts into ready…
    • 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
  • 发起网络请求network需留意5 处命中
    • lib/index.js:1052const response = await fetch(endpoint, {
    • lib/index.js:1138const response = await fetch(endpoint, {
    • lib/index.js:1366const response = await fetch(endpoint, {
    • lib/index.js:1549const response = await fetch(endpoint, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意4 处命中
    • lib/index.js:410await mkdir(dirname(handle.filePath), { recursive: true });
    • lib/index.js:468await rename(handle.partialPath, handle.filePath);
    • lib/index.js:470await writeFile(handle.markerPath, JSON.stringify({
    • lib/index.js:801await writeFile(inputPath, options.audio);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 接触凭据或密钥credentials一般859 处命中
    • lib/index.js:1import { A as isCloudAsrRealtime, B as DEFAULT_GENERAL_SETTINGS, C as validateEarsSettings, D as cloudAsrModelFor, E as …
    • lib/index.js:53apiKey: s.string().role("secret").default(DEFAULT_CLOUD_ASR_SETTINGS.groq.apiKey).description("Groq API key (Whisper)").…
    • lib/index.js:58apiKey: s.string().role("secret").default(DEFAULT_CLOUD_ASR_SETTINGS.deepgram.apiKey).description("Deepgram API key").lo…
    • lib/index.js:64apiKey: s.string().role("secret").default(DEFAULT_CLOUD_ASR_SETTINGS.customOpenAi.apiKey).description("OpenAI-compatible…
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 动态加载模块dynamic-import一般454 处命中
    • lib/index.js:701const modulePromise = nativeModulePromise ??= import("@fugood/whisper.node");
    • lib/index.d.ts:4export declare const Config: import("@deepseek-ai/schemastery").default<Schemastery.ObjectS<NoInfer<{
    • lib/index.d.ts:5schemaVersion: import("@deepseek-ai/schemastery").default<number, number, "volatile-defined">;
    • lib/index.d.ts:6general: import("@deepseek-ai/schemastery").default<Schemastery.ObjectS<NoInfer<{
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取文件reads-files一般3 处命中
    • lib/index.js:511text = await readFile(path, "utf8");
    • lib/index.js:526for await (const chunk of createReadStream(path)) hash.update(chunk);
    • lib/index.js:3914const raw = JSON.parse(readFileSync(packageJsonPath, "utf8"));
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般3 处命中
    • lib/index.js:164function whisperCacheDirectory(platform = process.platform, env = process.env) {
    • lib/index.js:171function whisperModelPath(model, platform = process.platform, env = process.env) {
    • lib/index.js:186this.env = options.env ?? process.env;
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
含混淆或编码代码obfuscated-code需留意10
发起网络请求network需留意5
写入文件writes-files需留意4
接触凭据或密钥credentials一般859
动态加载模块dynamic-import一般454
读取文件reads-files一般3
读取环境变量reads-env一般3

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 72 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

这个插件声明的依赖中,有 1 条已公开的安全公告 (最高等级:低):

等级依赖包编号摘要
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情 →

查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0), 不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响—— 所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自 OSV.dev。

← 返回全部插件