浏览全部

界面与主题 · v0.0.9

dsh-generative-ui

github.com/MindLab-Research/dsh-generative-ui

能力发起网络请求写入文件R013 清单可疑

DeepSeek Harness 的生成式 UI:智能体以实时 React 界面作答,而非文字叙述。

作者原文(英文)

Generative UI for DeepSeek Harness: the agent answers with a live React interface instead of prose.

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

generative-uigenuiui4aartifactscanvasdshdsh-plugindeepseek-harness
认证 L3已扫描 ✓健康 S/100周下载 827
6 项能力
许可
Apache-2.0
发布
2026-10-12
维护者
muspi-merol
插件 ID
1788

安装命令

dsh plugin --profile web add dsh-generative-ui@0.0.9

已试装 · 层已挂载

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

源仓库无法访问 多次尝试都没连上,可能是网络问题,也可能是仓库不可达。

检测报告

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

能力清单

  • 发起网络请求network需留意8 处命中
    • src/client/canvas/read.ts:15const response = await fetch(`${CANVAS_READ_PATH}?cwd=${encodeURIComponent(cwd)}`, { cache: "no-store" });
    • src/client/canvas/read.ts:31const response = await fetch(url, { cache: "no-store" });
    • src/client/canvas/read.ts:48const response = await fetch(url, { cache: "no-store" });
    • src/client/index.ts:152void fetch(`${CARD_ERROR_PATH}?session=${encodeURIComponent(id)}`, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意5 处命中
    • lib/index.js:1004directories) and \`writeFile(path, content)\` over the workspace. Paths are workspace-relative and
    • src/skill.ts:965directories) and \`writeFile(path, content)\` over the workspace. Paths are workspace-relative and
    • types/fs.d.ts:30export function writeFile(path: string, content: string): Promise<void>;
    • types/standalone/fs.js:15export async function writeFile(...args) {
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • R013 清单可疑manifest-obfuscation需留意1 处命中
    • 安装脚本: prepare
    • 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
  • 读取文件reads-files一般22 处命中
    • lib/index.js:888const load = async (p: string) => { try { setRows(await readdir(p)) } finally { setLoading(false) } }
    • lib/index.js:1002\`$dsh/fs\` gives a card \`readFile(path) -> string\`, \`readBytes(path) -> Uint8Array\`, \`readdir(path) -> {name, type…
    • lib/index.js:1742return existsSync(path) ? path : undefined;
    • lib/index.js:1753res.end(await readFile(file));
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 动态加载模块dynamic-import一般9 处命中
    • …lient/canvas/CanvasLauncher.d.ts:6export declare function CanvasLauncher({ ids, onOpen }: CanvasLauncherProps): import("react").JSX.Element;
    • …s/client/canvas/CanvasPanel.d.ts:88export declare function CanvasPanel({ canvases, offerable, cwd, onOpen, onClose, onWidth, onCardError, onCardRendered }:…
    • …lient/canvas/useDismissable.d.ts:13setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    • …lient/canvas/useDismissable.d.ts:14anchor: import("react").RefObject<HTMLDivElement>;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 文中出现远程脚本地址remote-url-reference一般4 处命中
    • lib/index.js:1231| a formula the reader is trying to READ, not just the number it comes out as | \`katex\` | \`katex.renderToString(tex, …
    • lib/index.js:1239The same doubt covers **default vs named**, and there the answer is cheaper still: \`curl -s https://esm.sh/<package>\` …
    • src/skill.ts:1192| a formula the reader is trying to READ, not just the number it comes out as | \`katex\` | \`katex.renderToString(tex, …
    • src/skill.ts:1200The same doubt covers **default vs named**, and there the answer is cheaper still: \`curl -s https://esm.sh/<package>\` …
    • 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
能力标识关注度命中次数
发起网络请求network需留意8
写入文件writes-files需留意5
R013 清单可疑manifest-obfuscation需留意1
读取文件reads-files一般22
动态加载模块dynamic-import一般9
文中出现远程脚本地址remote-url-reference一般4

这份报告的口径

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

可信度

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

认证等级 L3

  • L0静态结构与契约✓sha512-bC+TzR5Afwp88Bms… 与本地 tarball 复算一致,补丁与入口齐备
  • L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
  • L2隔离沙箱冒烟✓隔离 profile 安装成功,1.9s,层已挂载;宿主带它启动(booted)
  • L3运行时健康监控✓抽样会话内未观测到外部进程 / 越界写 / 外连(2 个事件)
评分口径与作者信息

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

维护者
muspi-merol
仓库
https://github.com/MindLab-Research/dsh-generative-ui
许可
Apache-2.0
最后发布
2026-10-12
周下载
827
star
4

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

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

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

元数据

主页https://github.com/MindLab-Research/dsh-generative-ui#readme
仓库最近提交2026-10-15
仓库创建2026-08-20

返回首页