D

dsh-bash-terminal

github.com/MAXeaglet/dsh-bash-terminal

v0.3.15 界面与主题 启动伪终端写入文件含混淆或编码代码

DSH plugin: one shell tool that runs commands through PowerShell, Git Bash, or WSL on Windows, with a user-chosen default terminal in the Web UI settings.

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

deepseek-harnessdshpluginterminalshellpowershellgit-bashwsl
分类
ui
发布
2026-09-11
版本
v0.3.15

检测报告

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

能力清单

  • 启动伪终端spawns-pty需留意8 处命中
    • lib/terminal.js:2// ctx.subprocess.spawnTerminal (node-pty under the hood) allocates a real
    • lib/terminal.js:9// allocated directly through node-pty. Session readiness here is
    • lib/terminal.js:91* Direct node-pty handle with the same surface the official seam returns:
    • lib/terminal.js:96const mod = await import("node-pty");
    • 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
  • 写入文件writes-files需留意4 处命中
    • scripts/build-client.mjs:13mkdirSync(join(root, "dist"), { recursive: true });
    • scripts/build-client.mjs:14mkdirSync(join(root, "lib"), { recursive: true });
    • scripts/build-client.mjs:38writeFileSync(join(root, "lib", "client.js"), wrapper);
    • scripts/build-client.mjs:39writeFileSync(join(root, "dist", "client.js"), wrapper);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 含混淆或编码代码obfuscated-code需留意3 处命中
    • dist/client.core.js:43"shell.description": "shell \u5DE5\u5177\u6267\u884C\u547D\u4EE4\u65F6\u4F7F\u7528\u7684\u7EC8\u7AEF",
    • dist/client.js:48"shell.description": "shell \u5DE5\u5177\u6267\u884C\u547D\u4EE4\u65F6\u4F7F\u7528\u7684\u7EC8\u7AEF",
    • lib/client.js:48"shell.description": "shell \u5DE5\u5177\u6267\u884C\u547D\u4EE4\u65F6\u4F7F\u7528\u7684\u7EC8\u7AEF",
    • 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
  • 读取环境变量reads-env一般4 处命中
    • lib/index.js:95export function candidatePwshPaths(env = process.env) {
    • lib/index.js:113export function candidateGitBashPaths(env = process.env) {
    • lib/index.js:131export function defaultWslPath(env = process.env) {
    • lib/index.js:136function resolveAllPaths(config = {}, env = process.env) {
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 动态加载模块dynamic-import一般2 处命中
    • lib/terminal.js:96const mod = await import("node-pty");
    • README.md:66> `Failed to load plugins` / `require(...) missed the module table`。
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取文件reads-files一般1 处命中
    • scripts/build-client.mjs:27const core = readFileSync(join(root, "dist", "client.core.js"), "utf8");
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
能力标识关注度命中次数
启动伪终端spawns-pty需留意8
写入文件writes-files需留意4
含混淆或编码代码obfuscated-code需留意3
读取环境变量reads-env一般4
动态加载模块dynamic-import一般2
读取文件reads-files一般1

这份报告的口径

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

依赖安全公告

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

← 返回全部插件