浏览全部

模型与账号 · v1.16.1

dsh-vps

github.com/AIcivilization/dsh-vps

能力以提权方式执行可执行外部程序发起网络请求

把 DeepSeek Harness 装进你的 VPS:一条命令,公网可达,界面原样 Your DeepSeek Harness on your own VPS — one command, reachable from anywhere, native UI intact。

作者原文(英文)

Ship DeepSeek Harness to your own VPS: one command (or a form in DSH Settings → VPS Deploy) installs a zero-dependency login gateway, automatic HTTPS through Caddy, systemd supervision and one-click DSH upgrades.

简介取自插件自己的 README 原文。

deepseek-harnessdeepseekdshdsh-plugindsh-vpsvpsinstallerone-click-install
认证 L1已扫描 ✓健康 S/100周下载 260
8 项能力
许可
MIT
发布
2026-10-15
维护者
aicivilization

安装命令

dsh plugin --profile web add dsh-vps@1.16.1

未检测

这个包的 tarball 里确实有 dsh.bundle.patch,补丁文件存在且可解析。但「有补丁」是静态检查的结果,不是装过——它能不能在这台机器上装成,还没有验证。

检测报告

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

能力清单

  • 以提权方式执行privilege-escalation高关注13 处命中
    • plugin/client.js:2317const INSTALL_CMD = 'curl -fsSL https://raw.githubusercontent.com/AIcivilization/dsh-vps/main/install.sh | sudo bash -s'
    • plugin/client.js:2897const UNINSTALL_CMD = 'curl -fsSL https://raw.githubusercontent.com/AIcivilization/dsh-vps/main/uninstall.sh | sudo bash…
    • README.en.md:34curl -fsSL https://raw.githubusercontent.com/AIcivilization/dsh-vps/main/install.sh | sudo bash -s
    • README.en.md:129| sudo bash -s -- --domain dsh.example.com
    • 确认提权是插件功能本身需要,还是仅仅在探测环境。多数插件不需要 root。
  • 可执行外部程序spawns-processes高关注3 处命中
    • gate/server.js:25const { spawn } = require("node:child_process");
    • scripts/bootstrap.mjs:4import { spawnSync } from 'node:child_process'
    • plugin/remote-install.mjs:14import { spawn } from 'node:child_process'
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 发起网络请求network需留意21 处命中
    • plugin/client.js:2413const res = await fetch(path, { credentials: 'same-origin', cache: 'no-store', signal: AbortSignal.timeout(20_000) })
    • plugin/client.js:2422const res = await fetch('/gate/update', { method: 'POST', credentials: 'same-origin', signal: AbortSignal.timeout(30_000…
    • plugin/client.js:2694const res = await fetch('/gate/domain', {
    • plugin/client.js:2781const res = await fetch('/gate/password', {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意15 处命中
    • gate/server.js:309fs.mkdirSync(STATE_DIR, { recursive: true, mode: 0o700 });
    • gate/server.js:329fs.writeFileSync(file, key, { mode: 0o600 });
    • gate/server.js:1231fs.rmSync(setupTokenPath());
    • gate/server.js:1363fs.writeFileSync(path.join(STATE_DIR, "gate.env"), lines.join("\n") + "\n", { mode: 0o600 });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 读取环境变量reads-env一般29 处命中
    • gate/server.js:31const GATE_HOME = process.env.GATE_HOME || path.resolve(__dirname, "..");
    • gate/server.js:33const GATE_HOST = process.env.GATE_HOST || "127.0.0.1";
    • gate/server.js:34const GATE_PORT = Number(process.env.GATE_PORT || 3100);
    • gate/server.js:35const DSH_BIN = process.env.DSH_BIN || path.join(GATE_HOME, "dsh", "current", "node_modules", "@deepseek-ai", "dsh", "li…
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 读取文件reads-files一般20 处命中
    • gate/server.js:323const key = fs.readFileSync(file);
    • gate/server.js:336const admin = JSON.parse(fs.readFileSync(adminPath(), "utf8"));
    • gate/server.js:1208return !fs.existsSync(setupLockPath());
    • gate/server.js:1222const token = fs.readFileSync(setupTokenPath(), "utf8").trim();
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 文中出现远程脚本地址remote-url-reference一般15 处命中
    • plugin/client.js:2317const INSTALL_CMD = 'curl -fsSL https://raw.githubusercontent.com/AIcivilization/dsh-vps/main/install.sh | sudo bash -s'
    • plugin/client.js:2897const UNINSTALL_CMD = 'curl -fsSL https://raw.githubusercontent.com/AIcivilization/dsh-vps/main/uninstall.sh | sudo bash…
    • README.en.md:34curl -fsSL https://raw.githubusercontent.com/AIcivilization/dsh-vps/main/install.sh | sudo bash -s
    • README.en.md:128curl -fsSL https://raw.githubusercontent.com/AIcivilization/dsh-vps/main/install.sh \
    • 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
  • 接触凭据或密钥credentials一般7 处命中
    • plugin/client.js:3072if (form.auth === 'password' && !form.password) return setError(t('请填写服务器的登录密码', 'Enter the server login password'))
    • plugin/client.js:3143h('input', { style: inputStyle, type: 'password', value: form.password, onChange: set('password'), placeholder: t('服务器的登…
    • plugin/remote-install.mjs:47const password = typeof b.password === 'string' ? b.password : ''
    • plugin/remote-install.mjs:51const auth = AUTHS.has(b.auth) ? b.auth : password ? 'password' : 'local'
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
能力标识关注度命中次数
以提权方式执行privilege-escalation高关注13
可执行外部程序spawns-processes高关注3
发起网络请求network需留意21
写入文件writes-files需留意15
读取环境变量reads-env一般29
读取文件reads-files一般20
文中出现远程脚本地址remote-url-reference一般15
接触凭据或密钥credentials一般7

这份报告的口径

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

可信度

100 健康分 S 扣分项下方逐条附证据
  • 0没有可扣分的项

认证等级 L1

  • L0静态结构与契约✓sha512-VHR3bVYBf/LAObF6… 与本地 tarball 复算一致,补丁与入口齐备
  • L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
  • L2隔离沙箱冒烟—尚未试装
  • L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息

从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分

维护者
aicivilization
仓库
https://github.com/AIcivilization/dsh-vps
许可
MIT
最后发布
2026-10-15
周下载
260
star
8

扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。

认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。

Node 要求>=22
第三方依赖0 个(纯自包含)
bundle patch./cordis.patch.yml
依赖安全公告已查询全部依赖,没有匹配到已公开的安全公告(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

元数据

主页https://github.com/AIcivilization/dsh-vps#readme
仓库最近提交2026-10-15
仓库创建2026-09-19

返回首页