D

dsh-plugin-shop

github.com/LivXue/dsh-plugin-shop

v0.8.7 市场与管理 以 shell 执行命令可执行外部程序写入文件
认证 L3已扫描 ✓健康 S/100周下载 1.2k

插件目录的每次变更都可以通过 Git 追溯。

作者原文(英文)

The DeepSeek Harness plugin shop: browse, install, enable, and update dsh plugins from a git-auditable catalog.

中文简介由 DeepSeek 模型翻译,仅供参考。

dsh-plugindeepseek-harnessdshdeepseekplugin-managerplugin-marketplaceplugin-catalogharness
发布
2026-10-15
源仓库无法访问 多次尝试都没连上,可能是网络问题,也可能是仓库不可达。

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
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 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

这个插件声明的依赖中,有 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。

可信度

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

认证等级 L3

  • L0内容完整性✓sha512-36kfzaxQy5qB1vP4… 与本地 tarball 复算一致
  • L1来源✓维护者 livxue99,仓库 LivXue/dsh-plugin-shop(未做仓库审计)
  • L2发行✓隔离 profile 安装成功,4.2s,层已挂载
  • L3生态✓契约一致,宿主带它启动成功
  • L4多方独立验证—本站不做第三方独立背书
评分口径与作者信息

从 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 只作参考,不参与评分。

认证等级核验的是这个包本身(内容指纹、来源、能否安装、声明是否属实);依赖漏洞是独立标注的,两者正交、不互相掩盖。可信 ≠ 无漏洞,上架 ≠ 推荐。

← 返回全部插件