dsh-security
Run the following command in DeepSeek Harness:
dsh plugin install id7869/dsh-security
Paste the following prompt into your AI chat to install this plugin:
Visit https://github.com/id7869/dsh-security for the source code and run dsh plugin install id7869/dsh-security to install the plugin in DeepSeek Harness.
About this plugin
Running code security audits inside DeepSeek Harness has historically meant either wiring up an OpenAI model alongside a Python runbook or settling for a shallow lint pass. dsh-security rebuilds the codex-security discovery-to-verification-to-report methodology entirely in pure JavaScript workflows on DSH-native tooling: no Python, no Docker, no vector service, no SQLite. Every deterministic hash, SARIF generation, and seal validation lives as a pure function inside the orchestration scripts, and all persistence is local JSONL. The audit semantics are complete: standard single-pass scanning, multi-pass deep scanning, diff-range change auditing, threat modelling, severity re-classification, SARIF 2.1.0 output, and scan-manifest hash sealing are all in scope.
Each candidate finding is independently re-validated by a fresh subagent that receives only the raw code excerpt and never inherits the discover-phase reasoning, eliminating self-review bias at the source. Deduplication runs a two-stage same-model review: a coarse FNV-1a 64 fingerprint pass against local JSONL history followed by a deep confirmation in an isolated context with transitive-closure group merging. Cross-scan history recall is bounded and configurable. The fix pipeline splits into fix (minimal source change) and verify-fix (independent re-read validation); external alerts can be triaged and ingested after independent re-check; and confirmed findings can be dispatched to GitHub, Linear, Jira, or degraded to a local export.
It is aimed at developers and security engineers working inside the DSH ecosystem who need repository or PR-level security audits without bringing in OpenAI API keys, a Python runtime, or a database stack. If you already run DSH for daily sessions, dsh-security slots in as a lightweight skill-plus-workflow bundle: a single phrase kicks off the full pipeline, all artifacts land in an isolated output directory, and the results are traceable, sealable, and reusable at any time.
Use Cases
- Run an incremental security scan on changed files before merging a PR
- Perform a full-repo deep security audit and export a SARIF report
- Independently re-validate, fix, and track reported vulnerabilities
Best For
- Security engineers working within the DSH ecosystem
- Teams needing lightweight security audits with zero external dependencies
- Developers who want to drive audit pipelines via natural language
Related Plugins
A network security red-team benchmark plugin for DeepSeek-V4.1/Flash featuring dual-layer kernel injection and zero-tool architecture for controlled model safety assessment.
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.