dsh-auth-proxy
Run the following command in DeepSeek Harness:
dsh plugin install wxyzh/dsh-auth-proxy
Paste the following prompt into your AI chat to install this plugin:
Open a terminal in DeepSeek Harness and run dsh plugin install wxyzh/dsh-auth-proxy to install the plugin; the source code is available at https://github.com/wxyzh/dsh-auth-proxy .
About this plugin
DSH Web GUI ships without an authentication layer, and the webserver listens on loopback by default. Exposing the port to a LAN feels risky, and patching source code to add a password is a maintenance burden. dsh-auth-proxy places a static-token login wall in front of dsh web: the host side holds an extra listening socket, unauthenticated requests see a built-in login page, and once the token is verified a stateless HMAC session cookie is issued while all HTTP and WebSocket traffic is forwarded to the original 3080 port over loopback. Removing the plugin restores everything; the webserver never changes.
Capabilities span everyday auth to experience customization. Token comparison uses SHA-256 with timingSafeEqual to prevent timing side-channels; session cookies are stateless and survive restarts, while changing the token takes every session down instantly. CIDR IP allowlists, per-IP fail lockout, and real-time hot-reloadable configuration are all included. The brand layer, when enabled, rewrites the page title, favicon, PWA manifest, and sidebar visuals on the proxy path only, leaving direct loopback access to 3080 untouched. The plugin also handles /remote prefix restoration for web-all remote-web-ui compatibility, a two-step interaction pattern for the settings dialog on narrow screens, and transform containing-block neutralization, so the settings panel actually works on mobile.
It is well suited for teams running DSH on a LAN who want a lightweight login gate without deploying a full SSO stack, and for individuals who want a rebranded Web UI with zero backend modification. Listening addresses are restricted to loopback and private ranges; binding to wildcard or public IPs is rejected at both save time and startup. External access should front the proxy with a TLS-terminating reverse proxy.
Use Cases
- Add a token-based login gate for DSH Web GUI on a shared LAN
- Rebrand the Web UI title, favicon, and sidebar without touching source code
- Make the settings dialog usable on narrow mobile screens
Best For
- Teams running DSH on a LAN who want a lightweight login gate for colleagues
- Individuals who want to secure the Web GUI with zero DSH source changes
- DSH users needing a rebranded front-end without maintaining an extra client package
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.