STARDUSTLC666/dsh-code-security ↗★ 1

dsh-code-security

提供代码安全审查、密钥检测及漏洞扫描。 适合开发安全审计,可在提交前快速检测代码缺陷、敏感密钥与依赖安全。

包名
dsh-code-security
兼容性
待验证
版本
0.3.6
许可证
MIT
最近更新
2026年9月28日

同名包的其他仓库

安装

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

使用

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"
}