dsh-auth-gate
Run the following command in DeepSeek Harness:
dsh plugin install zephaniahwang94-cmyk/dsh-auth-gate
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install zephaniahwang94-cmyk/dsh-auth-gate inside DeepSeek Harness to install this plugin; the source repository is available at https://github.com/zephaniahwang94-cmyk/dsh-auth-gate.
About this plugin
DeepSeek Harness assumes a local, loopback-only client, and its trust fence is nothing more than a browser CSRF guard that validates Host, Origin, and Sec-Fetch-Site headers. The moment you put it behind Docker, an Nginx or Caddy reverse proxy, a cloud VM, or share it across a team, that fence stops protecting anything—anyone who can reach the port gets full Agent control. dsh-auth-gate closes that gap by layering real authentication onto every existing and future HTTP and WebSocket route: Bearer Token for scripts, a session login page with HttpOnly and SameSite=Strict cookies for browsers, and a per-session waterfall rate limiter for approval prompts. When the internal route registry changes, the plugin fails closed rather than silently letting unauthenticated traffic through. Credentials live in environment variables and are never written into a patch file; every restart rotates the session secret so stale browser sessions die instantly, and login attempts are throttled to five per source address per minute. Designed for developers running Harness in containers, behind reverse proxies, or on CI runners, and for teams that need token-based API access alongside a human login page, it turns an otherwise naked control plane into an authenticated, rate-limited, and revocable service. It does not provide per-user sandboxing or audit logging, but as the first gate in a defense-in-depth chain it ensures that reaching the port is no longer the same as owning the Agent.
Use Cases
- Running Harness behind Docker or a reverse proxy where the port is reachable by untrusted networks
- Sharing a single Harness instance across a team and needing a login page to identify users
- Automating Harness via scripts that require Bearer Token authentication
Best For
- Developers deploying Harness in containers or cloud environments
- Teams accessing Harness through Nginx or Caddy reverse proxies
- Engineers integrating Harness APIs into CI/CD pipelines
Related Plugins
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.