浏览全部

界面与主题 · v0.6.0-beta.17

dsh-oauth-poc

github.com/ELRdn/Guilduo

能力可执行外部程序含混淆或编码代码写入文件

日本語How-to · English How-to · npm。

作者原文(英文)

Guilduo MCP OAuth and native Settings UI for DeepSeek Harness

简介取自插件自己的 README 原文。

dshdsh-plugindeepseek-harnessguilduomcpoauthagent-skills
认证 L2已扫描 ✓健康 S/100周下载 256
9 项能力
许可
AGPL-3.0-only
发布
2026-10-10
维护者
elrdn
插件 ID
684

安装命令

dsh plugin --profile web add @guilduo/dsh-oauth-poc@0.6.0-beta.17

已试装 · 层已挂载

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

检测报告

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

能力清单

  • 可执行外部程序spawns-processes高关注2 处命中
    • lib/persistence.js:2import { spawn } from 'node:child_process';
    • src/persistence.ts:2import { spawn } from 'node:child_process';
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 含混淆或编码代码obfuscated-code需留意10 处命中
    • lib/client.js:36var SAFE_ERROR = "\u63A5\u7D9A\u64CD\u4F5C\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u3082\u3046\u4E00\u5EA6\u304A…
    • lib/client.js:211/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "Guilduo MCP\u3078\u306E\u63A5\u7D9A\u306F\u3001\u901A\u5E3…
    • lib/client.js:213snapshot.busy ? "\u63A5\u7D9A\u72B6\u614B\u3092\u78BA\u8A8D\u4E2D\u2026" : labels[snapshot.state],
    • lib/client.js:216snapshot.scope === "shared" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "\u63A5\u7D9A\u7BC4\u56F2: \…
    • 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
  • 写入文件writes-files需留意2 处命中
    • stage.mjs:12if (!info && create) { await mkdir(current); info = await lstat(current); }
    • stage.mjs:38await copyFile(source, target);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意2 处命中
    • lib/adapter.js:41const authFetch = (input, init) => fetch(input, { ...init,
    • src/adapter.ts:54const authFetch: typeof fetch = (input, init) => fetch(input, { ...init,
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 启动伪终端spawns-pty需留意2 处命中
    • lib/persistence.js:22const child = spawn(join(process.env.SystemRoot, 'System32/WindowsPowerShell/v1.0/powershell.exe'), ['-NoLogo', '-NoProf…
    • src/persistence.ts:30const child = spawn(join(process.env.SystemRoot!, 'System32/WindowsPowerShell/v1.0/powershell.exe'),
    • 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
  • 接触凭据或密钥credentials一般15 处命中
    • lib/adapter.js:21redirectUrl.password || redirectUrl.search || redirectUrl.hash) {
    • lib/adapter.js:73if (url.protocol !== 'https:' || url.username || url.password)
    • lib/adapter.js:215url.hash || url.username || url.password || url.searchParams.getAll('state').length !== 1 ||
    • lib/client.js:50if (url.origin !== "https://mcp.guilduo.com" || url.pathname !== "/oauth/authorize" || url.username || url.password || u…
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取环境变量reads-env一般6 处命中
    • lib/persistence.js:19if (process.platform !== 'win32' || !process.env.SystemRoot)
    • lib/persistence.js:22const child = spawn(join(process.env.SystemRoot, 'System32/WindowsPowerShell/v1.0/powershell.exe'), ['-NoLogo', '-NoProf…
    • lib/persistence.js:64if (protection === windowsProtection && (process.platform !== 'win32' || !process.env.SystemRoot)) {
    • src/persistence.ts:28if (process.platform !== 'win32' || !process.env.SystemRoot) return Promise.reject(new Error('Durable Guilduo credential…
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 动态加载模块dynamic-import一般5 处命中
    • lib/adapter.d.ts:19begin(openAuthorization: (url: URL) => void | Promise<void>): Promise<import("@modelcontextprotocol/client").AuthResult>…
    • lib/index.d.ts:19begin(sessionId: string, redirectUrl: string, open: (url: URL) => void | Promise<void>): Promise<import("@modelcontextpr…
    • lib/persistence.d.ts:32export declare const SHARED_KEY: import("@deepseek-ai/dsh-credentials").CredentialKey;
    • lib/settings-gateway.d.ts:4export declare function installSettingsGateway(ctx: Context, control: HostControl): import("@deepseek-ai/cordis").Fiber …
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取文件reads-files一般4 处命中
    • lib/index.js:427const markdown = await readFile(new URL('SKILL.md', base), 'utf8');
    • build-client.mjs:8const { name } = JSON.parse(await readFile(new URL('./package.json', import.meta.url), 'utf8'));
    • stage.mjs:20const references = await readdir(resolve(root, 'skills/guilduo-workflows/references'), { withFileTypes: true });
    • src/index.ts:329const markdown = await readFile(new URL('SKILL.md', base), 'utf8');
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注2
含混淆或编码代码obfuscated-code需留意10
写入文件writes-files需留意2
发起网络请求network需留意2
启动伪终端spawns-pty需留意2
接触凭据或密钥credentials一般15
读取环境变量reads-env一般6
动态加载模块dynamic-import一般5
读取文件reads-files一般4

这份报告的口径

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

可信度

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

认证等级 L2

  • L0静态结构与契约✓sha512-Jg4py9D3u6HLmgJ1… 与本地 tarball 复算一致,补丁与入口齐备
  • L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
  • L2隔离沙箱冒烟✓隔离 profile 安装成功,7.6s,层已挂载;宿主带它启动(booted)
  • L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息

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

维护者
elrdn
仓库
https://github.com/ELRdn/Guilduo
许可
AGPL-3.0-only
最后发布
2026-10-10
周下载
256
star
1

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

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

DSH peer 依赖8 个cordisdsh-agentdsh-api-session-controllerdsh-credentialsdsh-sessiondsh-skilldsh-toolsdsh-typert-protocol均为 @deepseek-ai/ 下的包
Node 要求>=22
第三方依赖2 个
bundle patch./cordis.patch.yml
依赖安全公告1 条,见下方

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

等级依赖包编号摘要
中@modelcontextprotocol/clientCVE-2026-104850MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
修复版本:1.31.0, 2.2.0 详情

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

元数据

主页https://guilduo.com/
仓库最近提交2026-10-17
仓库创建2026-08-01

返回首页