Zum Hauptinhalt springen
M

dsh-credential-vault

mysterycode-liwen/dsh-credential-vault

A sidebar credential vault for DeepSeek Harness that stores accounts, passwords and API keys locally, with an access lock and an agent read tool. Secrets are masked by default.

Installation

dsh plugin --profile web add github:mysterycode-liwen/dsh-credential-vault

README

凭据保险箱 / Credential Vault

一个 DeepSeek Harness 侧边栏插件:把账号密码、API Key、恢复码等凭据集中保存在本机,并提供一个 Agent 工具让 Harness 读取。

A sidebar plugin for DeepSeek Harness that keeps accounts, passwords, API keys and recovery codes locally, plus an agent tool so the Harness can read them.

安装 / Install

dsh plugin --profile desktop add github:mysterycode-liwen/dsh-credential-vault

或在 DeepSeek Harness 的「设置 → 插件 → 插件市场」中搜索 dsh-credential-vault。

功能 / Features

  • 侧边栏「凭据保险箱」面板,三类凭据各有独立表单:
    • 账号密码:标题 / 账号 / 密码 / 登录网址 / 备注
    • API Key:标题 / 平台 / Key / Base URL / 到期日期 / 备注
    • 其他:标题 / 任意文本(如恢复码、许可证)/ 备注
  • 搜索、类型筛选、排序(最近更新 / 名称 / 类型);大量条目用滚动列表浏览。
  • 逐条显示 / 隐藏、复制到剪贴板、编辑、删除。
  • 密码生成器:在账号密码字段旁点「⚙ 生成」,用加密安全随机数(Web Crypto)生成强密码,可设置长度与字符类型、避开易混淆字符,并实时显示强度;可直接填入表单或复制。(仅账号密码类提供,API Key / 其他类不显示)
  • 健康审计:点「🛡 健康审计」扫描全部凭据,列出弱密码 / 空密钥、重复使用、已过期 / 即将到期等问题并按严重程度排序,点击条目可直接跳转编辑。
  • 登录网址 / Base URL 字段旁提供「访问」按钮,默认用 DeepSeek Harness 内置浏览器打开。
  • 导入 / 导出:把全部凭据导出为 JSON 备份文件,或从备份文件恢复;导入时可选「合并(跳过重复 ID)」或「替换全部」。
  • 设置页:访问密码开关、设置 / 修改密码、密保问题重置、闲置自动锁定(可开关、可选时长)、插件版本与检查更新。
  • Agent 工具 dsh_credential_vault_read:mode=summary|full、limit、offset、query、category、revealSecrets,默认脱敏。Host 端把浏览器同步过来的快照写到 ~/.dsh/dsh-credential-vault/vault.json(旧版路径 ~/.dsh/credential-vault/vault.json 会自动迁移)。

安全说明 / Security notice

  • 浏览器端数据保存在 localStorage,Host 端镜像文件是明文 JSON:都不加密、不跨设备同步。请勿在公用 / 共享电脑上使用。
  • 插件没有网络上传行为;数据只在你本机和本机 Harness 之间流转。
  • dsh_credential_vault_read 默认把 password / apiKey / content 显示为 ••••••••,只有显式传 revealSecrets: true 才返回明文。
  • 导出的备份文件包含明文密码 / API Key:请像对待密码本身一样妥善保管,用完及时删除;导入仅在本机浏览器内进行。
  • Host 工具的注册发生在 Harness 启动时:首次安装后请重启 Harness 或在插件管理里关闭再启用该插件。

许可 / License

MIT

Ähnliche Plugins