deepseek-harness-tui
github.com/Demo-0416/deepseek-harness-tui
v0.3.0
界面与主题
R010 向其他插件注入写入文件
deepseek-harness 的交互式终端 UI, 以 dsh profile bundle 的形式安装。它渲染到终端的主屏幕—— 不使用备用屏幕,因此退出后对话仍留在回滚缓冲区中 ——并且与它所驱动的 agent 运行在同一进程中。
作者原文(英文)
Interactive terminal UI for deepseek-harness, installed as a dsh profile bundle
中文简介由 DeepSeek 模型翻译,仅供参考。
deepseekdeepseek-harnessdshdsh-plugintuiterminalcliagent
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注1需留意2一般20未命中
高关注需留意一般
能力清单
- R010 向其他插件注入
plugin-tree-injection高关注4 处命中- auto-accept, danger-full-access, read-only
- 看 patch 里 insert 的包是不是本项目自己的。插入第三方代码要格外留意。
- 写入文件
writes-files需留意1 处命中lib/types/chat/rename.d.ts:40rename(session: Session, title: string): SessionTitleSnapshot;lib/types/chat/rename.d.ts:66* @param error - the rejection from `rename()`.lib/types/chat/rename.d.ts:82* `rename()` is synchronous, so the argument branch is never interrupted by the- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 接触凭据或密钥
credentials一般33 处命中README.md:37against the endpoint before it lands in the credential store.README.md:157| `/login [provider]` | give a provider an API key: pick a configured route or one the adapter offers, paste the key, an…README.md:445working. The secret goes to the credential store's own file; settings recordREADME.md:448endpoint, protocol, credential variable, key, and the models the endpoint- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取环境变量
reads-env一般1 处命中cordis.patch.yml:88mode: !!js process.env.DSH_TOOLS_MODE- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| R010 向其他插件注入 | plugin-tree-injection | 高关注 | 4 |
| 写入文件 | writes-files | 需留意 | 1 |
| 接触凭据或密钥 | credentials | 一般 | 33 |
| 读取环境变量 | reads-env | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 85 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)