dsh-password
Run the following command in DeepSeek Harness:
dsh plugin install ZhijiangTang/dsh-password
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install ZhijiangTang/dsh-password in DeepSeek Harness to install this plugin; the source code is available at https://github.com/ZhijiangTang/dsh-password.
About this plugin
Generating a strong password sounds trivial, yet it hides real pitfalls: JavaScript Math.random is not cryptographically secure, and hand-rolled character-pool logic often misses constraints like requiring at least one lowercase, one uppercase, and one digit. dsh-password solves this by registering a password_generate tool in DSH whose randomness comes entirely from node:crypto.randomInt with uniform sampling, eliminating weak randomness at the source. The plugin is pure ESM, has zero dependencies, and requires no build step.
It offers two generation modes. The random mode lets you set a length between 8 and 128 characters, toggle a symbol set, and exclude ambiguous characters such as I, l, 1, O, and 0 by default. After each generation it verifies that at least one lowercase letter, one uppercase letter, and one digit are present, regenerating automatically up to 20 times before falling back to a deterministic complement as a safety net. The Diceware mode ships with a built-in list of 256 common English short words, each contributing 8 bits of entropy, and lets you configure the word count (4 to 8) and the separator, making it ideal for users who prefer memorable passphrases over random strings. Throughout the process passwords are produced and returned in memory only, never written to disk or logged, and the plugin holds no persistent state whatsoever.
It suits developers and operators who need quick one-off passwords within a DSH workflow, as well as security-conscious users who prefer Diceware passphrases and want cryptographically safe randomness without pulling in extra dependencies.
Use Cases
- Generate one-time secure credentials within a DSH workflow
- Create memorable Diceware passphrases instead of random strings
- Lightweight password generation with crypto-safe randomness and zero dependencies
Best For
- Developers and ops engineers needing quick credential generation in DSH
- Security enthusiasts who prefer Diceware passphrases
- Users seeking a lightweight, zero-dependency, in-memory tool
Related Plugins
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.