weisofns/dsh-security-guard ↗★ 0
dsh-security-guard
DeepSeek Harness (DSH) 插件安全卫士:包含 28 条规则的静态扫描器、风险评分、警报、规则自动更新及本地 Web 仪表盘。
AI 分析
核心用途是对 DSH 已安装的插件进行静态安全扫描,防范恶意代码风险。适合注重系统安全、安装了较多第三方社区插件的用户。提供本地 Web 仪表盘直观展示风险报告。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:weisofns/dsh-security-guard說明文件
閱讀完整 README ↗使用
- 对话:“扫描一下我的插件安全” / “检查哪些插件有风险” / “扫描 dsh-labnana”。
- 模型调用
security_scan_plugins/security_scan_plugin返回风险报告。 - 浏览器访问
http://127.0.0.1:/security-guard打开仪表盘。
配置(cordis.patch.yml)
- insert:
- id: dsh-security-guard
name: dsh-security-guard
config:
enabled: true
scanOnStart: true
autoUpdateRules: true
enableWebPanel: true
webPanelPath: /security-guard
maxFileSize: 1048576
includeNodeModules: false
whitelist: []
remoteSources: []
autoUpdateInterval: 0
minLevel: warning
channels:
- console
webhookUrl: ""
remoteSources: 远程规则 JSON URL 列表,例如["https://example.com/rules.json"]autoUpdateInterval: 规则自动更新间隔(分钟),0 表示不自动更新enableWebPanel/webPanelPath: 是否启用 Web 仪表盘及其路径