GooDAnDReaDY/dsh-approval-gate ↗★ 0

@goodandready/dsh-approval-gate

Host-only command safety gate for DeepSeek Harness: blocks recognized dangerous operations and requests DSH approval when a command cannot be inspected. 适合需要防止执行高危命令、提升系统安全防护的宿主环境。

Package
@goodandready/dsh-approval-gate
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.1.3
License
MIT
Last updated
Sep 17, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GooDAnDReaDY/dsh-approval-gate

Configuration

Optional fields on the Cordis patch entry:

FieldTypeDefaultMeaning
toolNamestringbashTool whose command argument is inspected
fileWriteToolsstring[]write, edit, Write, Edit, str_replace, apply_patchTools classified by path

Example Cordis patch configuration:

  • insert:
    • id: dsh-approval-gate name: @goodandready/dsh-approval-gate config: toolName: bash fileWriteTools: - write - edit - Write - Edit - str_replace - apply_patch