D

dsh-native-launcher

dsh-native-launcher

v1.0.0 界面与主题 可执行外部程序写入文件启动伪终端

dsh plugin (Windows): desktop shortcut that launches dsh web silently (hidden console) and auto-opens the browser; port-aware reconnect; settings UI section; tray with native toast notifications and close-to-exit semantics.

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

dshdeepseek-harnesslauncherwindowsdesktopnativezero-dependencyplugin
分类
ui
发布
2026-09-25
版本
v1.0.0

检测报告

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

能力清单

  • 可执行外部程序spawns-processes高关注9 处命中
    • lib/host/services/autoOpen.js:7import { spawnSync } from "node:child_process";
    • lib/host/diagnostics.js:4import { spawn } from "node:child_process";
    • lib/host/icon.js:5import { spawnSync } from "node:child_process";
    • lib/index.js:14import { spawn, spawnSync } from "node:child_process";
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 写入文件writes-files需留意39 处命中
    • lib/host-ports.js:135writeFileSync(file, JSON.stringify(payload));
    • lib/host/icon.js:11mkdirSync(launcherDir, { recursive: true });
    • lib/host/icon.js:12copyFileSync(ICON_RESOURCE, target);
    • lib/host/icon.js:47writeFileSync(inPath, pngBuffer);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 启动伪终端spawns-pty需留意20 处命中
    • lib/host/services/autoOpen.js:18spawnSync("powershell", ["-NoProfile", "-NonInteractive", "-WindowStyle", "Hidden", "-ExecutionPolicy", "Bypass", "-File…
    • lib/host/services/autoOpen.js:20spawnSync("cmd", ["/c", "start", "", `http://127.0.0.1:${String(port)}`], { stdio: "ignore", windowsHide: true });
    • lib/host/diagnostics.js:66const child = spawn("powershell", ["-NoProfile", "-NonInteractive", "-Command", ps], {
    • lib/host/icon.js:66const result = spawnSync("powershell", ["-NoProfile", "-NonInteractive", "-Command", ps, outPath], { stdio: "ignore", wi…
    • 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
  • 发起网络请求network需留意3 处命中
    • lib/host/services/autoOpen.js:67const req = http.get(probeTarget ?? `http://127.0.0.1:${port}/`, { timeout: 2e3 }, (res) => {
    • lib/client.js:78fetch(base + path + "?client=" + encodeURIComponent(cid), { keepalive: true }).catch(function() {
    • lib/client.js:1754void fetch(`${window.location.origin}${RPC_PATH}/ntf-log`, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 读取文件reads-files一般87 处命中
    • lib/host/services/autoOpen.js:17if (existsSync(openScriptPath)) {
    • lib/host/diagnostics.js:17if (existsSync(candidate)) return candidate;
    • lib/host/diagnostics.js:33const v = JSON.parse(readFileSync(p, "utf8")).version;
    • lib/host/icon.js:10if (!existsSync(target) || readFileSync(target).length !== readFileSync(ICON_RESOURCE).length) {
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般19 处命中
    • lib/host/diagnostics.js:10const profile = process.env.USERPROFILE;
    • lib/host/diagnostics.js:24const home = process.env.DSH_HOME || join2(process.env.USERPROFILE ?? "", ".dsh");
    • lib/host/diagnostics.js:50`$o += 'node=${process.version} ${process.platform}-${process.arch} DSH_LAUNCHER=${process.env.DSH_LAUNCHER ?? "(unset)"…
    • lib/index.js:80const home = process.env.USERPROFILE;
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注9
写入文件writes-files需留意39
启动伪终端spawns-pty需留意20
发起网络请求network需留意3
读取文件reads-files一般87
读取环境变量reads-env一般19

这份报告的口径

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

依赖安全公告

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

← 返回全部插件