dsh-admin-gate: Adding a Host-Side Management Gate at the Harness Entry Point
dsh-admin-gate is a DSH security plugin maintained by fish133 that enforces admin password verification and guest whitelist checks before a browser session enters Harness. The gate is implemented on the host side across connection, sessionController, and tools.guard, supporting three access modes—admin-only, guest, and open—along with multi-admin support and session ownership isolation. To install, run pnpm link in the profile and reference @local/dsh-admin-gate in bundles; on first launch, set the admin password at /admin-gate. It is best suited for intranet demos and limited-guest scenarios. Note that CLI and API token traffic does not pass through this gate; always self-audit the source code and process permissions before relaxing the whitelist.
Read More