dsh-risk-gate: Patching Armor Break with a human gate
Maintained by oobitoooo, categorized under admin-security, and holding a 1-star rating on GitHub, dsh-risk-gate is a wild patch for dsh-purge that adds a high-risk operation confirmation gate (human-in-the-loop) to "break armor". The core strategy avoids approval processes and instead hooks into `tools/pre-execute` to deny operations upon match, utilizing `ctx.tools.guard()` as a simple fallback. Credentials are allowed only if they are a one-time number found within the user's message, valid for 10 minutes. The default rules R1–R9 cover recursive deletion, `git push`, registry modification, global package installation, external connections, encoding obfuscation, forced kill privilege escalation, and writing to sub-processes and critical paths. The configuration `policy.json` supports hot read/write operations, with auditing performed using an HMAC chain and sanitization before writing to disk. Installation can be done directly via the GitHub Release Tgz of `dsh plugin --profile desktop add`, or using `install.ps1` or manually adding a bundle. It does not modify the host, does not revoke the "break armor" feature, and does not connect to the internet. The intercepted parameters do not represent the user's intent; it is a community tool and not an official component. Users should check the source code and license before installation.
Read Moredsh-risk-gate: A DeepSeek Harness Plugin for Semantic Auto-Grading and Progressive Authorization
The `dsh-risk-gate` plugin in DeepSeek Harness provides a local semantic analysis–based mechanism for operation tiers and progressive authorization. It classifies tool calls into safe, risky, and redline levels, then automatically enforces allow, ask, or deny actions without relying on external LLMs. It supports regular-expression checks for Bash commands, enables quiet automatic pass-through via configurable thresholds, and can override behavior for specific tools. This solution is well suited to quickly building a lightweight security control layer within the DSH ecosystem.
Read More