dsh-narrate
github.com/stuarthu/dsh-narrate
v0.1.0
其他
可执行外部程序发起网络请求写入文件
认证 L2已扫描 ✓健康 S/100周下载 17
你给它一句想法。它会在四个地方停下来先问你。然后用你自己 `assets` 文件夹里的素材, 出一条带 AI 旁白和硬字幕的视频。
作者原文(英文)
DeepSeek Harness (dsh) plugin: turn one idea into a narrated video cut from your own asset folder, stopping four times to ask you first.
中文简介由 DeepSeek 模型翻译,仅供参考。
dshdsh-plugindeepseek-harnessdeepseek-harness-plugincordisvideovideo-editingtts
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注3需留意3一般17未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注7 处命中src/render/concat.js:15import { execFile } from 'node:child_process';src/voice/engine.js:8import { spawn, execFile } from 'node:child_process';src/assets-index/scan.js:16import { execFile } from 'node:child_process';src/render/segment.js:5import { execFile } from 'node:child_process';- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 发起网络请求
network需留意66 处命中src/render/concat.js:198segments.push({ sentenceId: sentence.id, path: got.path, durationSec: got.durationSec, fill: got.fill });src/render/concat.js:199onEvent?.({ kind: 'rendered', sentenceId: sentence.id, durationSec: got.durationSec, fill: got.fill });host/narrate.js:638output: got.output,host/narrate.js:639durationSec: got.durationSec,- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 写入文件
writes-files需留意35 处命中src/assets-index/clip-file.js:167await handle.writeFile(`${JSON.stringify(record, null, 2)}\n`, 'utf8');src/assets-index/clip-file.js:173await rename(tmpPath, jsonPath);src/assets-index/clip-file.js:175await unlink(tmpPath).catch(() => {});src/assets-index/clip-file.js:199await copyFile(jsonPath, backup);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 可终止进程
kills-processes需留意1 处命中src/voice/engine.js:70process.kill(-child.pid, 'SIGKILL');- 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
- 动态加载模块
dynamic-import一般14 处命中src/flow/job.js:110require(section) {docs/crew/qa/T-07/case-1-12.mjs:11const { assignShots, DEFAULTS } = await import(join(ROOT, 'src/shotplan/assign.js'));docs/crew/qa/T-11/case-1-8.mjs:13const { apply, TOOL_NAMES } = await import(join(ROOT, 'host/narrate.js'));docs/crew/qa/T-11/case-1-8.mjs:14const { readClipFile } = await import(join(ROOT, 'src/assets-index/clip-file.js'));- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 读取环境变量
reads-env一般12 处命中src/render/concat.js:24const FFMPEG = () => process.env.DSH_FFMPEG_PATH || 'ffmpeg';src/render/concat.js:25const FFPROBE = () => process.env.DSH_FFPROBE_PATH || 'ffprobe';src/voice/engine.js:15const FFMPEG = () => process.env.DSH_FFMPEG_PATH || 'ffmpeg';src/voice/engine.js:16const FFPROBE = () => process.env.DSH_FFPROBE_PATH || 'ffprobe';- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 读取文件
reads-files一般10 处命中src/assets-index/clip-file.js:113text = await readFile(jsonPath, 'utf8');src/voice/engines/default.js:49const text = await readFile(textFile, 'utf8');src/assets-index/from-you.js:95text = await readFile(path, 'utf8');src/assets-index/from-you.js:152return parseCsv(await readFile(path, 'utf8'));- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 7 |
| 发起网络请求 | network | 需留意 | 66 |
| 写入文件 | writes-files | 需留意 | 35 |
| 可终止进程 | kills-processes | 需留意 | 1 |
| 动态加载模块 | dynamic-import | 一般 | 14 |
| 读取环境变量 | reads-env | 一般 | 12 |
| 读取文件 | reads-files | 一般 | 10 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 47 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)