ds-harness-remote
github.com/liguobao/ds-harness-remote
v0.5.5
开发与运行时
可执行外部程序以 shell 执行命令含混淆或编码代码
从手机、电脑、浏览器继续使用你的 DeepSeek Harness 实例。
作者原文(英文)
End-to-end encrypted remote access to DeepSeek Harness and experimental Codex workspaces from desktop, web, and Android, with dsh-TUI Host support.
中文简介由 DeepSeek 模型翻译,仅供参考。
deepseekdeepseek-harnessdshdsh-plugincodexremote-developmentend-to-end-encryptionwebrtc
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注5需留意4一般13未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注14 处命中dist/acp.js:20import { spawn } from 'node:child_process';…/adapters/antigravity-process.js:4import { spawn } from 'node:child_process';dist/codex/app-server.js:1import { spawn } from 'node:child_process';dist/control-runtime.js:2import { execFileSync } from 'node:child_process';- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 以 shell 执行命令
shell-exec高关注2 处命中dist/control-runtime.js:383execFileSync(process.platform === 'win32' ? 'where' : 'which', [command], { stdio: 'ignore' });dist/service.js:427execFileSync(process.platform === 'win32' ? 'where' : 'which', [command], { stdio: 'ignore' });- 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
- 含混淆或编码代码
obfuscated-code需留意114 处命中dist/client.github.js:2009terminalRemoteHint: "\u5141\u8BB8\u53D7\u4FE1\u4EFB\u7684 Remote \u8BBE\u5907\u4EE5\u6B64 Host \u7528\u6237\u8EAB\u4EFD\…dist/client.github.js:2010terminalRemoteUnavailable: "\u8FDC\u7A0B\u7EC8\u7AEF\u4E0D\u53EF\u7528\u3002\u8BF7\u5728 Host \u7684 Remote \u8BBE\u7F6E…dist/client.github.js:2012previewPortsHint: "\u586B\u5199\u5141\u8BB8\u8BBF\u95EE\u7684 Host \u7AEF\u53E3\uFF081024\u201365535\uFF09\uFF0C\u4EE5\u…dist/client.github.js:2014developmentSaved: "\u8FDC\u7A0B\u9884\u89C8\u7AEF\u53E3\u5DF2\u4FDD\u5B58\uFF0C\u7ACB\u5373\u751F\u6548\u3002",- 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
- 写入文件
writes-files需留意13 处命中dist/identity-store.js:40await mkdir(this.directory, { recursive: true, mode: 0o700 });dist/identity-store.js:159await mkdir(dirname(path), { recursive: true, mode: 0o700 });dist/identity-store.js:161await writeFile(temporary, value, { encoding: 'utf8', mode, flag: 'wx' });dist/identity-store.js:163await rename(temporary, path);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意2 处命中dist/loopback-host.js:221const socket = new WebSocket(`ws://127.0.0.1:${value.port}${value.path}`, value.protocols, {dist/server-connection.js:33constructor(config, identity, identities, api, connections, logger, createWebSocket = url => new WebSocket(url), rtcFact…- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- R011 客户端可疑脚本
client-side-risk需留意2 处命中- client.github.js: postMessage 无 origin 校验; client.js: postMessage 无 origin 校验
- 浏览器侧代码能改你看到的界面。确认改动范围符合插件用途。
- 可终止进程
kills-processes需留意1 处命中…adapters/antigravity/executor.js:94this.activeProcess.kill('SIGTERM');- 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
- 接触凭据或密钥
credentials一般420 处命中dist/api-proxy-switch.js:12'credentials',dist/cli.js:7import { ServerCredentialStore } from './server-credentials.js';dist/cli.js:99lines.push('Device: not initialized', 'Authorization: logged out', 'Credential: unavailable');dist/cli.js:106const store = new ServerCredentialStore(directory);- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取文件
reads-files一般22 处命中…/adapters/antigravity-process.js:25if (existsSync(defaultLocal)) {dist/codex/domain.js:903const rows = await readdir(target.path, { withFileTypes: true }).catch(() => undefined);dist/codex/domain.js:1024const manifest = JSON.parse(readFileSync(join(codexCli, 'codex-package.json'), 'utf8'));dist/codex/domain.js:1029if (!existsSync(candidate))- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般20 处命中…/adapters/antigravity-process.js:66env: process.env,dist/cli.js:177env: input.env ?? process.env,dist/config.js:83export function resolveConfig(input = {}, env = process.env) {…t/acp/adapters/cursor-process.js:41env: process.env,- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 动态加载模块
dynamic-import一般8 处命中dist/cli.js:193const { default: QRCode } = await import('qrcode');dist/cli.js:211const { default: QRCode } = await import('qrcode');…antigravity/transcript-loader.js:131const { DatabaseSync } = await import('node:sqlite');…antigravity/transcript-loader.js:146const { execFile } = await import('node:child_process');- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 14 |
| 以 shell 执行命令 | shell-exec | 高关注 | 2 |
| 含混淆或编码代码 | obfuscated-code | 需留意 | 114 |
| 写入文件 | writes-files | 需留意 | 13 |
| 发起网络请求 | network | 需留意 | 2 |
| R011 客户端可疑脚本 | client-side-risk | 需留意 | 2 |
| 可终止进程 | kills-processes | 需留意 | 1 |
| 接触凭据或密钥 | credentials | 一般 | 420 |
| 读取文件 | reads-files | 一般 | 22 |
| 读取环境变量 | reads-env | 一般 | 20 |
| 动态加载模块 | dynamic-import | 一般 | 8 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 156 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
这个插件声明的依赖中,有 3 条已公开的安全公告 (最高等级:中):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 中 | ws | CVE-2026-45736 | ws: Uninitialized memory disclosure 修复版本:8.20.1 详情 → |
| 中 | ws | CVE-2026-48779 | ws: Memory exhaustion DoS from tiny fragments and data chunks 修复版本:5.2.5, 6.2.4, 7.5.11 详情 → |
| 低 | zod | CVE-2023-4316 | Zod denial of service vulnerability 修复版本:3.22.3 详情 → |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。