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