dsh-approval-gate
Risk-gated approval automation for DeepSeek Harness: flash pre-classifies whether a write/command is irreversible — safe operations are auto-approved, dangerous ones are escalated to human approval (fail-safe). File-diff review with one-click revert and session-scoped snapshots (v0.5.1: precise snapshots via tool-call parameter tracing, incl. human-approval cases).
DeepSeek Harness 自动审批门控:Flash 预判写入/命令是否不可回补,安全操作自动批准、危险操作转人工(fail-safe)。另含文件改动对比(unified diff)与一键撤销、按会话隔离的快照管理(v0.5.1:通过工具调用参数回溯精确保存快照,覆盖人工审批场景)。
How to install
dsh plugin add dsh-approval-gate About
**简体中文** | English dsh-approval-gate **DeepSeek Harness 自动审批门控 —— 最小人工介入,安全自动放行、危险转人工(fail-safe)。** Flash 模型预判每次沙箱越界:常规操作自动放行,硬风险操作(删除 / 凭据 / 远程 / 系统 / 批量)永远转人工确认;学习沉淀只针对你确认过的操作,并提供界面化人工审查入口。 ✨ 特性 ⚡ **Flash 风险预判**:每次沙箱越界由 Flash 模型判定(SAFE / RISKY:<类别>),可回补操作自动放行 🛡️ **硬风险永远人工**:删除、凭据、远程/生产、系统路径、批量不可回补五类操作直接转人工,不计数、不学习 🎯 **确认制学习**:同一操作确认 N-1 次后自动放行;沉淀规则携带**操作指纹**,只放行你确认过的操作 🧠 **语义同类验证**:措辞变化但意图相同的操作,由 Flash 对照你的确认样本语义判断,不再依赖关键词 🔧 **配置热更新**:allowlist.json 修改即时生效,无需重启 ✅ **人工审查 UI**:自动放行时输入框上方出现绿色提示;「审批」视图(轨迹右侧)展示当前会话完整放行时间线 📸 截图 自动放行提示(对话内) | 审批历史视图 :---:|:---: | 🚀 快速开始 sh dsh plugin --profil…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 80
- mo. downloads
- 516
- Last push
- 2026-08-20
- Created
- 2026-08-14
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, dsh-plugin
Related plugins
dsh-auto-mode
NanmiCoder/dsh-auto-mode
Adds an Auto permission preset between Workspace Write and Full access: routine work stays in the official workspace-write sandbox while the current session model reviews escalation and destructive calls, granting one exact wider access once, asking when the intent is ambiguous, and denying critical paths.
dsh-passwords
slywalker2006/dsh-passwords
Turns DeepSeek Harness into a server-grade multi-tenant platform: remote access + auto HTTPS, subuser permissions & token/daily quotas, sandbox enforcement, encrypted auth & audit log.
sofagent
KongFangXun/sofagent/tree/main/engine/dsh-plugins/cordis-plugin-sofagent-audit
Commit-time audit harness for AI coding agents: 24 git-diff rules (secrets, out-of-scope edits, prompt injection), HMAC-signed audit trail, snapshot rollback, and an MCP server with 84 tools. Installable via dsh plugin add.
dsh-vault
Ox0400/dsh-vault
Encrypted local credentials vault for the Harness: a web settings page and vault_* tools to store, search and copy passwords, API keys, TOTP secrets and card data, with health audits, expiry rotation, imports/exports and read-only/ask access modes.