浏览全部

市场与管理 · v0.8.7

dsh-plugin-shop

github.com/LivXue/dsh-plugin-shop

能力以 shell 执行命令可执行外部程序写入文件

DeepSeek Harness 的插件商店——浏览 dsh 插件目录,一键安装,并在设置中的专属页面管理已安装的插件。

作者原文(英文)

The plugin shop for DeepSeek Harness — browse a catalog of dsh plugins, install one with a single click, and manage what you have, from its own page in Settings.

简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。

dsh-plugindeepseek-harnessdshdeepseekplugin-managerplugin-marketplaceplugin-catalogharness
认证 L3已扫描 ✓健康 S/100周下载 1.2k
10 项能力
许可
Apache-2.0
发布
2026-10-15
维护者
livxue99
插件 ID
2311

安装命令

dsh plugin --profile web add dsh-plugin-shop@0.8.7

已试装 · 层已挂载

已在一个隔离的 profile 里真装过:包能装上,并且插件层挂载成功。这一条是实测结果,不是作者的声明。

源仓库无法访问 多次尝试都没连上,可能是网络问题,也可能是仓库不可达。

检测报告

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

能力清单

  • 以 shell 执行命令shell-exec高关注4 处命中
    • lib/index.js:1368* `shell: true` — what the shim exists for, and what dsh's own pnpm spawn
    • lib/index.js:1931* not escape under `shell: true` — it concatenates argv into one string for
    • lib/index.js:3187* On the one platform where this module passes `shell: true`, the child node
    • lib/index.js:3193* shape: `spawn('definitely-not-here', argv, { shell: true })` emits only
    • 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
  • 可执行外部程序spawns-processes高关注2 处命中
    • lib/index.js:12import { spawn, spawnSync } from "node:child_process";
    • lib/types/host/prefetch.d.ts:15import { type ChildProcess, type SpawnOptions } from 'node:child_process';
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 写入文件writes-files需留意12 处命中
    • lib/index.js:743mkdirSync(dirname(path), { recursive: true });
    • lib/index.js:744writeFileSync(path, data);
    • lib/index.js:2322mkdirSync(dirname(path), { recursive: true });
    • lib/index.js:2323writeFileSync(path, data);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 可终止进程kills-processes需留意2 处命中
    • lib/index.js:1841killGroup: (pid) => process.kill(-pid, "SIGKILL"),
    • lib/index.js:1842killPid: (pid) => process.kill(pid, "SIGKILL"),
    • 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
  • 发起网络请求network需留意2 处命中
    • lib/client.js:7648up = (await fetch(globalThis.location.href, { cache: "no-store" })).ok;
    • lib/client.js:11234* instead of starting its own fetch. A rejection stays stored (the injected
    • lib/index.js:100* fetch (§9.2). The guard is the resolved origin, not the raw string: WHATWG
    • lib/index.js:4984this.fetchTarball = options.fetchTarball ?? ((url) => fetch(url));
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 动态执行代码dynamic-code需留意1 处命中
    • lib/client.js:152new Function("");
    • 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
  • 启动伪终端spawns-pty需留意1 处命中
    • lib/index.js:2731helper = spawn("sh", [
    • 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
  • 读取文件reads-files一般31 处命中
    • lib/index.js:25return JSON.parse(readFileSync(fileURLToPath(new URL("../package.json", import.meta.url)), "utf8"));
    • lib/index.js:740exists: (path) => existsSync(path),
    • lib/index.js:741read: (path) => readFileSync(path, "utf8"),
    • lib/index.js:960const text = readFile(join(home, ".npmrc"));
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般13 处命中
    • lib/client.js:5395module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.…
    • lib/index.js:1535const INSTALL_TIMEOUT_MS = Number(process.env.DSH_SHOP_INSTALL_TIMEOUT_MS) || 9e5;
    • lib/index.js:1897path: process.env.PATH
    • lib/index.js:2069env: env ?? process.env,
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 动态加载模块dynamic-import一般2 处命中
    • lib/index.js:2421return (await import(specifier)).default;
    • lib/index.js:3979const exported = await import(pathToFileURL(entry).href);
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
以 shell 执行命令shell-exec高关注4
可执行外部程序spawns-processes高关注2
写入文件writes-files需留意12
可终止进程kills-processes需留意2
发起网络请求network需留意2
动态执行代码dynamic-code需留意1
启动伪终端spawns-pty需留意1
读取文件reads-files一般31
读取环境变量reads-env一般13
动态加载模块dynamic-import一般2

这份报告的口径

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

可信度

100 健康分 S 扣分项下方逐条附证据
  • 0没有可扣分的项

认证等级 L3

  • L0静态结构与契约✓sha512-36kfzaxQy5qB1vP4… 与本地 tarball 复算一致,补丁与入口齐备
  • L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
  • L2隔离沙箱冒烟✓隔离 profile 安装成功,3.2s,层已挂载;宿主带它启动(booted)
  • L3运行时健康监控✓抽样会话内未观测到外部进程 / 越界写 / 外连(2 个事件)
评分口径与作者信息

从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分

维护者
livxue99
仓库
https://github.com/LivXue/dsh-plugin-shop
许可
Apache-2.0
最后发布
2026-10-15
周下载
1.2k
star
705

扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。

认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。

DSH peer 依赖5 个cordiscordis-plugin-includedsh-app-bootdsh-home-pathsdsh-typert-protocol均为 @deepseek-ai/ 下的包
Node 要求^22.19.0 || >=24.0.0
第三方依赖4 个
bundle patch./cordis.patch.yml
依赖安全公告10 条,见下方

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

等级依赖包编号摘要
中js-yamlCVE-2026-84375js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources
修复版本:3.15.2, 4.3.2 详情
中js-yamlCVE-2026-59869js-yaml: YAML merge-key chains can force quadratic CPU consumption
修复版本:3.15.0, 4.3.0 详情
中js-yamlGHSA-5p4m-2wfm-xmqjJS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported
修复版本:3.15.1, 4.3.1 详情
中semverCVE-2022-25883semver vulnerable to Regular Expression Denial of Service
修复版本:5.7.2, 6.3.1, 7.5.2 详情
中yamlCVE-2023-2251Uncaught Exception in yaml
修复版本:2.2.2 详情
低js-yamlCVE-2026-53550JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases
修复版本:3.15.0, 4.2.0 详情
低js-yamlCVE-2025-64718js-yaml has prototype pollution in merge (<<)
修复版本:3.14.2, 4.1.1 详情
低js-yamlGHSA-r3ph-w7gj-g6xmjs-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources
修复版本:5.4.1 详情
低yamlCVE-2026-33532yaml is vulnerable to Stack Overflow via deeply nested YAML collections
修复版本:1.10.3, 2.8.3 详情
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情

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

元数据

主页https://github.com/LivXue/dsh-plugin-shop#readme
仓库最近提交2026-10-15
仓库创建2026-08-25

返回首页