super-dsh
github.com/pgmi-builds/super-dsh
Super D for the DeepSeek Harness (DSH) — one dsh plugin that mounts the superd hub (runtime selector, roster, per-runtime agents) and joins local foreign-agent runtimes (OMP, Codex, Claude, Pi, Hermes, Antigravity) into the DSH Web UI. Each runtime keeps
该插件尚未翻译,显示作者原文。
检测报告
能力清单
- 可执行外部程序
spawns-processes高关注19 处命中agent-agy/dist/agy-cli-client.js:18import { spawn } from "node:child_process";agent-agy/dist/agy-cli-client.js:19import { execFile } from "node:child_process";agent-agy-sdk/dist/agy-client.js:15import { spawn } from "node:child_process";…nt-codex/dist/app-server-wire.js:27import { spawn } from "node:child_process";- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 以 shell 执行命令
shell-exec高关注3 处命中agent-omp-sdk/dist/omp-cli.js:55const stdout = execFileSync(resolveOmpExecutable(), args, {agent-omp/dist/omp-cli.js:55const stdout = execFileSync(resolveOmpExecutable(), args, {agent-agy-sdk/dist/sdk-venv.js:62execFileSync(cmd, args, { stdio: ["ignore", "pipe", "pipe"] });- 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
- 改写用户 profile
profile-tamper高关注1 处命中- world-provision.js
- 看它改的是自己那一段还是别人的。改用户 profile 通常应由用户手动做。
- 写入文件
writes-files需留意179 处命中superd-hub/dist/a2a-ingest.js:71mkdirSync(dir, { recursive: true });superd-hub/dist/a2a-ingest.js:74writeFileSync(tmp, JSON.stringify(file, null, 2) + '\n', { encoding: 'utf8', mode: 0o600 });superd-hub/dist/a2a-ingest.js:76renameSync(tmp, target);superd-hub/dist/a2a-ingest.js:100mkdirSync(join(home, 'superd'), { recursive: true });- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意39 处命中…nt-codex/dist/app-server-wire.js:11* runtime — codex-runtime-fetch.ts; the pinned package is NEVER an…nt-codex/dist/app-server-wire.js:28import { createCodexRuntimeDeps, ensureCodexRuntime } from "./codex-runtime-fetch.js";superd-hub/dist/carrier.js:111const response = await worldFetch.fetch(request);…hub/dist/client/companion-api.js:5const send = doFetch ?? ((path, init) => fetch(path, init));- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 可终止进程
kills-processes需留意14 处命中…nt-codex/dist/app-server-wire.js:167process.kill(-pid, signal);…erd-hub/dist/exec-pty-channel.js:47process.kill(-pid, 'SIGKILL');…erd-hub/dist/exec-pty-channel.js:57process.kill(-pid, 'SIGTERM');…erd-hub/dist/exec-pty-channel.js:61process.kill(-pid, 'SIGKILL');- 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
- 启动伪终端
spawns-pty需留意2 处命中superd-hub/dist/exec-pty-rpc.js:3// PTY, no node-pty) with a bidirectional byte pump. All session intelligencesuperd-hub/dist/exec-pty-rpc.js:53child = spawn('script', ['-qfec', 'bash', '/dev/null'], { stdio: ['pipe', 'pipe', 'pipe'], detached: true });superd-hub/dist/exec.js:75const child = spawn('bash', ['-lc', input.cmd], {- 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
- 运行时改写自身配置
modifies-own-manifest需留意2 处命中superd-hub/dist/world-provision.js:139writeFileSync(join(profDir, 'package.json'), JSON.stringify({superd-hub/dist/world-provision.js:156writeFileSync(join(profDir, 'cordis.patch.yml'), [- 运行时改写自身配置会让下次启动的行为和你看过的源码不一致。
- 动态执行代码
dynamic-code需留意1 处命中remote/plugin.js:312schema.callback = new Function("return " + schema.callback)();- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 读取文件
reads-files一般204 处命中superd-hub/dist/a2a-ingest.js:51raw = readFileSync(outboxPath(home), 'utf8');superd-hub/dist/a2a-ingest.js:86const parsed = JSON.parse(readFileSync(seenIdsPath(home), 'utf8'));superd-hub/dist/a2a-service.js:86raw = readFileSync(conversationsPath(home), 'utf8');superd-hub/dist/agent-ids.js:23raw = readFileSync(agentIdsPath(home), 'utf8');- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般145 处命中superd-hub/dist/a2a-row.js:109refreshClaudeNativeEndpoint(() => foreignHubEndpoint(home), process.env.CLAUDE_CONFIG_DIR ?? join(homedir(), '.claude'))…agent-agy-sdk/dist/agent.js:39const TRACE = process.env.AGY_TRACE === "1";agent-agy-sdk/dist/agent.js:70const raw = process.env.AGY_TURN_DEADLINE_MS;agent-agy/dist/agent.js:39const TRACE = process.env.AGY_TRACE === "1";- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 接触凭据或密钥
credentials一般27 处命中…ub/dist/client/agent-settings.js:141return raw === 'oauth' ? 'oauth' : raw === 'env' ? 'env' : raw === 'authToken' ? 'authToken' : 'apiKey';agent-agy/dist/agy-auth-gateway.js:215return availability.apiKeyagent-agy/dist/agy-cli-client.js:150const key = typeof this.opts.apiKey === "function" ? this.opts.apiKey() : this.opts.apiKey;agent-agy-sdk/dist/agy-client.js:198api_key: this.opts.apiKey,- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般15 处命中…erd-hub/dist/exec-pty-channel.js:73const mod = require(WS_MODULE);superd-hub/dist/exec-pty-rpc.js:20const mod = require(WS_MODULE);superd-hub/dist/mesh-gateway.js:102const mod = require(WS_MODULE);agent-pi/dist/models.js:41const sdk = (await import("@earendil-works/pi-coding-agent"));- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 19 |
| 以 shell 执行命令 | shell-exec | 高关注 | 3 |
| 改写用户 profile | profile-tamper | 高关注 | 1 |
| 写入文件 | writes-files | 需留意 | 179 |
| 发起网络请求 | network | 需留意 | 39 |
| 可终止进程 | kills-processes | 需留意 | 14 |
| 启动伪终端 | spawns-pty | 需留意 | 2 |
| 运行时改写自身配置 | modifies-own-manifest | 需留意 | 2 |
| 动态执行代码 | dynamic-code | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 204 |
| 读取环境变量 | reads-env | 一般 | 145 |
| 接触凭据或密钥 | credentials | 一般 | 27 |
| 动态加载模块 | dynamic-import | 一般 | 15 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 393 个文件,扫描于 2026-10-16。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
这个插件声明的依赖中,有 5 条已公开的安全公告 (最高等级:中):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 中 | @modelcontextprotocol/sdk | CVE-2026-25536 | @modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse 修复版本:1.26.0 详情 → |
| 中 | @modelcontextprotocol/sdk | CVE-2026-104850 | MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server 修复版本:1.31.0, 2.2.0 详情 → |
| 低 | zod | CVE-2023-4316 | Zod denial of service vulnerability 修复版本:3.22.3 详情 → |
| 未分级 | @modelcontextprotocol/sdk | CVE-2026-0621 | Anthropic's MCP TypeScript SDK has a ReDoS vulnerability 修复版本:1.25.2 详情 → |
| 未分级 | @modelcontextprotocol/sdk | CVE-2025-66414 | Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default 修复版本:1.24.0 详情 → |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。
可信度
- -20隔离环境装不上fail:87527db37621f7f13709ceee88b96ae13e3529accb19c5e46e7e00f3be6a8465e4b4cb34968d33f102f1251eca361217addf7d5ecc' -> 'C:\Users\72881\AppData\Local\Temp\dsh-l2-home-w0
认证等级 L1
- L0内容完整性✓sha512-1Fb1uTOy5pGlmEti… 与本地 tarball 复算一致
- L1来源✓维护者 pgmi-builds,仓库 pgmi-builds/super-dsh(未做仓库审计)
- L2发行—试装未通过(install-failed)
- L3生态—含界面但还没有宿主启动记录
- L4多方独立验证—本站不做第三方独立背书
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- pgmi-builds
- 仓库
- https://github.com/pgmi-builds/super-dsh
- 许可
- MIT
- 最后发布
- 2026-10-12
- 周下载
- 1.9k
- star
- —
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级核验的是这个包本身(内容指纹、来源、能否安装、声明是否属实);依赖漏洞是独立标注的,两者正交、不互相掩盖。可信 ≠ 无漏洞,上架 ≠ 推荐。
DSH