a903067276-rgb/dsh-perm-guard

a903067276-rgb★ 0JavaScript最后同步: 2026-08-17

在 GitHub 打开

Auto-approval permission guard for DeepSeek Harness: a middle tier between workspace-write and danger-full-access — auto-allows safe ops in trust dirs, always prompts for destructive ones

README 摘要

dsh-perm-guard English 简体中文 Auto-approval permission guard for DeepSeek Harness ( dsh ) web — the "middle tier" between workspace-write (asks too often) and danger-full-access (too open). Common operations like cross-directory edits, git commit / merge and builds run without approval prompts ; destructive operations (deletes, disk ops, privilege escalation, curl sh ) always ask for human confirmation . Features - Auto approval answerer — intercepts every approval request before the host prompt, classifies the actual command/target, and auto-answers allowed-once for safe operations (13ms, no popup) or forwards to the human prompt for risky ones. - Command-level firewall ( tools/pre-execute ) — dangerous categories are intercepted before the sandbox even rejects them. - Two modes (switchable in the settings page, persisted): - Standard — auto-approve inside the trust directories (workspace, sibling directories, custom list); outside + risky operations prompt. - Aggressive — location-unrestricted: only destructive operations still prompt. - 11 per-category tri-state switches (auto / ask / deny) with your personal defaults. - Audit trail — every decision is recorded (approved / forward…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdsh-pluginpermissionpermission-management

分类