D

dsh-tianshu-tui

github.com/huiliyi37/dsh-tianshu-tui

v1.0.0-rc.2 界面与主题 R010 向其他插件注入可执行外部程序含混淆或编码代码

本包不是独立程序。须先有官方 CLI `@deepseek-ai/dsh`(npm `next`,当前 `0.2.0-rc.1`;需 ≥ `0.2.0-rc.1`,peer 依赖对齐——npm `latest` 仍是 0.1.7 线,与本包不兼容)。只 `npm i` 本包跑不起来。

作者原文(英文)

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

中文简介由 DeepSeek 模型翻译,仅供参考。

dshagent-harnessterminaltuicli
分类
ui
发布
2026-09-30
版本
v1.0.0-rc.2

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注1需留意2一般19未命中
高关注需留意一般

能力清单

  • 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…
    • 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
  • 接触凭据或密钥credentials一般27 处命中
    • package.json:96"@deepseek-ai/dsh-credentials": "^0.2.0-rc.1",
    • package.json:97"@deepseek-ai/dsh-credentials-local": "^0.2.0-rc.1",
    • CHANGELOG.md:271- **上游回流基准** — 相对 8-22 截止点后 22 个新提交经侦察判定无可回流 tui 内容(intent-bridge 出厂关闭=本仓现状);宿主 seam(llm 目录/discoverModels/credentials.s…
    • CHANGELOG.md:405- 欢迎页 / 状态行按 credentials 分层判断 API key
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 文中出现远程脚本地址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-launch
    • README.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
接触凭据或密钥credentials一般27
文中出现远程脚本地址remote-url-reference一般6

这份报告的口径

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

依赖安全公告

这个插件声明的依赖中,有 3 条已公开的安全公告 :

等级依赖包编号摘要
未分级sharpGHSA-f88m-g3jw-g9cjsharp inherited vulnerabilities in libvips: CVE-2026-33327, CVE-2026-33328, CVE-2026-35590, CVE-2026-35591
修复版本:0.35.0 详情 →
未分级sharpGHSA-rgj7-g3m4-5g8csharp: Vulnerabilities in libheif: GHSA-g89c-p67h-r497 and GHSA-2jg2-4ch7-h545
修复版本:0.35.4 详情 →
未分级sharpGHSA-wq5f-xc86-pv6wsharp : Vulnerability in librsvg dependency CVE-2026-96889
修复版本:0.35.5 详情 →

查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0), 不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响—— 所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自 OSV.dev。

← 返回全部插件