AI Agent Hub
Back to plugins
🧩

dsh-safemode-profile

admin-security Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install jinsiyu/dsh-safemode-profile

Paste the following prompt into your AI chat to install this plugin:

In DeepSeek Harness, install this plugin via `dsh plugin install jinsiyu/dsh-safemode-profile`, with the source code hosted at https://github.com/jinsiyu/dsh-safemode-profile.

About this plugin

Developers often face the risk of their DSH profiles being accidentally polluted. While safemode is intended to isolate the environment, the profile files themselves can be tampered with, rendering the security concept void. How can you ensure that every startup is exactly the same as "factory settings"? dsh-safemode-profile is specifically designed to solve this pain point. It employs a dual mechanism of "startup restoration" and "runtime guardianship." On startup, it forcibly overwrites critical files like package. and cordis.patch.yml to a strict whitelist template. During runtime, it continuously monitors for drift using real-time file watching and scheduled polling, ensuring that any unauthorized plugin or dependency modification is immediately intercepted and reverted. This plugin is ideal for developers or teams requiring high levels of security isolation. Whether you are building CI/CD environments or preventing accidental pollution in local sandboxes, it offers "hardcore" protection. Combined with file system hardening suggestions, it keeps your DSH environment absolutely controllable, truly delivering a "secure by default" development experience.

Use Cases

  • Building CI/CD Environments
  • Preventing Accidental Pollution
  • Managing Multi-Environment Isolation

Best For

  • Developers requiring strict environment control
  • Users seeking a pristine development sandbox
  • Administrators responsible for team security standards