STARDUSTLC666/dsh-secure-review ↗★ 0
dsh-secure-review
DSH AI 代码安全审查插件:secure_scan/secure_diff/secure_fix_verify/secure_report/secure_policy_show/secure_policy_set 六工具,30+ 确定性规则、密钥熵检测、git diff 审查与修复闭环,零运行时依赖。
AI Analysis
核心用途是进行 AI 辅助的代码安全审计。适合需要在提交代码前进行漏洞扫描、密钥泄露检测和自动修复验证的开发者。支持通过 JSON 文件自定义审查策略。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:STARDUSTLC666/dsh-secure-reviewREADME
Read the full README ↗使用
secure_scan { target: src }
secure_diff { base: HEAD }
secure_fix_verify { target: src }
策略示例(.secure-review.json):
{
"version": 1,
"exclude": ["vendor/**", "generated/**"],
"ignore": [{ "ruleId": "SEC-206", "file": "test/**", "reason": "非安全敏感" }],
"failOn": "high"
}