D

dsh-plugin-open-with

github.com/hyrinx/dsh-plugin-open-with

v2.0.0 会话与记忆 写入文件发起网络请求启动伪终端

Capsule split-button in the dsh web conversation header: open the workspace in VS Code, terminal, or file explorer — extensible to more launchers.

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

deepseek-harnessdshdsh-pluginvscodeterminalwindows-terminalexploreropen-with
分类
session
发布
2026-10-09
版本
v2.0.0

检测报告

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

能力清单

  • 写入文件writes-files需留意8 处命中
    • lib/index.js:195mkdirSync(dirname(file), { recursive: true });
    • lib/index.js:197writeFileSync(temporary, `${JSON.stringify(normalized, null, 2)}\n`, "utf8");
    • lib/index.js:198renameSync(temporary, file);
    • lib/index.js:233mkdirSync(dirname(logFile), { recursive: true });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意1 处命中
    • lib/client.js:135constructor(fetcher = (input, init) => fetch(input, init)) {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 启动伪终端spawns-pty需留意1 处命中
    • 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
  • 读取文件reads-files一般3 处命中
    • lib/index.js:176text = readFileSync(file, "utf8");
    • lib/index.js:332return await readFile(outPng);
    • lib/index.js:419if (existsSync(candidate)) return candidate;
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般2 处命中
    • lib/index.js:157const home = process.env.DSH_HOME?.trim() || join(homedir(), ".dsh");
    • lib/index.js:392const windir = process.env.windir ?? "C:\\Windows";
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 动态加载模块dynamic-import一般2 处命中
    • lib/types/client/ItemIcon.d.ts:8}): import("react").JSX.Element;
    • …types/client/OpenWithButton.d.ts:40export declare function OpenWithButton({ sessionId, getSettings, launch, getCwd, log, iconUrl, t, }: OpenWithButtonProps…
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意8
发起网络请求network需留意1
启动伪终端spawns-pty需留意1
读取文件reads-files一般3
读取环境变量reads-env一般2
动态加载模块dynamic-import一般2

这份报告的口径

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

依赖安全公告

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

← 返回全部插件