会话与记忆 · v0.1.18
dsh-reach
面向 DeepSeek Harness(DSH)的多通道决策与远程控制桥接:将任意工作区的审批/提问卡片推送到 IM 通道(WeChat iLink、Telegram、Feishu,另有 QQ/DingTalk/WeCom v2 可直接接入的基础),并从…作答。
作者原文(英文)
Multi-channel decision & remote-control bridge for DeepSeek Harness (DSH): pushes any workspace's approval/question cards to IM channels (WeChat iLink, Telegram, Feishu — plus QQ/DingTalk/WeCom v2 drop-in foundations) and answers them from…
简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。
安装命令
dsh plugin --profile web add dsh-reach@0.1.18
试装需批准构建脚本
安装过程会执行依赖的构建脚本,pnpm 默认拒绝执行这类脚本,需要人工批准后才能继续。本站不在无人值守的检查里替你批准。
检测报告
能力清单
- 发起网络请求
network需留意13 处命中lib/index.js:280const res = await fetch(url, {lib/index.js:321const res = await fetch(url, { headers: buildHeaders(void 0) });lib/index.js:428const res = await fetch(url);lib/index.js:439const res = await fetch(url, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 写入文件
writes-files需留意5 处命中lib/index.js:661fs.mkdirSync(path.dirname(this.file), { recursive: true });lib/index.js:662fs.writeFileSync(this.file, JSON.stringify({ get_updates_buf: buf }), "utf-8");lib/index.js:666if (fs.existsSync(this.file)) fs.unlinkSync(this.file);lib/index.js:823fs.mkdirSync(tempDir, { recursive: true });- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 动态执行代码
dynamic-code需留意2 处命中lib/client.js:74new Function("");lib/typert.host.js:67new Function("");- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 清单可疑
manifest-obfuscation需留意1 处命中- 安装脚本:prepare
- 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
- 动态加载模块
dynamic-import一般220 处命中lib/index.js:1420import("@larksuiteoapi/node-sdk").then((sdk) => {lib/index.js:1445const lark = await import("@larksuiteoapi/node-sdk");lib/index.js:1460const lark = await import("@larksuiteoapi/node-sdk");CHANGELOG.md:119- Four `@deepseek-ai/*` packages were marked optional peers while `lib/index.js` imports them statically: `dsh-credentia…- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 接触凭据或密钥
credentials一般23 处命中lib/index.js:756const record = await this.options.credentials.readRecord(this.options.sessionKey);lib/index.js:1040await this.options.credentials.modifyRecord(this.options.sessionKey, async () => ({lib/index.js:1056await this.options.credentials.deleteRecord(this.options.sessionKey);lib/index.js:1114const record = await this.options.credentials.readRecord(this.options.sessionKey);- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取环境变量
reads-env一般8 处命中lib/index.js:1080const home = process.env["DSH_HOME"];lib/index.js:1088return process.env["REACH_TG_BASE"] ?? "https://api.telegram.org";lib/index.js:1535return process.env["REACH_QQ_BASE"] ?? "https://api.sgroup.qq.com";README-es.md:123- **Sin mutación global.** No parchea prototipos, ni reescribe `process.env`, ni reemplaza el dispatcher global de fetch…- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 读取文件
reads-files一般5 处命中lib/index.js:654if (!fs.existsSync(this.file)) return "";lib/index.js:655return JSON.parse(fs.readFileSync(this.file, "utf8")).get_updates_buf ?? "";lib/index.js:666if (fs.existsSync(this.file)) fs.unlinkSync(this.file);lib/index.js:924const buffer = fs.readFileSync(part.path);- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 13 |
| 写入文件 | writes-files | 需留意 | 5 |
| 动态执行代码 | dynamic-code | 需留意 | 2 |
| 清单可疑 | manifest-obfuscation | 需留意 | 1 |
| 动态加载模块 | dynamic-import | 一般 | 220 |
| 接触凭据或密钥 | credentials | 一般 | 23 |
| 读取环境变量 | reads-env | 一般 | 8 |
| 读取文件 | reads-files | 一般 | 5 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 42 个文件,扫描于 2026-10-16。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
- -5需要批准构建脚本才能装(本站不代跑第三方代码)warn
认证等级 L1
- L0静态结构与契约✓sha512-W6UpxnDXxy05dX3u… 与本地 tarball 复算一致,补丁与入口齐备
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
- L2隔离沙箱冒烟—需要批准构建脚本——本站不代跑第三方代码
- L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- perrylink
- 仓库
- https://github.com/PerryLink/dsh-reach
- 许可
- Apache-2.0
- 最后发布
- 2026-10-10
- 周下载
- 684
- star
- 2
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 27 个cordisdsh-agentdsh-agent-default-modeldsh-agent-preset-registrydsh-api-remotesdsh-branddsh-client-connectiondsh-client-localedsh-client-ui-settingsdsh-client-ui-slotsdsh-commandsdsh-credentials等 27 个均为 @deepseek-ai/ 下的包 |
|---|---|
| 声明 DSH 版本 | >=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 |
| Node 要求 | ^22.19.0 || >=24.0.0 |
| 第三方依赖 | 4 个 |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 1 条,见下方 |
元数据
| 主页 | https://github.com/PerryLink/dsh-reach#readme |
|---|---|
| 仓库最近提交 | 2026-10-12 |
| 仓库创建 | 2026-09-03 |
DSH