slywalker2006/dsh-passwords
将DeepSeek Harness转化为多租户平台的企业级网关:远程访问+自动HTTPS、子用户权限与配额、沙箱强制、加密认证、审计日志。
Project Overview项目介绍
dsh-passwords is a native authentication gateway plugin built exclusively for DeepSeek Harness (DSH), designed to turn a single-instance DSH deployment into a publicly accessible multi-tenant platform. It comes with a full set of security and access management features including user login authentication, automatic Let’s Encrypt HTTPS certificate issuance and renewal, multi-tenant permission control, session authorization, and encrypted audit logging. It supports both English and Chinese interfaces that adapt to your DSH language settings, and offers multiple installation methods: one-click script for Linux/macOS, batch file for Windows, global npm install, and Docker container deployment.
The most common use case for this plugin is team shared DSH deployments. After setting up the primary admin account during initial configuration, you can create an unlimited number of sub-user accounts, and configure granular access permissions and usage quotas for each workspace and individual user session. Permissions include hourly token caps, daily usage time limits, file upload and download controls, and the ability to ban accounts that violate usage policies, while the primary admin can view all workspace and session activity for operational management.
This open-source project is released under the GPL-3.0 license. Bare-metal installation requires Node.js version 22.19 or newer (or 24+), plus a working DSH instance and git, while Docker installation only needs a working Docker engine and a DeepSeek API key. Current version 2.7.2 is validated against DSH 0.1.6-alpha.1, maintains compatibility with all DSH versions from 0.1.2 to 0.1.5, and stores all sensitive user data encrypted at rest to protect privacy.
dsh-passwords 是专为 DeepSeek Harness 开发的原生认证网关插件,可将原本单实例的 DSH 转换为可公网部署的多租户共享平台。它提供登录认证、自动 HTTPS 证书签发续期、多租户权限管控、会话授权、审计加密等核心功能,支持中英双语界面,跟随 DSH 语言设置,可通过一键脚本、git clone、npm、Docker 等多种方式完成安装部署。
它的典型使用场景是团队共享 DSH 实例,管理员可创建多个子用户账号,对每个工作区、会话设置不同的访问权限和用量配额,包括每小时 token 上限、每日使用时长上限、文件上传下载权限等,还支持封禁违规账号。主用户可查看所有工作区与会话记录,方便日常运维管理,掌握平台使用状态。
项目采用 GPL-3.0 开源协议,宿主机安装要求 Node.js 22.19+ 或 24+,Docker 安装仅需 Docker 环境和 DeepSeek API 密钥。当前版本 v2.7.2 以 DSH 0.1.6-alpha.1 为验证基线,同时兼容 DSH 0.1.2 到 0.1.5 全系列版本,所有敏感数据均加密存储,安全性有充分保障。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-passwords(slywalker2006/dsh-passwords)
仓库:https://github.com/slywalker2006/dsh-passwords
本站详情页:https://www.yhbd.top/plugins/slywalker2006-dsh-passwords/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 GPL-3.0 · ⭐ 66 · 最近提交 2026-10-03 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:slywalker2006/dsh-passwords
把 slywalker2006/dsh-passwords 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-passwords
English | 简体中文
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
ice-kele/dsh-llm-guardian
edison7009/EchoBird
Han-1413141/dsh-cost-meter
Ychris12138/dsh-usage-stats
wink-run/tokenbank
JingbiaoMei/Tokdash
songoao25/dsh-bottom-info-bar