dsh-plugin-judge
github.com/pengxuding/dsh-plugin-judge
v0.1.1
模型与账号
发起网络请求写入文件
Plugin value auditor for DeepSeek Harness: judge a plugin before install and audit installed ones — heuristic scan + LLM judge, with model-switch re-audit reminders. · DSH 插件价值裁判:装前判断值不值得装,装后审计是否还该留,模型切换时提醒复核。
该插件尚未翻译,显示作者原文。
deepseekharnessdshdsh-pluginplugin-auditplugin-judgeevaluation
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
2需留意2一般20未命中
高关注需留意一般
能力清单
- 发起网络请求
network需留意13 处命中lib/index.js:276const res = await fetch(url, { signal: signal || AbortSignal.timeout(20000), redirect: 'follow' })lib/index.js:390profileDir: got.profileDir,lib/index.js:391plugins: got.plugins,lib/index.js:393error: got.error,- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 写入文件
writes-files需留意2 处命中lib/index.js:175mkdirSync(join(p, '..'), { recursive: true })lib/index.js:176writeFileSync(p, JSON.stringify(store, null, 2))- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 读取文件
reads-files一般8 处命中lib/index.js:148for (const entry of readdirSync(root)) {lib/index.js:150if (!existsSync(manifestPath)) continuelib/index.js:152const manifest = JSON.parse(readFileSync(manifestPath, 'utf8'))lib/index.js:167if (!existsSync(p)) return { history: [], lastModel: null }- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般5 处命中lib/index.js:138export function resolveDshHome(env = process.env) {lib/index.js:144export function resolveProfileDir(loader, env = process.env) {lib/index.js:160function storePath(env = process.env) {lib/index.js:164function loadStore(env = process.env) {- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 13 |
| 写入文件 | writes-files | 需留意 | 2 |
| 读取文件 | reads-files | 一般 | 8 |
| 读取环境变量 | reads-env | 一般 | 5 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 6 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)