dsh-cloudflare-access
Run the following command in DeepSeek Harness:
dsh plugin install Luawig/dsh-cloudflare-access
Paste the following prompt into your AI chat to install this plugin:
Install the plugin by running dsh plugin install Luawig/dsh-cloudflare-access in DeepSeek Harness; the source repository is at https://github.com/Luawig/dsh-cloudflare-access.
About this plugin
DeepSeek Harness locks privileged APIs such as Settings, Credentials, and Agent Preset management to loopback by design. The moment DSH runs on a remote server, a user can front the UI with Cloudflare Access but the backend still rejects every remote privileged request. dsh-cloudflare-access fills exactly that gap: it does not replace Access, does not ship a login page or MFA, and instead re-validates the Cf-Access-Jwt-Assertion header injected by Cloudflare right inside the DSH origin process, making remote privileged endpoints genuinely reachable.\n\nEvery remote privileged request must clear a two-gate check: a Host/Origin validation pinned by --trusted-host and a full JWT verification covering signature, issuer, audience, and expiry (with roughly 30 seconds of clock skew tolerated). Missing or invalid credentials return 401/403 and never touch the privileged implementation. Loopback traffic remains entirely untouched, so SSH-tunnel-to-localhost workflows keep working as before. For non-privileged remote endpoints like the events WebSocket, a three-tier ordinary mode (off, optional, required) lets operators tighten or relax access per deployment.\n\nIf you run a DSH Web profile on a VPS or an internal-server host, put Cloudflare Access in front of it as the single identity provider, and want to manage settings or credentials from a browser without exposing DSH to the open internet, this plugin is the missing piece. It reads only the assertion header, stores no credentials, ignores the CF_Authorization cookie, and never logs tokens. Trust stays in Cloudflare; DSH performs the smallest possible second check.
Screenshots
Use Cases
- Manage DSH Settings, Credentials, and Agent Presets remotely from a public hostname
- Place the DSH Web admin behind a Cloudflare Access application to perform privileged operations without exposing DSH to the open internet
- Replace loopback-only restrictions so a team can securely access the DSH admin panel through a single Access gateway
Best For
- Operators and developers running DeepSeek Harness on a VPS or internal server who need remote admin access
- Teams already using Cloudflare Access as a unified identity gateway that want a second verification layer at the origin
- Users who want a lightweight security boundary without introducing a password store, MFA, or session table into DSH
Related Plugins
A network security red-team benchmark plugin for DeepSeek-V4.1/Flash featuring dual-layer kernel injection and zero-tool architecture for controlled model safety assessment.
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
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.