dsh-shield
Run the following command in DeepSeek Harness:
dsh plugin install x2802490130-prog/dsh-shield
Paste the following prompt into your AI chat to install this plugin:
Install dsh-shield in DeepSeek Harness by running the following command (source: https://github.com/x2802490130-prog/dsh-shield): dsh plugin install x2802490130-prog/dsh-shield
About this plugin
Letting an agent free-run bash commands is terrifying because a single rm -rf is irreversible. dsh-shield fixes this without approval gates, popups, or slowdowns: it silently renames directory targets into a trash bin before the command executes, lets the command finish normally, and the agent feels nothing. Deleted something by mistake? Open the trash and restore it in one click.
Three core scenarios are covered. First, directory deletion: rm -r, rmdir, del /s, and fs-tool directory removals are all redirected to the trash via an instant same-volume rename before execution. Second, glob rescue: patterns like rm -rf dir/* trigger per-subitem salvage, resolving symbolic links to their real targets so actual content is preserved. Third, symlink protection: rm -rf link/ is rewritten to delete the link itself, never following it to the real content. The trash supports browsing, restoring, permanent deletion, and clearing, with automatic cleanup after 14 days or 5 GB. An optional system-trash mode is also available.
This plugin is built for developers who let agents execute shell commands autonomously in DSH. Instead of layering a human-in-the-loop approval step or staring at a terminal waiting for a dialog, you keep the agent at full speed while dsh-shield silently backstops every destructive path. Zero friction, full recoverability.
Use Cases
- Prevent irreversible directory loss when an agent runs rm -rf without supervision
- Salvage individual sub-items when glob patterns like dir/* trigger mass deletion
- Protect real content behind symlinks so only the link itself is removed
- Restore deleted files in one click without adding approval gates to the workflow
Best For
- Developers letting agents execute shell commands autonomously in DSH
- Teams that want full agent speed with a safety net for accidental deletion
- Engineers working with bash, cmd, or fs tools who need reversible directory operations
Related Plugins
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.