dsh-code-scan
Run the following command in DeepSeek Harness:
dsh plugin install xiaohuang-zaianlian/dsh-code-scan
Paste the following prompt into your AI chat to install this plugin:
Install the dsh-code-scan plugin in DeepSeek Harness (source: https://github.com/xiaohuang-zaianlian/dsh-code-scan); after installation, restart dsh web so the agent can invoke the code_scan tool to run semgrep against any target directory.
About this plugin
Asking a DeepSeek Harness agent to review code used to mean leaving the chat, opening a terminal, running semgrep by hand, and pasting the raw JSON back into the conversation. dsh-code-scan folds that entire loop into a single natural-language instruction: point the agent at any directory and it handles the scan, parses the results, and returns a ready-to-read report without you ever switching windows.
The report groups findings by file, tags each entry with a line number and a severity level (ERROR, WARNING, or INFO), sorts severity-first, and caps output at 200 entries by default. This keeps the most critical issues floating to the top while preventing oversized result sets from overwhelming the agent's context window. If semgrep is missing from the system PATH, the plugin returns a clear Chinese-language hint instead of crashing, keeping the debugging experience smooth.
Built for developers who already rely on DSH for daily coding, pull-request review, or lightweight security audits. There is no new toolchain or workflow to adopt; simply ask the agent to scan a directory and the security check slots cleanly into the same reasoning chain you are already working in.
Use Cases
- Ask the DSH agent to run a semgrep security scan on a local project directory
- Quickly check for potential vulnerabilities before committing and get a file-grouped structured report
- Integrate security scanning into the agent's reasoning chain alongside other dev tools
Best For
- Engineers who already use DeepSeek Harness for daily development
- Developers who need code review and security audits within a conversational flow
- Security-conscious developers looking to lightly integrate semgrep into their AI workflow
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.