DeepSeek Harness (DSH) Web UI network binding options and security posture.
Raw Developer Origin & Technical Request
GitHub Issue
Aug 14, 2026
### 涉及插件
- 其他 / 不确定
### Issue 类型
- 功能请求
### 摘要
`dsh web --host 0.0.0.0` 启动时被硬编码拒绝(报错 "intentionally not supported yet for safety"),导致无法从局域网/容器访问 Web UI。希望支持绑定 `0.0.0.0`,或提供显式的 opt-in 放行方式(如 `--allow-remote` + 安全警告),而不是直接硬报错。
### 预期结果
1. `dsh web --host 0.0.0.0` 能够正常启动(可保留安全提示),或
2. 提供显式参数(如 `dsh web --host 0.0.0.0 --allow-remote`),在用户明确选择时允许绑定 `0.0.0.0`,并在启动时打印醒目的安全警告;
3. 可选:提供 token / 鉴权选项,暴露到网络时要求认证。
而不是对 `--host 0.0.0.0` 直接硬报错,导致该能力完全不可用。
### 详情 / 复现步骤
**复现步骤:**
1. 安装 DSH 0.1.0-rc.6(`@deepseek-ai/dsh`)
2. 运行命令:`dsh web --host 0.0.0.0`
3. 立即报错退出:
```
error: --host 0.0.0.0 is intentionally not supported yet for safety: it would expose remote code execution to the network; use 127.0.0.1 instead
```
**代码位置(DSH 0.1.0-rc.6):**
`node_modules/@deepseek-ai/dsh/node_modules/@deepseek-ai/dsh-web-app/lib/startup.js` 第 39 行:
```js
if (options.host === "0.0.0.0") program.error("error: --host 0.0.0.0 is intentionally not supported yet for safety: it would expose remote code execution to the network; use 127.0.0.1 instead");
```
**背景说明:** DSH Web GUI 具备远程代码执行能力(agent 可执行 shell 命令),硬禁止 `0.0.0.0` 可以理解;但局域网内其他设备访问 GUI、Docker 容器内运行等都是常见场景。建议改为「默认安全 + 显式放行」模式(仅在用户额外传入标志时才允许 `0.0.0.0`,并输出安全提示)。
### 环境信息
- DSH 版本: 0.1.0-rc.6
- 浏览器: N/A(CLI 启动阶段即报错,未进入浏览器)
- 插件名称 / 版本: @deepseek-ai/dsh-web-app(dsh 内置 Web 应用,非独立插件)
- 操作系统: Ubuntu 24.04 LTS(Node.js v22.22.0)
### 补充信息
本问题即原 Issue #73(因未使用模板被自动关闭)的重新提交。如需更多信息可在本 issue 内留言。
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from zhu1090093659/dsh-web-ui.
Frequently Asked Questions
Market intelligence mapped to DeepSeek Harness (DSH) Web UI network binding options and security posture..
How is DeepSeek Harness (DSH) Web UI network binding options and security posture. positioned in the market?
Are engineers actively discussing DeepSeek Harness (DSH) Web UI network binding options and security posture.?
What architecture is tied to DeepSeek Harness (DSH) Web UI network binding options and security posture.?
Is anyone launching products related to DeepSeek Harness (DSH) Web UI network binding options and security posture.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like 远程代码执行 and dsh web --host 0.0.0.0 by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics