dsh-token-vault
Manifest validSecure credential vault for DeepSeek Harness: tokens never leave the host — the agent runs gh/npm/npx/node/git with the token injected in the environment. Manage from Settings → Credential Vault / Marketplace → Installed.
@yyfather/dsh-token-vault
Secure credential vault for DeepSeek Harness · 凭证库插件
Store your GitHub / npm / API tokens in DSH's own credential store (ctx.credentials → ~/.credentials.yaml). Secrets never leave the host — no plaintext file, no model context, no browser round-trip. The agent uses tokens through vault_run which injects them into a child-process environment only; vault_show (the single disclosure path) requires an explicit confirm: true.
设置 → 凭证库 录入一次,之后所有 GitHub/npm 操作由 Host 侧代持。
Tools (agent-facing)
| Tool | Purpose |
|---|---|
vault_list | List stored token names only (never values) |
vault_has | Check one token's presence |
vault_set | Store/update a token (value never echoed) |
vault_remove | Delete a token |
vault_import | Import from gh auth token (source: gh) or ~/.npmrc (source: npm) |
vault_run | Run gh/npm/npx/node/git with the token injected via env (github/gh → GH_TOKEN, npm/node → NPM_TOKEN, env_name overrides); output contains no secrets |
vault_show | Reveal one token (requires confirm: true, only on explicit user request) |
Install
dsh plugin --profile desktop add @yyfather/dsh-token-vault
The package declares dsh.bundle.patch so it mounts automatically; restart DSH Desktop to activate. Then manage it from 设置 → 市场 → 已安装 (enable / update / uninstall), or paste tokens in 设置 → 凭证库.
Security design
- Storage: DSH credential record space (
dsh-token-vault/<name>, atomicmodifyRecord) — no new plaintext files. - Usage:
vault_runplaces the token in the child environment only; stdout/stderr/logs never contain it. - Disclosure:
vault_showis the only leak path and demandsconfirm: true; usage rules advise rotating after use. - Prompt section
token-vault-usageinjected automatically: the agent must never print or persist tokens.
Structure
lib/index.js— host:ctx.tools.registerfor 7 vault tools;webServerroutes/vault/status|set|remove|import;systemPrompt.sectionusage ruleslib/client.js— browser__ModuleLoader__bundle: Settings → 凭证库 (add / import / delete, values never displayed)cordis.patch.yml— bundle mount patchpackage.json— market-format compliant (strictinject, fullexportsincl../clientand./cordis.patch.yml)
License
MIT © YYfather
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 1.0.0 | — | — |
| 1.0.1 | — | — |
| 1.0.2 | — | — |
| 1.0.3 | — | — |
Comments
Loading…
Similar plugins
by scientificmaniac
SSH for DeepSeek Harness agents: host address, port, account, password and private key live in an encrypted vault, and the conversation only ever uses an alias. The model never sees a password, and a
★ 0
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-ssh-vaultby yauntyour
DeepSeek Harness 凭据加密插件,通过设置密码使用AES-256-GCM+SHA3-256实现的全流程加密+校验,运行时临时解密,内存安全。
★ 8
MIT
TypeScript
Aug 18, 2026
dsh plugin --profile web add dsh-encryptby slywalker2006
Server-grade gateway that turns DeepSeek Harness into a multi-tenant platform: remote access + auto HTTPS, subuser permissions & quotas, sandbox enforcement, encrypted auth, audit log.
★ 80
GPL-3.0
TypeScript
Oct 9, 2026
dsh plugin --profile web add dsh-passwordsby Ox0400
Encrypted credential vault for DeepSeek Harness — AES-256-GCM + TOTP, model tools + Settings UI
★ 13
↓ 708/wk
MIT
TypeScript
Oct 16, 2026
dsh plugin --profile web add dsh-vaultby JUANWANG-BUAA
Auditable, token-gated DeepSeek Harness remote gateway: mobile QR access, per-device sessions, Host/Origin rewrite, settings/credentials/directory support.
★ 51
↓ 204/wk
MIT
TypeScript
Oct 24, 2026
dsh plugin --profile web add dsh-full-remoteby tancheng33
HashiCorp Vault backend for the DeepSeek Harness credential seam: central secrets, AppRole machine auth, rotation without restart, and no long-lived provider key on the agent host
★ 0
MIT
TypeScript
Aug 16, 2026
dsh plugin --profile web add dsh-credentials-vault