dsh-agent-approval
An independent approval subagent judges every sandbox escalation, with a configurable model and an audit log.
由独立审批子代理裁决每次沙箱提权,可配置审批模型并带审计记录。
How to install
dsh plugin add @duke-dsh-plugins/dsh-agent-approval About
--- 为 DeepSeek Harness(DSH) Web UI 打造的 **Agent 审批**权限插件:当内置的权限选项(workspace-write + ask / danger-full-access + never)不能满足需求时,为会话开启第三种模式——**以 workspace-write 为基线,提权请求交由独立审批 Agent 裁决,有风险就拒绝**。 功能 | 功能 | 说明 | |---|---| | 🛡 **权限菜单第四项** | /permission 菜单新增 **Agent 审批** 预设;选中即开启,切到其他预设自动关闭,跨重启保持 | | 🤖 新权限模式 | 开启后:沙箱基线固定 workspace-write,审批策略切到 ask(内部接管),**不再弹人工审批** | | 🤖 独立审批 Agent | 每次提权请求由一次性 spawn 子代理裁决:独立会话、零工具、只读材料,结构化输出 {decision, riskLevel, rationale} | | ⛔ 风险即拒绝 | 破坏性 / 不可逆 / 越界(含修改操作系统或其他应用数据)/ 理由与实际命令不符 → 直接 reject;仅"安全、可逆、与任务相符、理由诚实"才 approve——项目自身的安装/部署脚本写其文档指定路径属任务所需 | | 🔒 Fail-closed …
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-08-23
- Created
- 2026-08-18
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh-plugin
Related plugins
dsh-auth-gateway
xbzbing/dsh-auth-gateway
Password + TOTP two-factor authentication gateway for the dsh web UI: every HTTP request and WebSocket upgrade is refused until login, with per-source lockout, global rate limits and one-time backup codes.
dsh-auth
hxy91819/dsh-auth
Caddy forward_auth administrator login for DeepSeek Harness Web, with Argon2id passwords, revocable sessions, bilingual UI, and a native sidebar sign-out action.
dsh-auto-review
PerryLink/dsh-auto-review
Second-model auto-review on the approval answerer chain: a read-only reviewer subagent returns structured allow/deny verdicts with reasons, fail-closed by default.
dsh-yolo-mode
SeverusZh/dsh-yolo-mode
LLM auto-approval for sandbox escalation requests, with presets and a fail-closed fallback.