开发与运行时 · v0.12.1
dsh-mv-cli
· Releases · 创意工坊 / workshop。
作者原文(英文)
Music video player for DeepSeek Harness Desktop: text, Canvas2D and WebGL2 3D scenes synced to your own audio. Sandboxed workshop packs can include licensed bilingual lyrics, timing and visual assets; only music is user-provided. Plugin code MIT; no song
简介取自插件自己的 README 原文。
安装命令
dsh plugin --profile web add @ljwei-stak/dsh-mv-cli@0.12.1
声明可安装
这个包的 tarball 里确实有 dsh.bundle.patch,补丁文件存在且可解析。但「有补丁」是静态检查的结果,不是装过——它能不能在这台机器上装成,还没有验证。
检测报告
能力清单
- 可执行外部程序
spawns-processes高关注3 处命中.dsh-plugin/shared/mv-audio.mjs:8import { spawn } from 'node:child_process'.dsh-plugin/shared/mv-engine.mjs:7import { spawn, spawnSync } from 'node:child_process'…ugin/shared/mv-workshop-host.mjs:14import { spawn } from 'node:child_process'- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意40 处命中.dsh-plugin/import-video.mjs:159await mkdir(dirname(outputDir), { recursive: true }).dsh-plugin/import-video.mjs:160try { await mkdir(outputDir) } catch (error) {.dsh-plugin/import-video.mjs:165await writeFile(manifestPath, JSON.stringify(manifest, null, 2) + '\n', { flag: 'wx', encoding: 'utf8' }).dsh-plugin/shared/mv-ai-pack.mjs:56} else await mkdir(parent, { recursive: true })- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 动态执行代码
dynamic-code需留意6 处命中…-plugin/shared/mv-scene-host.mjs:134const context = vm.createContext(Object.create(null), { codeGeneration: { strings: false, wasm: false }, microtaskMode: ……-plugin/shared/mv-scene-host.mjs:136vm.runInContext(`"use strict";…-plugin/shared/mv-scene-host.mjs:187const hasEntry = vm.runInContext(`typeof __scene.${entry}`, context, { timeout: 100 }) === 'function'…-plugin/shared/mv-scene-host.mjs:189const call = (code, timeout) => vm.runInContext(code, context, { timeout })- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 发起网络请求
network需留意3 处命中…ugin/shared/mv-workshop-host.mjs:205if (route.source === 'mirror' && backupUrl) return fetch(backupUrl, true)…ugin/shared/mv-workshop-host.mjs:206try { return await fetch(url, false) }…ugin/shared/mv-workshop-host.mjs:209try { const bytes = await fetch(backupUrl, true); route.source = 'mirror'; return bytes }- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 启动伪终端
spawns-pty需留意1 处命中NOTICE.md:77- React(MIT)打包进客户端。0.6.0 起不再使用 xterm.js 和 @lydell/node-pty。- 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
- 读取文件
reads-files一般23 处命中.dsh-plugin/import-video.mjs:145const literal = parseManimAudioOffset(await readFile(cuesPath, 'utf8')).dsh-plugin/index.mjs:65packRead: async request => packs.readFile(parsePackRead(request)),…plugin/shared/mv-agent-tools.mjs:23const body = await readFile(packFilePath(packDir, pack.lyrics.file), 'utf8')…plugin/shared/mv-agent-tools.mjs:35else source = await readFile(state.path, 'utf8')- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般14 处命中.dsh-plugin/shared/mv-ai-pack.mjs:25export function aiPacksDir(env = process.env, platform = process.platform) {.dsh-plugin/shared/mv-audio.mjs:46export function wavCacheDir(env = process.env, platform = process.platform) {.dsh-plugin/shared/mv-audio.mjs:128export async function findFfmpeg({ configured = '', env = process.env, platform = process.platform, statPath = stat, fal….dsh-plugin/shared/mv-engine.mjs:19const systemTool = (name, env = process.env) => win32.join(env.SystemRoot || env.SYSTEMROOT || env.windir || 'C:\\Window…- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 接触凭据或密钥
credentials一般4 处命中.dsh-plugin/shared/mv-lrclib.mjs:107if (proxy.username) headers['Proxy-Authorization'] = `Basic ${Buffer.from(`${decodeURIComponent(proxy.username)}:${decod……ugin/shared/mv-workshop-host.mjs:88if (target.protocol !== 'https:' || target.username || target.password) throw downloadError('只允许不含认证信息的 https 下载', 'ERR_……ugin/shared/mv-workshop-host.mjs:116if (!redirects || next.protocol !== 'https:' || next.username || next.password || !allowed) {…ugin/shared/mv-workshop-host.mjs:177if (target.protocol !== 'https:' || target.username || target.password || target.search || target.hash) throw downloadEr…- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 文中出现远程脚本地址
remote-url-reference一般3 处命中README.md:236- Needs [uv](https://docs.astral.sh/uv/) (on `PATH`, `%USERPROFILE%\.local\bin`, or the `uvPath` setting). uv creates a …README.zh.md:241- 需要 [uv](https://docs.astral.sh/uv/)(在 `PATH`、`%USERPROFILE%\.local\bin` 里,或在设置 `uvPath` 中指定)。uv 会建一个 Python **3.12** 虚….dsh-plugin/shared/mv-engine.mjs:265if (!uv) throw new Error('没有找到 uv(https://docs.astral.sh/uv/)。请先安装 uv,或在插件设置里指定一个已有的 Python 3.10–3.12 环境。')- 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
- 动态加载模块
dynamic-import一般2 处命中.dsh-plugin/shared/mv-workshop.mjs:109[new RegExp(`\\brequire${moduleGap}\\(`), 'require()'],.dsh-plugin/shared/mv-workshop.mjs:124const target = (label.startsWith('escaped') && mode !== 'webgl') || label === 'import' || label === 'require()' ? text :…- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 使用 vm 模块做隔离
uses-vm-module一般1 处命中…-plugin/shared/mv-scene-host.mjs:17import vm from 'node:vm'- 用 node:vm 是在建立隔离,不是在突破它。本身不是顾虑,但值得知道这个插件会执行动态代码。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 3 |
| 写入文件 | writes-files | 需留意 | 40 |
| 动态执行代码 | dynamic-code | 需留意 | 6 |
| 发起网络请求 | network | 需留意 | 3 |
| 启动伪终端 | spawns-pty | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 23 |
| 读取环境变量 | reads-env | 一般 | 14 |
| 接触凭据或密钥 | credentials | 一般 | 4 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 3 |
| 动态加载模块 | dynamic-import | 一般 | 2 |
| 使用 vm 模块做隔离 | uses-vm-module | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 34 个文件,扫描于 2026-10-20。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
- 0没有可扣分的项
认证等级 未评级
- L0静态结构与契约—有 npm 哈希,但本站没有本地包可比对
- L1配置组合与依赖图—还没有组合检查记录
- L2隔离沙箱冒烟—尚未试装
- L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- ljwei-stak
- 仓库
- https://github.com/Alice-Marx/dsh-mv-cli
- 许可
- MIT
- 最后发布
- 2026-10-17
- 周下载
- 263
- star
- 1
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 2 个cordisdsh-typert-protocol均为 @deepseek-ai/ 下的包 |
|---|---|
| Node 要求 | >=20 |
| 第三方依赖 | 0 个(纯自包含) |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 已查询全部依赖,没有匹配到已公开的安全公告(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。) |
元数据
| 主页 | https://github.com/Alice-Marx/dsh-mv-cli#readme |
|---|---|
| 仓库最近提交 | 2026-10-20 |
| 仓库创建 | 2026-10-03 |
DSH