会话与记忆 · v1.1.7
deepseek-harness-chatroom
DeepSeek Harness Chatroom 是原生 DeepSeek Harness Web UI 的多用户协作层。
作者原文(英文)
DeepSeek Harness Chatroom A multi-user collaboration layer for the native DeepSeek Harness Web UI.
简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。
安装命令
dsh plugin --profile web add deepseek-harness-chatroom@1.1.7
已试装 · 层已挂载
已在一个隔离的 profile 里真装过:包能装上,并且插件层挂载成功。这一条是实测结果,不是作者的声明。
检测报告
能力清单
- 含混淆或编码代码
obfuscated-code需留意100 处命中dist/index.js:121super(`\u767B\u5F55\u5C1D\u8BD5\u8FC7\u591A\uFF0C\u8BF7\u5728 ${String(retryAfterSeconds)} \u79D2\u540E\u91CD\u8BD5\u300…dist/index.js:212throw new ChatroomAuthError("\u9996\u6B21\u6CE8\u518C\u9700\u8981\u6B63\u786E\u7684\u8D85\u7EA7\u7BA1\u7406\u5458\u521D\…dist/index.js:215throw new ChatroomAuthError("\u5F53\u524D\u7CFB\u7EDF\u5DF2\u5173\u95ED\u81EA\u4E3B\u6CE8\u518C\uFF0C\u8BF7\u8054\u7CFB\…dist/index.js:237throw new ChatroomAuthError("\u8D26\u53F7\u6216\u5BC6\u7801\u4E0D\u6B63\u786E\u3002");- 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
- 发起网络请求
network需留意6 处命中dist/client.js:52`),...i===void 0?{}:{displayName:i},...o===void 0?{}:{reply:o},...s===void 0?{}:{forward:s}}}function aa(e){return e===`…dist/index.js:594verified = await fetch(this.config.authDshAuthVerifyUrl, {dist/index.js:870form.addEventListener('submit',async event=>{event.preventDefault();submit.disabled=true;error.dataset.open='false';cons…dist/index.js:3545const upstream = await this.configurationApi.fetch(new Request(`http://chatroom.local/api/${method}`, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 写入文件
writes-files需留意2 处命中dist/index.js:2040this.ctx.sessionTitle.rename(binding.agent.session, `\u5206\u652F\uFF1A${[...root.text].slice(0, 40).join("")}`);dist/index.js:2280this.ctx.sessionTitle.rename(binding.agent.session, title);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 接触凭据或密钥
credentials一般31 处命中dist/client.js:1window.__ModuleLoader__.load({id:`deepseek-harness-chatroom`,factory:e=>{var t={exports:{}},n=t.exports;Object.definePro…dist/client.js:52`),...i===void 0?{}:{displayName:i},...o===void 0?{}:{reply:o},...s===void 0?{}:{forward:s}}}function aa(e){return e===`…dist/index.js:59if (!loopback || verify.protocol !== "http:" || verify.username !== "" || verify.password !== "" || verify.hash !== "") …dist/index.js:414if (issuer.protocol !== "https:" || issuer.username !== "" || issuer.password !== "" || issuer.hash !== "") {- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取环境变量
reads-env一般30 处命中README.md:133cwd: !!js process.env.DSH_CHATROOM_CWD ?? process.cwd()README.md:135settingsAdminParticipantIds: !!js (process.env.DSH_CHATROOM_SETTINGS_ADMIN_IDS ?? '').split(',').map(value => value.trim…README.md:136authEnabled: !!js Boolean(process.env.DSH_CHATROOM_AUTH_SECRET)README.md:137authSecret: !!js process.env.DSH_CHATROOM_AUTH_SECRET ?? ''- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 动态加载模块
dynamic-import一般21 处命中dist/index.js:2410const { default: sharp } = await import("sharp");…ent/ChatroomMessageNodeView.d.ts:36export declare const ChatroomUserMessageNodeView: import("react").MemoExoticComponent<(props: ChatroomUserMessageNodeVie……ent/ChatroomMessageNodeView.d.ts:38export declare const ChatroomSteeringMessageNodeView: import("react").MemoExoticComponent<(props: ChatroomSteeringMessag…dist/types/domain.d.ts:154identities: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<string, IdentityRecord>;- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 含混淆或编码代码 | obfuscated-code | 需留意 | 100 |
| 发起网络请求 | network | 需留意 | 6 |
| 写入文件 | writes-files | 需留意 | 2 |
| 接触凭据或密钥 | credentials | 一般 | 31 |
| 读取环境变量 | reads-env | 一般 | 30 |
| 动态加载模块 | dynamic-import | 一般 | 21 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 39 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
- -20宿主启动时导入失败fail:chatroom
认证等级 L1
- L0静态结构与契约✓sha512-Tbob8TkN6vZGazom… 与本地 tarball 复算一致,补丁与入口齐备
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
- L2隔离沙箱冒烟—宿主启动时该插件导入失败
- L3运行时健康监控✓抽样会话内未观测到外部进程 / 越界写 / 外连(2 个事件)(前一级未通过,本项不计入等级)前一级未通过,不计入等级
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- sliverp
- 仓库
- https://github.com/sliverp/DeepSeek-harness-chatroom
- 许可
- MIT
- 最后发布
- 2026-08-25
- 周下载
- 19
- star
- 8
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 20 个cordisdsh-agentdsh-agent-default-modeldsh-agent-presetsdsh-attachmentdsh-client-connectiondsh-client-runtimedsh-client-ui-conversationdsh-client-ui-input-triggerdsh-client-ui-layoutdsh-client-ui-settingsdsh-client-ui-slots等 20 个均为 @deepseek-ai/ 下的包 |
|---|---|
| Node 要求 | >=22.19 |
| 第三方依赖 | 5 个 |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 4 条,见下方 |
这个插件声明的依赖中,有 4 条已公开的安全公告 (最高等级:低):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 低 | zod | CVE-2023-4316 | Zod denial of service vulnerability 修复版本:3.22.3 详情 |
| 未分级 | sharp | GHSA-f88m-g3jw-g9cj | sharp inherited vulnerabilities in libvips: CVE-2026-33327, CVE-2026-33328, CVE-2026-35590, CVE-2026-35591 修复版本:0.35.0 详情 |
| 未分级 | sharp | GHSA-rgj7-g3m4-5g8c | sharp: Vulnerabilities in libheif: GHSA-g89c-p67h-r497 and GHSA-2jg2-4ch7-h545 修复版本:0.35.4 详情 |
| 未分级 | sharp | GHSA-wq5f-xc86-pv6w | sharp : Vulnerability in librsvg dependency CVE-2026-96889 修复版本:0.35.5 详情 |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。
元数据
| 主页 | https://github.com/sliverp/DeepSeek-harness-chatroom#readme |
|---|---|
| 仓库最近提交 | 2026-09-06 |
| 仓库创建 | 2026-08-21 |
DSH