deepseekharness_s-plugin
Manifest validPassword gate for DSH: once locked, the unlock screen asks for an identity name, identity number, permission level and password in that order, and opens only when all four match. Offers a confirmed si
dsh-identity-gate
给 DSH(DeepSeek Harness) 加一道四重身份门禁:打开界面先按顺序验证身份名称、身份编号、权限等级、密码,四项全对才解锁。
这不是安全产品,是一把「别人别随手动我电脑」的软锁。它挡的是顺手操作的人,不挡懂技术的人——这一点请先看清再装。
功能
- 四项验证:身份名称 → 身份编号 → 权限等级 → 密码,错一项都不开
- 锁定时机可调:启动 DSH 时锁 / 每次页面加载都锁 / 仅手动锁
- 手动锁定:侧边栏底部的锁按钮,点一下、确认、即锁
- 密保恢复:忘了任何一项,答对密保问题后自动预填当前身份信息,改完保存即解锁
- 后台照跑:只锁界面,agent 回合、定时任务、插件 prompt 都不受影响
安装
在 DSH 的插件市场搜索 dsh-identity-gate,一键安装。
或者命令行:
dsh plugin add dsh-identity-gate
安装后刷新页面。首次使用请先到 设置 → 锁屏 填好身份信息与密码。
使用
- 设置 → 锁屏:填身份名称 / 编号 / 等级并保存;设密码;设密保问题
- 选锁定时机(默认:启动 DSH 时锁)
- 离开时点侧边栏的 🔒
身份信息未填写时,解锁只要求密码(向后兼容);填好后自动切换为四项验证。
和启动动画插件共存
如果你装了 dsh-startup-screen 这类在页面加载前就渲染动画的插件,本插件会自动在锁定期间拦下它、解锁后再从头播放。两者不需要配置。
安全边界
- 密码以加盐 SHA-256 存储,明文不落盘;身份名称 / 编号 / 等级存于本机 localStorage,它们是识别信息,不是秘密
- 禁用或卸载插件,锁就没了
- 清掉站点数据,密码与设置一并重置
- 直接访问本地接口、读会话文件、开 devtools,都绕得过去
真正的「离座防人」应该用系统的 Win+L。这把锁的定位是:让摸到你电脑的人多一道心理门槛。
兼容性
- DSH Desktop /
dsh web,要求dsh >= 0.2.0 - 无外部依赖,不需要构建
License
MIT © Zhang Minghao
Comments
Loading…
Similar plugins
by lvxianchao
Password gate for the DeepSeek Harness Web UI: one login, automatic launch-token exchange, Host/Origin rewrite, and a secure-context polyfill. Zero dependencies.
★ 0
MIT
JavaScript
Nov 5, 2026
dsh plugin --profile web add @lvxianchao/dsh-guardCredential vault sidebar panel for DeepSeek Harness: accounts, passwords and API keys, with an access lock and an agent read tool.
★ 0
NOASSERTION
JavaScript
dsh plugin --profile web add dsh-credential-vaultby 863683348
Installation safety gate for DSH plugins: antivirus-style scan of install scripts, permissions, secrets and network callbacks on local directories or npm tarballs, returning a BLOCK/WARN/PASS verdict
★ 0
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-plugin-gateby liyang52520
Password gate for the DeepSeek Harness Web GUI: first-run setup, brute-force lockout, audit log, and a management page inside Harness settings.
★ 0
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-web-loginby imchenmin
在将 DeepSeek Harness Web 开放给局域网、远程设备、反向代理或共享环境之前,为它增加密码保护。Add password protection to DeepSeek Harness Web before exposing it to your LAN, remote devices, reverse proxies, or shared environments.
★ 0
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-auth-lockby 0QwQ0
Authentication gate for the DeepSeek Harness Web UI: login covers pages, /api, /plugins and WebSocket upgrades; PBKDF2 password hashing, HttpOnly SameSite session cookies, IP-based login lockout, a us
★ 16
↓ 668/wk
MIT
JavaScript
Oct 16, 2026
dsh plugin --profile web add dsh-ui-auth