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
- 46
- mo. downloads
- 2.8K
- Last push
- 2026-09-23
- Created
- 2026-08-18
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-mode
NanmiCoder/dsh-auto-mode
Adds an Auto permission preset between Workspace Write and Full access: routine work stays in the official workspace-write sandbox while the current session model reviews escalation and destructive calls, granting one exact wider access once, asking when the intent is ambiguous, and denying critical paths.
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.
sofagent
KongFangXun/sofagent/tree/main/engine/dsh-plugins/cordis-plugin-sofagent-audit
Commit-time audit harness for AI coding agents: 24 git-diff rules (secrets, out-of-scope edits, prompt injection), HMAC-signed audit trail, snapshot rollback, and an MCP server with 84 tools. Installable via dsh plugin add.
dsh-vault
Ox0400/dsh-vault
Encrypted local credentials vault for the Harness: a web settings page and vault_* tools to store, search and copy passwords, API keys, TOTP secrets and card data, with health audits, expiry rotation, imports/exports and read-only/ask access modes.