D

dsh-github-router

github.com/AngelosZou/dsh-github-router

v0.4.1 模型与账号 写入文件发起网络请求

DeepSeek Harness plugin: read-only GitHub access for agents (github_probe / github_pr / github_issue / github_file / github_api). Routes every request inside the tool — api.github.com (direct or proxy), gh CLI, git protocol (plugin-owned fetch cache plus

该插件尚未翻译,显示作者原文。

dsh-plugindshdeepseek-harnessgithubpull-requestissueread-onlyproxy
分类
model
发布
2026-09-28
版本
v0.4.1

检测报告

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

能力清单

  • 写入文件writes-files需留意8 处命中
    • lib/cache.js:62mkdirSync(this.dir, { recursive: true })
    • lib/cache.js:63writeFileSync(tmp, JSON.stringify({ v: 1, ts: now, ttlMs, value }), 'utf8')
    • lib/cache.js:64renameSync(tmp, file)
    • lib/cache.js:66try { unlinkSync(tmp) } catch { /* best effort */ }
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意7 处命中
    • lib/tools/api.js:46forceRefresh: { type: 'boolean', description: 'Bypass the plugin cache and re-fetch (default false).' },
    • lib/tools/file.js:23forceRefresh: { type: 'boolean', description: 'Bypass the plugin cache and re-fetch (default false).' },
    • lib/tools/issue.js:21forceRefresh: { type: 'boolean', description: 'Bypass the plugin cache and re-fetch (default false).' },
    • lib/net.js:76/** Headers projection compatible with both fetch (Headers) and the tunnel (plain object). */
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 接触凭据或密钥credentials一般62 处命中
    • lib/client.js:19* user layer after a write and keeps drafts that did not land. Secret fields
    • lib/client.js:21* and a blank draft writes nothing — the describe mirror's secret-slot list is
    • lib/client.js:99{ field: 'token', kind: 'secret', spec: textSpec('token'), labelKey: 'field.token', hintKey: 'hint.token' },
    • lib/client.js:222* describe mirror supplements the snapshot with the secret-slot list, the
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取环境变量reads-env一般4 处命中
    • lib/config.js:166const value = process.env[name]
    • lib/core/runtime.js:41const env = process.env[envName]
    • lib/util.js:10export const DSH_HOME = process.env.DSH_HOME || join(homedir(), '.dsh')
    • lib/util.js:175...process.env,
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 读取文件reads-files一般3 处命中
    • lib/cache.js:36if (!existsSync(file)) return undefined
    • lib/cache.js:38const entry = JSON.parse(readFileSync(file, 'utf8'))
    • lib/routes/git.js:78if (existsSync(join(dir, '.git'))) return dir
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 文中出现远程脚本地址remote-url-reference一般2 处命中
    • README.md:8[![Node.js >= 22.19](https://img.shields.io/badge/Node.js-%3E%3D22.19-brightgreen)](https://nodejs.org/)
    • README.zh.md:8[![Node.js >= 22.19](https://img.shields.io/badge/Node.js-%3E%3D22.19-brightgreen)](https://nodejs.org/)
    • 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意8
发起网络请求network需留意7
接触凭据或密钥credentials一般62
读取环境变量reads-env一般4
读取文件reads-files一般3
文中出现远程脚本地址remote-url-reference一般2

这份报告的口径

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

依赖安全公告

已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

← 返回全部插件