dsh-plugin-marketplace
github.com/Scorp1o117/dsh-plugin-marketplace
v0.5.2
市场与管理
可执行外部程序发起网络请求写入文件
认证 L3已扫描 ✓健康 S/100周下载 3.6k
浏览 GitHub 的 dsh-plugin 插件,同时管理当前 DSH Web / Desktop Profile 的插件。0.5.2 需要 DSH 0.2.0-rc.2 或后续 0.2.x。
作者原文(英文)
Discover, install, update and uninstall plugins in the active DSH Desktop or Web profile.
中文简介由 DeepSeek 模型翻译,仅供参考。
dshdsh-plugindeepseek-harnessmarketplaceweb-ui
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注2需留意1一般20未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注1 处命中runtime.js:1import { spawn } from "node:child_process";- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 发起网络请求
network需留意3 处命中client.js:178var res = await fetch(BASE + "?" + params.toString(), { headers: { Accept: "application/vnd.github+json" } });client.js:197var res = await fetch(url, { headers: { Accept: "application/vnd.github+json" } });client.js:213var promise = fetch("https://registry.npmjs.org/" + encodeURIComponent(pkg) + "/latest", {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 写入文件
writes-files需留意2 处命中management.js:65if (write) writeFileSync(path, result, "utf8");management.js:116writeFileSync(path, doc.toString(), "utf8");- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 读取文件
reads-files一般7 处命中management.js:21const manifest = JSON.parse(readFileSync(join(profile.dir, "package.json"), "utf8"));management.js:28try { installed = JSON.parse(readFileSync(join(profile.dir, "node_modules", name, "package.json"), "utf8")); }management.js:37if (!existsSync(path)) return null;management.js:38const doc = parseDocument(readFileSync(path, "utf8"));- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 1 |
| 发起网络请求 | network | 需留意 | 3 |
| 写入文件 | writes-files | 需留意 | 2 |
| 读取文件 | reads-files | 一般 | 7 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 11 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
这个插件声明的依赖中,有 2 条已公开的安全公告 (最高等级:中):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 中 | yaml | CVE-2023-2251 | Uncaught Exception in yaml 修复版本:2.2.2 详情 → |
| 低 | yaml | CVE-2026-33532 | yaml is vulnerable to Stack Overflow via deeply nested YAML collections 修复版本:1.10.3, 2.8.3 详情 → |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。