dsh-web-startup-auth
Replaces the dsh web startup to allow binding 0.0.0.0, gated by username/password login: signed session cookies, /api route protection, an auth tab in the settings panel, and a reset CLI that rotates the signing key to invalidate all sessions.
替换 dsh web 启动器以允许绑定 0.0.0.0,并以账号密码登录为门槛:签名会话 cookie、/api 路由保护、设置面板认证标签页,以及轮换签名密钥使全部会话失效的重置 CLI。
How to install
dsh plugin add dsh-web-startup-auth About
dsh-web-startup-auth **中文** | English DSH(DeepSeek Harness)远程 Web 启动 + 用户名/密码认证插件。 原版 @deepseek-ai/dsh-web-app/startup 出于安全考虑**硬拒绝 --host 0.0.0.0**;本插件替换它,并配一个带登录/注册页的认证插件,让 dsh web 可以在局域网(或任何非回环接口)上安全暴露浏览器界面。 特性 **远程启动**:--host 0.0.0.0 可用,替代原版启动器的硬性拒绝。 **登录/注册页**:首次访问引导设置管理员账号密码,之后进入登录页;与 DSH 黑白蓝风格一致。 **会话认证**:登录后下发签名 cookie(dsh_sid,14 天有效,HttpOnly + SameSite=Lax)。 **API 保护**:所有注册路由(/api/* 及第三方插件的 RPC 路由,除 /api/auth/* 与 /login)必须携带有效会话,否则返回 401/拒绝握手。 **设置面板「认证」标签页**:向 DSH 设置面板注入"认证"页,提供**退出登录**与**修改密码**两个操作。 **远程场景修复**(局域网 HTTP 访问的两个坑): crypto.randomUUID polyfill —— 非安全上下文下该 API 缺失,会导致所有 RPC …
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 6
- mo. downloads
- –
- Last push
- 2026-08-20
- Created
- 2026-08-18
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh-plugin
Related plugins
dsh-auto-review
PerryLink/dsh-auto-review
Second-model auto-review on the approval answerer chain: a read-only reviewer subagent returns structured allow/deny verdicts with reasons, fail-closed by default.
dsh-passwords
slywalker2006/dsh-passwords
Turns DeepSeek Harness into a server-grade multi-tenant platform: remote access + auto HTTPS, subuser permissions & token/daily quotas, sandbox enforcement, encrypted auth & audit log.
dsh-auth-gate
TecFancy/dsh-auth-gate
Login gate for the dsh web surface: password or shared-token authentication, session cookies, rate limiting, and a user-management CLI (dsh.bundle manifest since 0.4.1, one-command `dsh plugin add` mounting).
dsh-approval-llm
Letter2025/dsh-approval-llm
Model-based permission approval: an approval-request answerer backed by a separate reviewer model.