weisofns/dsh-security-guard0

dsh-security-guard

DeepSeek Harness (DSH) plugin security guard: 28-rule static scanner, risk scoring, alarm, auto rule update and local web dashboard. Standard dsh plugin package.

包名
dsh-security-guard
版本
2.1.1
许可证
MIT
最近更新
2026年9月5日

安装

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

使用

  1. 对话:“扫描一下我的插件安全” / “检查哪些插件有风险” / “扫描 dsh-labnana”。
  2. 模型调用 security_scan_plugins / security_scan_plugin 返回风险报告。
  3. 浏览器访问 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 仪表盘及其路径