lonelymoon87/dsh-guardian ↗★ 0

dsh-guardian

DSH 高危操作策略拦截、敏感输出脱敏与安全审查插件 核心用途是根据自定义规则拦截高危操作(如向生产环境执行命令),并对输出中的敏感 Token/密钥进行自动脱敏。适合企业级安全合规与隐私保护场景。

套件
dsh-guardian
相容性
待驗證
Harness 依賴範圍
>=0.1.0-rc.6 <0.2.0
Cordis 依賴範圍
>=4.0.1 <5
版本
0.1.1
授權
MIT
最近更新
2026年8月14日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lonelymoon87/dsh-guardian

Configuration

- id: guardian
  name: dsh-guardian
  config:
    profile: standard
    rules:
      - name: production-host
        pattern: production\\.internal
        action: ask
        reason: production target requires review
    redaction:
      enabled: true
      patterns:
        - label: internal-token
          pattern: INT_[A-Z0-9]{12}

Regular-expression flags may contain only i, m, s, and u. Invalid expressions and labels fail during plugin loading.