STARDUSTLC666/dsh-code-security ↗★ 1

dsh-code-security

DSH 代码安全审查插件:40+ 确定性规则与密钥熵检测,支持 git diff/staged 审查、SARIF 导出、基线接受与 SBOM-lite。 适合开发安全审计,可在提交前快速检测代码缺陷、敏感密钥与依赖安全。

パッケージ
dsh-code-security
互換性
未検証
バージョン
0.3.6
ライセンス
MIT
最終更新
2026/09/28

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:STARDUSTLC666/dsh-code-security

ドキュメント

README 全文を読む ↗

使用

secure_scan { target: src }
secure_diff { base: HEAD }
secure_fix_verify { target: src }
secure_baseline { reason: 历史遗留 }
secure_deps { target: . }

策略示例(.code-security.json):

{
  "version": 1,
  "exclude": ["vendor/**", "generated/**"],
  "ignore": [{ "ruleId": "SEC-206", "file": "test/**", "reason": "非安全敏感" }],
  "failOn": "high"
}