dsh-secret-scan
Run the following command in DeepSeek Harness:
dsh plugin install uckkk/dsh-secret-scan
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install uckkk/dsh-secret-scan in the DeepSeek Harness terminal to install the plugin; the full source code is available at https://github.com/uckkk/dsh-secret-scan , and after installation you must add the plugin name to the dsh.profile.bundles array in your profile package.json before it can be invoked.
About this plugin
In fast-paced, multi-developer environments, accidentally committing sensitive credentials is one of the most common security incidents: a stray AWS Secret Key, an OpenAI API token, or a PEM private key left in a diff can lead to account hijacking or data breaches within hours. Pre-commit hooks and CI checks often have blind spots, and manually grepping a large codebase is painfully slow.
dsh-secret-scan is a pure Node.js, zero-network, zero-dependency scanner that recursively walks a directory tree using high-precision heuristic regexes. It recognises over a dozen credential types — AWS access/secret keys, GitHub and npm tokens, OpenAI keys, Stripe live keys, Google API keys, Slack tokens, JWTs, PEM private keys, hardcoded passwords, and generic API tokens. Results report only the file path, line number, detected type, and severity level; the actual secret value is never echoed. The scanner automatically skips node_modules, .git, dist, binary files, and lock files to keep noise low.
It is well suited for solo developers who want a quick pre-commit sanity check, and for small-to-mid teams that want to embed a lightweight screening step in their code-review pipeline. As a heuristic regex scanner it does not guarantee zero false positives and does not attempt auto-remediation; its job is to flag suspicious locations with high recall and zero plaintext exposure, leaving final judgment and fixes to humans.
Use Cases
- Quickly check for leftover API keys or private keys before committing
- Verify a new branch contains no hardcoded passwords during code review
- Run a full credential-leak sweep when onboarding a new repo
Best For
- Solo developers running a quick pre-commit safety check
- Small teams embedding a screening step in their review workflow
- Security engineers auditing legacy codebases for leaked credentials
Related Plugins
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
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.