DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

dsh-plugin-auth-webserver

Plugin Auth Webserver

DeepSeek Harness 套件,为自托管服务器部署提供 HTTP Basic Authentication、双语网页登录页面、Web UI 设置卡片、远程 IP 访问、防暴力破解限流以及 QVD-2026-57410 加固。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:kolawong/dsh-plugin-auth-webserver#08a0c1167925502788dc7e316e35932d1d8db3b3
README兼容性版本

兼容性与来源证明

Plugin Auth Webserver 以 dsh-plugin-auth-webserver 发布,当前版本为 0.4.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/27

版本

0.4.0stable
2026/8/27
0.3.0stable
2026/8/21

相关插件

正在加载相关插件…

最新版
0.4.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 2
周下载
0
最近提交
2026/9/1
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
Plugin Auth Webserver — DeepSeek Harness 插件(DSH Plugin)

相关插件

继续浏览 security-access 分类下经过校验的插件。

Doctor@linxin666/dsh-doctorDSH 配置档案的事务性救援模式,配备受监督的启动器、隔离的恢复容器、确定性修复、健康监控以及本地 Web 恢复控制台Mobiledsh-mobileDeepSeek Harness 移动端适配与安全访问插件,支持局域网、远程连接、Android App 和手机浏览器。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Auto Reviewdsh-auto-review针对 DeepSeek Harness 审批请求的第二模型 AI 自动审查:只读审查子代理在审批应答链上决定允许或拒绝,并采用故障关闭回退机制和完整的会话日志审计。

README

DeepSeek Harness Web Authentication Plugin

dsh-plugin-auth-webserver

Native Web authentication bundle for DeepSeek Harness (DSH). Give your self-hosted deployment a DSH-styled web login page, cookie sessions, Basic Auth fallback, a Web UI settings card, and a Web Crypto polyfill — in English and Simplified Chinese.

简体中文 | English


Features

  • DSH-themed web login page
    • Replaces native browser authentication popups with a dark, glassmorphism login interface matching DeepSeek Harness's design system.
    • Bilingual (English / Simplified Chinese, following the browser's language), password show/hide toggle, error animations, Enter-to-submit, responsive on mobile and desktop.
  • HMAC cookie sessions and logout
    • Issues 30-day cryptographically signed HMAC session tokens on login.
    • Dedicated /api/auth.logout endpoint and a Web UI logout button.
  • Web GUI settings card
    • Live configuration in the DSH Web UI (Settings -> Plugins -> Web authentication).
    • Hot-updates credentials in memory instantly and persists them to a plugin-owned state file under $DSH_HOME/plugins/dsh-plugin-auth-webserver/, so they survive restarts without touching your config layers.
  • Dual-mode authentication and WebSocket protection
    • Prefers web form / cookie sessions while staying backward-compatible with HTTP Basic Auth for CLI tools, curl, and automated API clients.
    • Full authentication coverage for both HTTP routes and WebSocket (upgrade) channels.
  • Remote IP privileged RPC trust delegation
    • Normalizes request Host and Origin headers for authenticated sessions, eliminating HTTP 403 errors when accessing privileged RPC endpoints via a public IP.
    • The rewrite never runs while authentication is disabled, so the stock loopback Host fence keeps defending against DNS rebinding (see Security).
  • Brute-force throttling and credential hardening
    • Per-IP failed-login lockout (5 failures, doubling backoff) on the login endpoint and Basic Auth path, constant-time credential compares, no-store/nosniff on auth responses, and no password ever echoed back over the wire.
  • Web Crypto UUID auto-polyfill
    • Injects a safe UUID generator into the HTML <head> for non-HTTPS and direct-IP environments, preventing client-side crashes.

Security

This plugin is the security boundary of a self-hosted deployment, so its own exposure is hardened accordingly (as of 0.4.0, following QVD-2026-57410 - the unauthenticated RCE in DeepSeek Harness 0.1.1-rc.2, CVSS 9.8, whose root cause is that the stock /api trust fence decides "loopback" from the client-controlled Host header and is not an authentication layer):

  • Credentials run before the /api fence. Every request - HTTP and WebSocket - must pass the cookie/Basic credential gate before reaching any privileged RPC. That is the advisory's architecture-level fix (authentication independent of the Host header) deployed at the webserver layer.
  • Secure by default on non-loopback bindings. Booting with an empty password while listening on 0.0.0.0 generates a strong random password (persisted to the plugin state file, printed once to the log) instead of serving an unauthenticated privileged RPC surface; clearing the password from the settings card is refused on non-loopback bindings.
  • Host/Origin normalization never launders unauthenticated requests. The rewrite only vouches for sessions that passed the credential gate; with no password in force it is skipped entirely, so a DNS-rebound page carrying Host: attacker.example is still rejected by the stock fence.
  • Brute-force resistance. Five consecutive failed logins from one IP lock it out with a doubling backoff (15s base, 15min cap), on both the login endpoint and the Basic Auth path; all credential compares are constant-time.
  • No secret echo. /api/auth.get returns only the username, realm, and whether protection is enabled - never the password.

Recommended deployment posture: use a long unique password; put HTTPS with a Host-validating reverse proxy in front for public access; keep the bind on 127.0.0.1 for single-user local use; upgrade DeepSeek Harness once a patched release ships.


Installation

Install the bundle into a profile with dsh plugin:

# From a git host (pin a commit so later pushes cannot change what runs):
dsh plugin --profile web add github:kolawong/dsh-plugin-auth-webserver#<commit-sha>

# Or from a tarball / npm registry once published:
dsh plugin --profile web add ./dsh-plugin-auth-webserver-0.4.0.tgz
dsh plugin --profile web add dsh-plugin-auth-webserver

The package declares dsh.bundle, so dsh plugin appends it to the profile's bundle list automatically; its patch disables the stock webserver row and inserts the auth-gated server. Then boot:

dsh --profile web

Open http://your-server-ip:3080 to see the login page.

Configuration

Every option has a default; override the webserver-auth row in your profile's own patch ($DSH_HOME/profiles/web/cordis.patch.yml), which is applied after every bundle layer:

- id: webserver-auth
  config:
    host: '0.0.0.0'
    port: 3080
    username: 'admin'
    password: 'your_secure_password'

Changes made in the Web UI settings card apply immediately and are stored in $DSH_HOME/plugins/dsh-plugin-auth-webserver/state.json (mode 0600). Environment variables DSH_AUTH_USER and DSH_AUTH_PASS override both the config and the saved state.

OptionTypeDefaultDescription
hoststring'0.0.0.0'Listening interface (0.0.0.0 or 127.0.0.1).
portnumber3080HTTP/WebSocket listen port.
usernamestring'admin'Authentication username.
passwordstring''Authentication password. Empty disables authentication, but only on 127.0.0.1; on 0.0.0.0 a random password is generated at boot.
realmstring'DeepSeek Harness Authentication'Realm string used for fallback Basic Auth.

API endpoints

  • POST /api/auth.login — Authenticate and receive a session cookie ({ username, password }).
  • POST /api/auth.logout — Invalidate the current session and clear the cookie.
  • GET /api/auth.get — Retrieve the effective username, realm, and auth status (requires authentication; never returns the password).
  • POST /api/auth.update — Live-update credentials and persist them (requires authentication; refuses to clear the password on non-loopback bindings).

License

MIT License © 2026 kola