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
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
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 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。