ChatGPTClaudeGrok / X / CursorGemini

dsh-purge: A Host-Layer Red-Team Evaluation DSH plugin for DeepSeek Harness

zxeb/dsh-purge

Skills & AgentsVerified
Listed on 2026-10-23
Page last updated 2026-11-23

dsh-purge is a red-team evaluation DSH plugin for DeepSeek Harness, separating host-layer interception from model refusal via a sidebar purge panel and drill console on both web and desktop hosts.

dsh-purge is a red-team and robustness evaluation DSH plugin for DeepSeek Harness that targets the locally installed official host rather than the model itself. It separates a model refusal from a host-layer block, letting developers verify prompt rewriting, approval gates, sandbox policy and session migration on their own installation. It offers a sidebar panel covering patch status with apply and restore, prompt injection, rule-set and Skill management, rewind and auto-retry, and supports both the official web host and the desktop EXE under the MIT license.

How to Install

install
dsh plugin --profile web add github:zxeb/dsh-purge

Replace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.

Category
Skills & Agents
Platform
DSH Plugin
Author
zxeb
Distribution
Plugin

dsh-purge Key Features

Sidebar patch statusPrompt injection & rulesetsSkill import & host allowlistRewind, auto-retry, auto-continueGated drill console
Listed on dsh-plugin.org

dsh-purge Repo Summary

What Does It Do?

dsh-purge is a DSH plugin for DeepSeek Harness that provides red-team and robustness evaluation against a locally installed official host rather than the model itself. It separates "the model refused" from "the host layer blocked it": the harness rewrites prompts, approval gates, sandbox policy and session migration at runtime, and the plugin lets you evaluate those layers on your own installation. It ships a sidebar panel, patch cleaning, prompt injection, rule-set and Skill management, rewind and retry controls, and supports both the official web host and the desktop EXE. It is maintained by ZXEB under the MIT license.

Core Features

  • Patch cleaning: lists each patch as applied / pending / missing_file by group, with apply, restore and uninstall actions that are idempotent on repeat.
  • Prompt injection: injects the encrypted built-in prompt by default without reading the host disk, and can be overridden with your own file.
  • Rule sets and Skills: multiple AGENTS.md / CLAUDE.md sets are written into the host directory when enabled, and imported Skills are loaded by DSH itself and survive plugin removal.
  • Rewind and continuation: buttons next to the input restore the last or previous turn back into the box, plus configurable auto-retry and auto-continue.
  • Startup self-check: re-checks and re-applies patches on every launch, so package-manager overwrites of dependencies need no manual file edits.
  • Drill range: after authorization it shows asset, skill and local environment pages, gated by a statement, countdown and three confirmations on first entry.

How to Use This Plugin?

After enabling it in DSH, a sidebar button appears next to the session title with two pages, Cleaning and Drill Range. Day-to-day evaluation happens in Cleaning: review patch status, apply or restore, edit the prompt, and switch rule sets. You must restart the host and click apply once in Cleaning before anything takes effect. The web and desktop hosts are installed and applied separately, never cross-applied; the plugin locates the host via DSH_HOME, the launcher-adjacent directory, then the user directory, and never edits the harness source tree.

How to Troubleshoot This Plugin?

If installing by package name fails, the original package is no longer available, so use the tarball, local directory or manual route described in the repository. If you only get a command line and no sidebar, the front-end artifact is missing, so copy the whole directory rather than a few script files when working offline. If the host reports a skip or version mismatch, check that dsh is 0.2.x; the desktop host needs one prior client launch to generate its profile and must be fully exited before installing.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: zxeb/dsh-purge. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ