dsh-reach
github.com/PerryLink/dsh-reach
面向 DeepSeek Harness(DSH)的多渠道决策与远程控制桥:把任意工作区的审批/提问卡推送到 IM 通道(微信 iLink、Telegram、飞书——另含 QQ/钉钉/企微 v2 drop-in 基座),并可在聊天中直接答复;附带会话控制台、每通道安全策略与开放推送服务。
作者原文(英文)
Multi-channel decision & remote-control bridge for DeepSeek Harness: pushes any workspace's approval/question cards to IM channels (WeChat iLink first) and answers them from chat, with a session console, per-channel security, and an open push service.
中文简介由 DeepSeek 模型翻译,仅供参考。
检测报告
能力清单
- 发起网络请求
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来源✓维护者 perrylink,仓库 PerryLink/dsh-reach(未做仓库审计)
- L2发行—需要批准构建脚本——本站不代跑第三方代码
- L3生态—含界面但还没有宿主启动记录
- L4多方独立验证—本站不做第三方独立背书
评分口径与作者信息
从 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 只作参考,不参与评分。
认证等级核验的是这个包本身(内容指纹、来源、能否安装、声明是否属实);依赖漏洞是独立标注的,两者正交、不互相掩盖。可信 ≠ 无漏洞,上架 ≠ 推荐。
DSH