其他 · v0.1.7
oh-my-dsh
Plugins, sensible defaults, and a launcher for DeepSeek Harness (dsh) — everything you're missing, without forking upstream.
该插件尚未翻译,显示作者原文。
安装命令
dsh plugin --profile web add oh-my-dsh@0.1.7
未检测
这个包的 tarball 里确实有 dsh.bundle.patch,补丁文件存在且可解析。但「有补丁」是静态检查的结果,不是装过——它能不能在这台机器上装成,还没有验证。
检测报告
能力清单
- 可执行外部程序
spawns-processes高关注4 处命中…ges/plugin-forge/src/document.js:1import { spawn } from 'node:child_process';dist/packages/kernel/src/index.js:7import { spawn } from 'node:child_process';…t/packages/lsp-auto/src/index.js:10import { spawnSync } from 'node:child_process';dist/packages/notify/src/index.js:8import { spawn } from 'node:child_process';- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意33 处命中bin/distribution-state.js:48mkdirSync(installRoot, { recursive: true })bin/distribution-state.js:51writeFileSync(tempPath, `${JSON.stringify(state, null, 2)}\n`, { mode: 0o600 })bin/distribution-state.js:52renameSync(tempPath, statePath)bin/distribution-state.js:56mkdirSync(installRoot, { recursive: true })- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意2 处命中…/packages/web-guard/src/index.js:65'Approve once, or re-enable web fetch (unset OMD_DISABLE_WEB_FETCH) for guarded retrieval.',…ckages/web-guard/src/provider.js:129async fetch(request, signal) {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 可终止进程
kills-processes需留意1 处命中bin/distribution-state.js:68process.kill(pid, 0)- 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
- 动态执行代码
dynamic-code需留意1 处命中dist/packages/kernel/src/index.js:89value = eval(compile(expression, "<omd-kernel>", "eval"), scope, scope)- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 清单可疑
manifest-obfuscation需留意1 处命中- 安装脚本:prepare
- 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
- 读取文件
reads-files一般43 处命中…es/plugin-control/src/catalog.js:153value = JSON.parse(readFileSync(path, 'utf8'));bin/distribution-files.js:10const content = readFileSync(filePath)bin/distribution-files.js:16const entries = readdirSync(dir)bin/distribution-identity.js:59if (existsSync(join(resolved, '.git'))) {- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般25 处命中…/packages/discovery/src/index.js:245const dshHome = resolve(process.env.DSH_HOME || join(home, '.dsh'));…/packages/discovery/src/index.js:452const dshHome = resolve(process.env.DSH_HOME || join(home, '.dsh'));dist/packages/kernel/src/index.js:129const command = language === 'javascript' ? process.execPath : process.env.OMD_PYTHON || 'python3';dist/packages/kernel/src/index.js:136: { PATH: process.env.PATH ?? '', PYTHONIOENCODING: 'utf-8' },- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 接触凭据或密钥
credentials一般6 处命中…es/plugin-control/src/catalog.js:52parsedRepository.password ||…ckages/web-guard/src/provider.js:75if (url.username.length > 0 || url.password.length > 0) {bundles/omd.cordis.yml:60searchProvider: !!js "process.env.DSH_WEB_SEARCH_PROVIDER ?? (process.env.EXA_API_KEY ? 'exa' : (process.env.PERPLEXITY_…bundles/omd.cordis.yml:175apiKey: !!js process.env.EXA_API_KEY- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般6 处命中…plugin-control/src/controller.js:3return import(specifier);…ges/plugin-forge/src/document.js:170throw new Error('forged plugin source must not use dynamic import(); every dependency must be a ' +…ckages/plugin-forge/src/index.js:133importModule: (specifier) => import(specifier),…ckages/plugin-forge/src/index.js:230'@deepseek-ai/dsh-tools; no dynamic import() or require; must export name and apply.',- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 文中出现远程脚本地址
remote-url-reference一般4 处命中README.md:37curl -fsSL https://github.com/amplifthq/oh-my-dsh/releases/latest/download/install.sh | shREADME.md:45OMD_VERSION=v0.1.7 curl -fsSL https://github.com/amplifthq/oh-my-dsh/releases/latest/download/install.sh | shREADME.zh.md:37curl -fsSL https://github.com/amplifthq/oh-my-dsh/releases/latest/download/install.sh | shREADME.zh.md:45OMD_VERSION=v0.1.7 curl -fsSL https://github.com/amplifthq/oh-my-dsh/releases/latest/download/install.sh | sh- 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 4 |
| 写入文件 | writes-files | 需留意 | 33 |
| 发起网络请求 | network | 需留意 | 2 |
| 可终止进程 | kills-processes | 需留意 | 1 |
| 动态执行代码 | dynamic-code | 需留意 | 1 |
| 清单可疑 | manifest-obfuscation | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 43 |
| 读取环境变量 | reads-env | 一般 | 25 |
| 接触凭据或密钥 | credentials | 一般 | 6 |
| 动态加载模块 | dynamic-import | 一般 | 6 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 4 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 51 个文件,扫描于 2026-10-21。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
- 0没有可扣分的项
认证等级 L1
- L0静态结构与契约✓sha512-h4PTD8T3dCWsbe7h… 与本地 tarball 复算一致,补丁与入口齐备
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
- L2隔离沙箱冒烟—尚未试装
- L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- mingyouagi
- 仓库
- https://github.com/amplifthq/oh-my-dsh
- 许可
- MIT
- 最后发布
- 2026-08-18
- 周下载
- 91
- star
- 16
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| Node 要求 | ^22.19.0 || >=24.0.0 |
|---|---|
| 第三方依赖 | 40 个 |
| bundle patch | ./bundles/omd.cordis.yml |
| 依赖安全公告 | 43 条,见下方 |
这个插件声明的依赖中,有 43 条已公开的安全公告 (最高等级:严重):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 严重 | undici | CVE-2026-13697 | undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives 修复版本:7.29.0, 8.9.0 详情 |
| 严重 | undici | CVE-2025-22150 | Use of Insufficiently Random Values in undici 修复版本:5.28.5, 6.21.1, 7.2.3 详情 |
| 严重 | undici | CVE-2026-6734 | undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse 修复版本:7.28.0, 8.2.0 详情 |
| 严重 | undici | CVE-2026-9697 | undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent 修复版本:7.28.0, 8.5.0 详情 |
| 严重 | undici | CVE-2026-85152 | undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors 修复版本:8.10.2 详情 |
| 严重 | undici | CVE-2026-84961 | undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool 修复版本:7.29.1, 8.10.2 详情 |
| 中 | js-yaml | CVE-2026-84375 | js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources 修复版本:3.15.2, 4.3.2 详情 |
| 中 | js-yaml | CVE-2026-59869 | js-yaml: YAML merge-key chains can force quadratic CPU consumption 修复版本:3.15.0, 4.3.0 详情 |
| 中 | js-yaml | GHSA-5p4m-2wfm-xmqj | JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported 修复版本:3.15.1, 4.3.1 详情 |
| 中 | undici | CVE-2026-84933 | undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared caches 修复版本:7.29.1, 8.10.2 详情 |
| 中 | undici | CVE-2026-1525 | Undici has an HTTP Request/Response Smuggling issue 修复版本:6.24.0, 7.24.0 详情 |
| 中 | undici | CVE-2026-9675 | undici WebSocket client vulnerable to denial of service via cumulative fragment bypass 修复版本:8.5.0 详情 |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。
元数据
| 主页 | https://github.com/amplifthq/oh-my-dsh#readme |
|---|---|
| 仓库最近提交 | 2026-10-17 |
| 仓库创建 | 2026-08-14 |
DSH