artemiroshnichenko/dsh-plugins--packages-dsh-guard ↗★ 0
dsh-guard
Security guard for DeepSeek Harness: monotonic deny on secret paths and approval gates for destructive shell commands
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Configuration
Add the plugin to your ~/.dsh/cordis.patch.yml:
- insert:
- id: guard
name: dsh-guard
config:
# Additional path patterns to restrict
denyPaths:
- "~/company-secrets/**"
- "**/.vault-token"
# Additional commands requiring user confirmation
askCommands:
- id: terraform-apply
re: "\\bterraform\\s+apply\\b"
reason: "infrastructure deployment via terraform apply"
# Output warnings on intercepted actions
logDecisions: true