AI Agent Hub
Back to plugins
🧩

dsh-safety

admin-security Updated 2026.08.25

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.