STARDUSTLC666/dsh-secure-review ↗★ 0
dsh-secure-review
DSH AI 代码安全审查插件:提供安全扫描、差异对比、修复验证、安全报告及策略设置等六大工具,支持 30+ 确定性规则和密钥检测,零运行时依赖。
AI 分析
核心用途是进行 AI 辅助的代码安全审计。适合需要在提交代码前进行漏洞扫描、密钥泄露检测和自动修复验证的开发者。支持通过 JSON 文件自定义审查策略。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:STARDUSTLC666/dsh-secure-review说明文档
阅读完整 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"
}