Skip to content
dsh-market Browse plugins GitHub 中文

STARDUSTLC666/dsh-code-security

Deterministic code security review: 40+ rules, secret entropy detection, staged-diff review, SARIF export, baseline acceptance and SBOM-lite dependency inventory.

Stars ★ 1 Category Security & Permissions Listed 2026-08-17 npm dsh-code-security

Install

Inside DeepSeek Harness, with dsh-market

dsh plugin --profile web add dshmarket

Or from the command line

dsh plugin --profile web add dsh-code-security

Installing runs third-party code with your own permissions — it can read your files, use your credentials and reach the network. Review the source first, and pin a commit (github:owner/repo#sha) when you can.

README

Every agent code change passes a local security scan before delivery.

A DeepSeek Harness plugin for AI code security review: deterministic rule engine, git-diff incremental review, fix-verify loop, and policy gate. Methodology borrows from Codex security skills (evidence-first findings, severity ordering, supply-chain layers). Zero runtime dependencies.

Tools

Tool Purpose Write
secure_scan Scan files with CWE/severity/line/snippet evidence state
secure_diff Review only added lines of git diff state
secure_fix_verify Compare with baseline: closed / remaining / fresh state
secure_report Aggregate by rule/file with gate verdict no
secure_export Export SARIF 2.1.0 / Markdown file write approval
secure_baseline Accept current findings as baseline; gate on new issues only approval
secure_deps SBOM-lite: parse dependency manifests and version-risk flags no
secure_policy_show Show .code-security.json no
secure_policy_set Replace policy JSON approval

40+ deterministic rules: injection, deserialization, weak crypto (including shell TLS bypass flags), secrets, dangerous config, sensitive logging, path traversal, SSRF.

dsh plugin --profile web add dsh-code-security

MIT

Content from the project README on GitHub ↗