STARDUSTLC666/dsh-code-security ↗★ 1
dsh-code-security
提供代码安全审查、密钥检测及漏洞扫描。 适合开发安全审计,可在提交前快速检测代码缺陷、敏感密钥与依赖安全。
同名包的其他仓库
安装
$
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"
}