dsh-safety
Run the following command in DeepSeek Harness:
dsh plugin install sugarxl/dsh-safety
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install sugarxl/dsh-safety in DeepSeek Harness to install dsh-safety, where the plugin source code is located at https://github.com/sugarxl/dsh-safety。
About this plugin
Automated agents in DeepSeek Harness can occasionally cause unintended destruction to the file system due to erroneous path resolution or variable references, leading to critical data loss in production environments. dsh-safety addresses this pain point by enforcing strict file policies at the tool execution boundary, ensuring the AI never authorizes its own destructive operations and instead relies on a recoverable trash mechanism and user approval workflows to protect important files.
Beyond basic interception and approval, the plugin offers robust transactional protection, including snapshots and rollbacks for plugin configurations, integrity checks before startup, and a standalone CLI tool. It is ideal for developers and system administrators who require high security, as it prevents accidental deletions while ensuring a quick recovery to a stable state when the Agent encounters errors.
Use Cases
- Prevents accidental deletion of core production files caused by Agent path errors.
- Enforces human confirmation before destructive deletions to prevent irreversible loss.
- Provides snapshot and rollback features to quickly recover from configuration errors.
Best For
- Developers requiring strict control over filesystem operations.
- System administrators using DeepSeek Harness for automated deployment.
- Teams focused on Agent behavior safety and data integrity.
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.