界面与主题 · v1.0.0-rc.2
dsh-tianshu-tui
本包不是独立程序。须先有官方 CLI @deepseek-ai/dsh(npm next,当前 0.2.0-rc.1;需 ≥ 0.2.0-rc.1,peer 依赖对齐——npm latest 仍是 0.1.7 线,与本包不兼容)。
作者原文(英文)
dsh-tianshu-tui: an interactive terminal UI plugin for the official DeepSeek Harness — streaming markdown/tool cards, 16+ themes, slash commands, session tabs, LSP diagnostics, cost tracking, self-update (`dsh plugin --profile tui add @huiliyi37/dsh-tians
简介取自插件自己的 README 原文。
安装命令
dsh plugin --profile web add @huiliyi37/dsh-tianshu-tui@1.0.0-rc.2
已试装 · 层已挂载
已在一个隔离的 profile 里真装过:包能装上,并且插件层挂载成功。这一条是实测结果,不是作者的声明。
检测报告
能力清单
- R010 向其他插件注入
plugin-tree-injection高关注3 处命中- @huiliyi37/dsh-lsp, @huiliyi37/dsh-lsp-local, @huiliyi37/dsh-tool-lsp
- 看 patch 里 insert 的包是不是本项目自己的。插入第三方代码要格外留意。
- 可执行外部程序
spawns-processes高关注2 处命中lib/types/lsp/manager.d.ts:1import type { ChildProcess } from 'node:child_process';lib/types/lsp/multi-manager.d.ts:12import { type ChildProcess } from 'node:child_process';- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 含混淆或编码代码
obfuscated-code需留意1 处命中…controllers/error-announcer.d.ts:18export declare const REFILL_NOTE = "\u21A9 \u4E0A\u4E00\u6761\u6D88\u606F\u53EF\u80FD\u672A\u88AB\u5B8C\u6574\u5904\u740…- 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
- 文中出现远程脚本地址
remote-url-reference一般6 处命中README.en.md:38bash <(curl -fsSL https://raw.githubusercontent.com/huiliyi37/dsh-tianshu-tui/main/scripts/install-tui.sh)README.en.md:40bash <(curl -fsSL https://raw.githubusercontent.com/huiliyi37/dsh-tianshu-tui/main/scripts/install-tui.sh) --no-launchREADME.en.md:43powershell -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/huiliyi37/dsh-tianshu-tui/main/script…README.md:39bash <(curl -fsSL https://raw.githubusercontent.com/huiliyi37/dsh-tianshu-tui/main/scripts/install-tui.sh)- 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| R010 向其他插件注入 | plugin-tree-injection | 高关注 | 3 |
| 可执行外部程序 | spawns-processes | 高关注 | 2 |
| 含混淆或编码代码 | obfuscated-code | 需留意 | 1 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 6 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 187 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
- -10声明与实物不符:client-present-undeclaredmajor:['lib/types/ui-glyphs.d.ts', 'lib/types/ui/activity-flow.d.ts', 'lib/types/ui/app.d.ts', 'lib/types/ui/config-flow.d.ts']
认证等级 L2
- L0静态结构与契约✓sha512-GS6nefFd7FQctd3q… 与本地 tarball 复算一致,补丁与入口齐备,另有 1 项声明不一致(计入健康扣分)
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
- L2隔离沙箱冒烟✓隔离 profile 安装成功,6.2s,层已挂载;宿主带它启动(booted)
- L3运行时健康监控—运行时观测到异常:spawns
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- huiliyi37
- 仓库
- https://github.com/huiliyi37/dsh-tianshu-tui
- 许可
- Apache-2.0
- 最后发布
- 2026-09-30
- 周下载
- 493
- star
- 285
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 17 个cordisdsh-agentdsh-agent-default-modeldsh-atomic-writedsh-attachmentdsh-invariantsdsh-llmdsh-permission-presetsdsh-sessiondsh-session-titledsh-skilldsh-subagent等 17 个均为 @deepseek-ai/ 下的包 |
|---|---|
| Node 要求 | ^22.19 || >=24 |
| 第三方依赖 | 29 个 |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 3 条,见下方 |
这个插件声明的依赖中,有 3 条已公开的安全公告 :
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 未分级 | sharp | GHSA-f88m-g3jw-g9cj | sharp inherited vulnerabilities in libvips: CVE-2026-33327, CVE-2026-33328, CVE-2026-35590, CVE-2026-35591 修复版本:0.35.0 详情 |
| 未分级 | sharp | GHSA-rgj7-g3m4-5g8c | sharp: Vulnerabilities in libheif: GHSA-g89c-p67h-r497 and GHSA-2jg2-4ch7-h545 修复版本:0.35.4 详情 |
| 未分级 | sharp | GHSA-wq5f-xc86-pv6w | sharp : Vulnerability in librsvg dependency CVE-2026-96889 修复版本:0.35.5 详情 |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。
元数据
| 仓库最近提交 | 2026-09-30 |
|---|---|
| 仓库创建 | 2026-08-13 |
DSH