iiiweiii/dsh-guardwall ↗★ 2

dsh-guardwall

Security for DeepSeek Harness in two layers: source-backed pre-install vetting plus fail-closed runtime guardrails and HMAC-chained audit logs. Zero runtime dependencies.

패키지
dsh-guardwall
호환성
미검증
버전
0.5.0
라이선스
MIT
최근 업데이트
2026. 8. 23.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-guardwall

策略与配置

默认:risk >= 7 拦截、risk >= 4 告警、其余记录。可在 cordis.patch.yml 的 config 调整:

- insert:
    - id: guardwall
      name: dsh-guardwall
      config:
        blockThreshold: 7
        warnThreshold: 4
        dataDir: ~/.dsh/cache/dsh-guardwall
        failMode: closed             # 护栏初始化/扫描异常时拒绝执行
        allowAgentWhitelist: false   # 默认禁止 Agent 自助放行