浏览全部

界面与主题 · v0.15.1

dsh-plugin-genui

github.com/pengyue-polaron/deepseek-harness-genui

能力写入文件发起网络请求

DeepSeek Harness GenUI 让 Agent 在任务用文本处理不便时构建一个聚焦的界面。

作者原文(英文)

DeepSeek Harness GenUI lets an Agent build a focused interface when a task is awkward in text.

简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。

deepseek-harnessdsh-plugingenerative-uigenuimcpreact
认证 L0已扫描 ✓健康 B/85周下载 382
6 项能力
许可
MIT
发布
2026-09-24
维护者
pengyue-polaron
插件 ID
2183

安装命令

dsh plugin --profile web add dsh-plugin-genui@0.15.1

强装可用 · 需绕过门禁

当前 DSH 版本上 CLI 拒绝安装这个包。用 --accept-risk 绕过门禁之后,它能装上并挂载——限制来自版本策略,不是包坏了。要用它,得自己决定这个风险值不值得承担。

检测报告

有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
2需留意4一般18未命中
高关注需留意一般

能力清单

  • 写入文件writes-files需留意29 处命中
    • lib/index.js:64await mkdir(dirname(path), { recursive: true });
    • lib/index.js:66await writeFile(temporary, `${JSON.stringify(value, null, 2)}\n`, {
    • lib/index.js:70await rename(temporary, path);
    • lib/index.js:147await mkdir(this.root, {
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意8 处命中
    • lib/client.js:49const response = await fetch(input, {
    • lib/index.js:1085const originalFetch = globalThis.fetch.bind(globalThis)
    • lib/index.js:1341const response = await fetch(apiUrl(action), {
    • lib/index.js:1359const response = await fetch(apiUrl(action), {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 读取文件reads-files一般18 处命中
    • lib/index.js:61return JSON.parse(await readFile(path, "utf8"));
    • lib/index.js:151const entries = await readdir(this.root, { withFileTypes: true });
    • lib/index.js:608const parsed = JSON.parse(await readFile(this.settingsPath(), "utf8"));
    • lib/index.js:634const entries = await readdir(this.root, { withFileTypes: true });
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 接触凭据或密钥credentials一般14 处命中
    • lib/client.js:100if (token === void 0 || token === "" || markerAt < 0 || preview.origin !== window.location.origin || preview.username !=…
    • lib/client.js:137if (preview.origin !== window.location.origin || preview.pathname !== expectedPath || preview.username !== "" || preview…
    • lib/index.js:126if (target.protocol !== "https:" || target.username !== "" || target.password !== "" || target.hash !== "") throw new Er…
    • lib/index.js:955if (url.protocol !== "https:" || url.username !== "" || url.password !== "" || url.hash !== "") throw new Error("externa…
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 动态加载模块dynamic-import一般5 处命中
    • …ypes/client/design-settings.d.ts:22export declare function DesignSettingsCard({ t }: DesignSettingsCardProps): import("react").JSX.Element;
    • lib/types/client/icons.d.ts:4}): import("react").JSX.Element;
    • lib/types/client/index.d.ts:5export declare function GenuiToolView({ block, callId, sessionId, t }: GenuiToolViewProps): import("react").JSX.Element;
    • …/runtime/settings-namespace.d.ts:12export declare function registerDesignSettingsNamespace(ctx: Context): import("@deepseek-ai/cordis").Fiber & PromiseLike…
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 文中出现远程脚本地址remote-url-reference一般2 处命中
    • README.md:7[![Node.js](https://img.shields.io/badge/Node.js-22.19%20%7C%2024-339933?logo=nodedotjs&logoColor=white)](package.json)
    • README.zh-CN.md:6[![Node.js](https://img.shields.io/badge/Node.js-22.19%20%7C%2024-339933?logo=nodedotjs&logoColor=white)](package.json)
    • 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意29
发起网络请求network需留意8
读取文件reads-files一般18
接触凭据或密钥credentials一般14
动态加载模块dynamic-import一般5
文中出现远程脚本地址remote-url-reference一般2

这份报告的口径

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

可信度

85 健康分 B 扣分项下方逐条附证据
  • -10声明与实物不符:peer-static-import-unsatisfiedmajor:{'@deepseek-ai/dsh-tools': '>=0.1.0-rc.6 <=0.1.0-rc.8 || >=0.1.1-rc.1 <=0.1.1-rc.2 || >=0.1.5-rc.2 <=0.1.5-rc.3 || 0.1.7-rc.1', '@deepseek-a
  • -5cordis entry id「genui」被 3 个包共用,同时安装会互相替换warn:@changfenhuang/dsh-genui、dsh-genui

认证等级 L0

  • L0静态结构与契约✓sha512-QrWQI039vtQCrjsp… 与本地 tarball 复算一致,补丁与入口齐备,另有 1 项声明不一致(计入健康扣分)
  • L1配置组合与依赖图—entry id genui 被 3 个包共用
  • L2隔离沙箱冒烟—试装未通过(forced-ok)
  • L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息

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

维护者
pengyue-polaron
仓库
https://github.com/pengyue-polaron/deepseek-harness-genui
许可
MIT
最后发布
2026-09-24
周下载
382
star
114

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

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

DSH peer 依赖12 个cordisdsh-agentdsh-client-localedsh-client-ui-conversationdsh-client-ui-slotsdsh-client-ui-tooldsh-host-webserverdsh-llmdsh-sessiondsh-settingsdsh-system-promptdsh-tools均为 @deepseek-ai/ 下的包
Node 要求^22.19.0 || ^24.0.0
第三方依赖10 个
bundle patch./cordis.patch.yml
依赖安全公告已查询全部依赖,没有匹配到已公开的安全公告(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

元数据

主页https://github.com/pengyue-polaron/deepseek-harness-genui#readme
仓库最近提交2026-09-24
仓库创建2026-08-14

返回首页