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.
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-guardwall說明文件
閱讀完整 README ↗策略与配置
默认: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 自助放行