D

dsh-remote-workspace

github.com/GooDAnDReaDY/dsh-remote-workspace

v0.3.16 界面与主题 可执行外部程序发起网络请求写入文件

适用于 DeepSeek Harness 的企业级远程工作区插件:SSH、SFTP 文件同步与端口转发

作者原文(英文)

Enterprise Remote Workspace Plugin for DeepSeek Harness: SSH2 connection pool, SFTP operations, 3-way conflict-aware mirror sync, port forwarding, and native DSH UI.

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

deepseek-harnessdshdsh-pluginremotesshsftpworkspacetunnel
分类
ui
发布
2026-10-11
版本
v0.3.16

检测报告

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

能力清单

  • 可执行外部程序spawns-processes高关注3 处命中
    • lib/proxy-command.js:1import { spawn } from 'node:child_process';
    • lib/tar-sync-service.js:1import { spawn } from 'node:child_process';
    • lib/updater-service.js:1import { spawn } from 'node:child_process'
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 发起网络请求network需留意37 处命中
    • lib/client.js:597const res = await fetch('/dsh-remote-workspace/env/view', {
    • lib/client.js:627const res = await fetch('/dsh-remote-workspace/env/save', {
    • lib/client.js:701const res = await fetch(`/dsh-remote-workspace/docker/list?profileId=${activeProfile.id}`)
    • lib/client.js:718await fetch('/dsh-remote-workspace/docker/action', {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意25 处命中
    • lib/env-service.js:122await this.remoteFsService.writeFile(profile, filePath, finalContent);
    • lib/routes/env.js:56await remoteFs.writeFile(profile, targetPath, content);
    • lib/routes/files.js:92await remoteFs.writeFile(profile, targetPath, Buffer.from(content, 'utf8'));
    • lib/mirror-sync-service.js:49fs.mkdirSync(localDir, { recursive: true });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 启动伪终端spawns-pty需留意8 处命中
    • lib/diagnose-service.js:49const res = await this.sshService.exec(profile, cmd);
    • lib/docker-service.js:17const res = await this.sshService.exec(profile, cmd);
    • lib/docker-service.js:60const res = await this.sshService.exec(profile, cmd);
    • lib/docker-service.js:75const res = await this.sshService.exec(profile, cmd);
    • 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
  • R011 客户端可疑脚本client-side-risk需留意2 处命中
    • client.js: postMessage 无 origin 校验; client.js: innerHTML + postMessage
    • 浏览器侧代码能改你看到的界面。确认改动范围符合插件用途。
  • 接触凭据或密钥credentials一般155 处命中
    • lib/client.js:229badgePassword: '🔒 Password Auth',
    • lib/client.js:252fAuthPass: 'Password',
    • lib/client.js:297fPassword: 'Account Password',
    • lib/client.js:426badgePassword: '🔒 密码认证',
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取文件reads-files一般44 处命中
    • lib/env-service.js:63const content = await this.remoteFsService.readFile(profile, filePath);
    • lib/env-service.js:85currentContent = await this.remoteFsService.readFile(profile, filePath);
    • lib/routes/files.js:69const buf = await remoteFs.readFile(profile, targetPath);
    • lib/routes/files.js:111const stream = await remoteFs.createReadStream(profile, filePath);
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般8 处命中
    • lib/agent-endpoint.js:8export function resolveAgentEndpoint(profile, env = process.env, platform = process.platform) {
    • lib/routes/helpers.js:120|| process.env.DSH_AUTH_TOKEN
    • lib/routes/helpers.js:121|| process.env.DSH_TOKEN
    • lib/proxy-command.js:68const shell = windows ? (process.env.ComSpec || 'cmd.exe') : (process.env.SHELL || '/bin/sh');
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 动态加载模块dynamic-import一般2 处命中
    • lib/remote-fs-service.js:10* @param {import('./ssh-service.js').SshService} sshService
    • lib/tar-sync-service.js:12* @param {import('./ssh-service.js').SshService} sshService
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注3
发起网络请求network需留意37
写入文件writes-files需留意25
启动伪终端spawns-pty需留意8
R011 客户端可疑脚本client-side-risk需留意2
接触凭据或密钥credentials一般155
读取文件reads-files一般44
读取环境变量reads-env一般8
动态加载模块dynamic-import一般2

这份报告的口径

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

依赖安全公告

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

← 返回全部插件