D

dsh-deepread

github.com/xiehuan123/dsh-deepread

v1.0.1 会话与记忆 可执行外部程序以 shell 执行命令写入文件

AI deep-reading assistant for DeepSeek Harness and dsh-TUI: extract traceable claims, evidence, confidence levels, knowledge maps, and review questions from articles, books, PDFs, files, URLs, or pasted text.

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

deepseek-harnessdsh-plugindeepseekdeep-readdeep-readingreadingreading-companionarticle
分类
session
发布
2026-09-09
版本
v1.0.1

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注4需留意4一般14未命中
高关注需留意一般

能力清单

  • 可执行外部程序spawns-processes高关注7 处命中
    • …t/browser-typescript-runtime.mjs:2import { execFile } from 'node:child_process'
    • scripts/build-host.mjs:1import { execFile } from 'node:child_process'
    • test/client-bundle.mjs:4import { execFileSync } from 'node:child_process'
    • test/client-theme-contract.mjs:2import { execFileSync } from 'node:child_process'
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 以 shell 执行命令shell-exec高关注2 处命中
    • test/client-bundle.mjs:13execFileSync('npm', ['run', 'build:client'], { cwd: root, stdio: 'pipe' })
    • test/client-theme-contract.mjs:58execFileSync('npm', ['run', 'build:client'], { cwd: root, stdio: 'pipe' })
    • 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
  • 写入文件writes-files需留意100 处命中
    • test/budget-api.mjs:17await mkdir(dshToolsDir, { recursive: true })
    • test/budget-api.mjs:18await writeFile(join(dshToolsDir, 'package.json'), JSON.stringify({ name: '@deepseek-ai/dsh-tools', type: 'module', main…
    • test/budget-api.mjs:19await writeFile(join(dshToolsDir, 'index.js'), 'export function defineTool(tool){ return tool }\n')
    • test/budget-api.mjs:22await mkdir(schemasteryDir, { recursive: true })
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 运行时改写自身配置modifies-own-manifest需留意32 处命中
    • test/budget-api.mjs:18await writeFile(join(dshToolsDir, 'package.json'), JSON.stringify({ name: '@deepseek-ai/dsh-tools', type: 'module', main…
    • test/budget-api.mjs:23await writeFile(join(schemasteryDir, 'package.json'), JSON.stringify({ name: '@deepseek-ai/schemastery', type: 'module',…
    • test/budget-api.mjs:32await writeFile(join(storageDomainDir, 'package.json'), JSON.stringify({ name: '@deepseek-ai/dsh-storage-domain', type: …
    • test/budget-api.mjs:41await writeFile(join(zodDir, 'package.json'), JSON.stringify({ name: 'zod', type: 'module', main: 'index.js' }))
    • 运行时改写自身配置会让下次启动的行为和你看过的源码不一致。
  • 发起网络请求network需留意10 处命中
    • lib/client.js:812const res = await fetch("/api/deepread/budget", {
    • lib/types/host/source.js:98result = await web.fetch({ url });
    • lib/types/host/source.js:107const resp = await globalThis.fetch(url, {
    • lib/types/host/source.js:138const resp = await globalThis.fetch(url, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 动态执行代码dynamic-code需留意1 处命中
    • test/client-platform.mjs:11vm.runInNewContext(bundle, { window: { __ModuleLoader__: { load(value) { handoff = value } } } })
    • 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
  • 动态加载模块dynamic-import一般56 处命中
    • test/client-bundle.mjs:19await import(pathToFileURL(bundlePath).href + '?smoke=' + Date.now())
    • test/client-drag.mjs:21const { JSDOM } = await import(pathToFileURL(upstreamRequire.resolve('jsdom')).href)
    • test/client-drag.mjs:22const React = await import(pathToFileURL(webReactRequire.resolve('react')).href)
    • test/client-drag.mjs:23const { createRoot } = await import(pathToFileURL(reactDomRequire.resolve('react-dom/client')).href)
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取文件reads-files一般47 处命中
    • lib/types/host/plugin.js:965const source = readFileSync(PACKAGED_SKILL_URL, 'utf8');
    • …t/browser-typescript-runtime.mjs:10const packageJson = JSON.parse(await readFile(join(root, 'package.json'), 'utf8'))
    • …t/browser-typescript-runtime.mjs:19for (const entry of await readdir(join(root, 'src', 'client'))) {
    • …t/browser-typescript-runtime.mjs:21const source = await readFile(join(root, 'src', 'client', entry), 'utf8')
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般4 处命中
    • test/client-drag.mjs:9const upstreamRoot = process.env.DSH_HARNESS_ROOT ?? '/Users/xiehuan/Desktop/project/deepseek-harness'
    • test/client-lifecycle.mjs:9const upstreamRoot = process.env.DSH_HARNESS_ROOT ?? '/Users/xiehuan/Desktop/project/deepseek-harness'
    • test/client-platform.mjs:25const upstreamRoot = process.env.DSH_HARNESS_ROOT ?? '/Users/xiehuan/Desktop/project/deepseek-harness'
    • test/client-theme-contract.mjs:9const upstreamRoot = process.env.DSH_HARNESS_ROOT ?? '/Users/xiehuan/Desktop/project/deepseek-harness'
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 使用 vm 模块做隔离uses-vm-module一般1 处命中
    • test/client-platform.mjs:5import vm from 'node:vm'
    • 用 node:vm 是在建立隔离,不是在突破它。本身不是顾虑,但值得知道这个插件会执行动态代码。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注7
以 shell 执行命令shell-exec高关注2
写入文件writes-files需留意100
运行时改写自身配置modifies-own-manifest需留意32
发起网络请求network需留意10
动态执行代码dynamic-code需留意1
动态加载模块dynamic-import一般56
读取文件reads-files一般47
读取环境变量reads-env一般4
使用 vm 模块做隔离uses-vm-module一般1

这份报告的口径

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

依赖安全公告

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

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

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

← 返回全部插件