DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Purge Plus — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
P

dsh-purge-plus

Purge Plus

Purge Community Plus:DeepSeek Harness 破甲与提示词管理插件,适配 DSH Desktop 0.2.1-rc.x。相对 dsh-purge-community 1.6.0 额外修复:#119 宿主加载期 fatal load failure、presets 里残留 toolFilter 导致 redteam 预设注册失败。

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:luowang-ui/dsh-purge-plus#111ebe489308fb8b8faf8fdf748095029790fdd6
READMECompatibilityVersions

Compatibility and provenance

Purge Plus is published as dsh-purge-plus and currently resolves to version 1.6.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/17/2026

Versions

1.6.1stable
10/17/2026

Related plugins

Loading related plugins…

Latest
1.6.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 4
Weekly downloads
0
Last push
10/17/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseExperimental Inspector@deepseek-ai/dsh-experimental-inspectorExperimental cross-realm CDP hub for Host debugging and Client Runtime inspection

README

Purge Community

给 DeepSeek Harness 拆闸的插件。

83 条宿主补丁 · 27 层破甲自检 · 提示词 / 规则 / 技能管理 · 左侧栏整页设置

当前版本 1.6.0 · 适配 DSH Desktop 0.2.1-rc.2(rc.1 同样通过) · English


一行安装

curl -fsSL https://raw.githubusercontent.com/luowang-ui/dsh-purge-plus/master/scripts/install.sh | sh

它会自动:找 DSH 桌面版 → 下载最新发行包 → 校验 SHA256 → 用 DSH 自带运行时跑安装器(先备份 profile,再把旧的 Purge 入口合并成一个)。

然后 完全退出并重开 DSH → 左侧栏点 Purge → 状态页顶部点 应用 → 再退出重开一次。完事。

不想用脚本?手动三步
V=1.6.0
curl -fsSLO https://github.com/luowang-ui/dsh-purge-plus/releases/download/v$V/dsh-purge-plus-$V.tgz
curl -fsSLO https://github.com/luowang-ui/dsh-purge-plus/releases/download/v$V/SHA256SUMS.txt
shasum -a 256 -c SHA256SUMS.txt && mkdir -p /tmp/pc && tar -xzf dsh-purge-plus-$V.tgz -C /tmp/pc
ELECTRON_RUN_AS_NODE=1 "/Applications/DeepSeek Harness.app/Contents/MacOS/DeepSeek Harness" \
  /tmp/pc/package/bin/community.js migrate "$PWD/dsh-purge-plus-$V.tgz"

为什么用它,而不是原版

原版 1.1.71本分支 1.6.0
宿主适配只到 0.1.7 / 0.2.0,上游已停更0.2.1-rc.2 逐条回归,0 漂移
补丁82 条,锚点随新版失效后静默跳过83 条(新增 ask_user_question 不阻塞),带逐条状态与漂移诊断
装完怎么确认没有selfcheck 27 层逐层给证据(ok/待应用/失败三态)+ probe 证明注入真的到模型
面板会话上方悬浮按钮 + 独立小窗左侧栏整页:顶部一句话状态 + 放大的「应用」,其余折叠;说明收进 ?
更新指向已停更的上游,分支/覆盖式安装本仓库校验过的发行包(SHA256),保留通道/tag/pin 与多安装位置
预设无自带「无限制模式」:standard 超集(工具面一样),只换执行优先人设
审计无每次应用/回滚/开关都留痕(audit.jsonl,面板「最近动作」可看)
维护无备份应用/安装/回滚前自动快照(5 份 + 每天 1 份 × 7 天 + 200MB 上限;大文件内容寻址去重,每份从 9MB 降到约 2MB)
提示词层注入 + 身份剥离再加尾部破甲强化段(默认开)、注入位置可切 head/tail/both

它拆的是什么

模型不是不会干活,是被四道闸拦住。这个插件逐层拆:

闸门拆法
模型层prompt-inject.md 每步作为最高优先级 section 注入;剥掉官方身份句;尾部追加「层级声明 / 拒绝即故障 / 抗谄媚 / 多轮重申」
审批层审批门自动授信、never 提示句旁路、无 UI 通道时 fail-open、run_code / 工具 ask 放行、计划模式不硬拦
沙箱层confine() 直通、fs 围栏禁用、观察策略放行、沙箱拒绝话术中性化
回合层重复工具守卫与结果修剪禁用、Auto Review 不否决、ask_user_question 最多等 1 秒就继续、UI 发消息永远新 turn

破甲自检:别靠感觉,靠证据

purge-community selfcheck          # 人读
purge-community selfcheck --json   # 机读

27 层逐层回答"这条通道通不通":沙箱直通、fs 围栏、观察策略、拒绝话术、默认策略、审批自动放行、重复守卫、结果修剪、Auto Review、工具 ask fail-open、计划模式、身份剥离、Web 面中性化、注入不被预设覆盖、极简/梁神预设、外部内容、Hooks、工具上限、子代理、会话默认、回退残留、网关兼容、会话挂载、桌面壳兜底,加上运行时注入 / profile 权限 / 宿主是否仍封在 app.asar。

每层给 applied/required;目标插件没装的层显示"当前不适用",不冒充成功。

面板

左侧栏 Purge → 整页,六个页签:

  • 状态——顶部固定「应用 / 还原 / 卸载」;一行状态摘要是 DSH 版本 · 兼容级别 · 宿主补丁 · 插件版本;下面是可展开的破甲自检与补丁明细;
  • 提示词——编辑注入正文,破甲强化段与注入位置;
  • 规则 / 技能——沿用原版规则集与 DSH 技能目录;
  • 演练台——23 个红队技能、资产测绘、攻击链;
  • 更多——服务器名单、更新与备份。

所有名词解释都在标题后面的小 ? 里,点开即看,不占版面。

日常命令

purge-community status              # 宿主 / 补丁总览
purge-community selfcheck           # 破甲自检(ok / 待应用 / 失败 三态)
purge-community diagnose            # 漂移诊断(锚点没命中时给行号 + 片段)
purge-community reanchor apply <id> --lines A-B --yes   # 把新锚点钉成本地覆盖
purge-community probe new           # 生成探针,验证注入真的到达模型
purge-community boost on|off        # 尾部强化段(默认 on)
purge-community preset install      # 装自带「无限制模式」预设
purge-community audit --limit 20    # 最近动作记录(应用/回滚/开关/探针/重锚)
purge-community usage | prune       # 备份占用 / 清理(含去重对象 GC)
purge-community apply|revert|uninstall|edit   # 原版能力

给 agent 看的详细操作手册在 AGENTS.md:五层模型、命令与退出码、症状→动作决策树、补丁表怎么加、状态文件在哪。

偏好存在 $DSH_HOME/dsh-purge/tuning.json:

{ "boost": true, "injectPosition": "head", "askNoBlock": true }

injectPosition:head(省 token)/ tail(贴输出、多轮衰减最小)/ both。

更新

插件更新:面板「状态 → 更多 → 检查更新」,或 purge-community 的更新通道;走本仓库校验过的发行包。

DSH 官方更新后:app.asar 会重新出现,面板顶部直接提示"宿主仍封在 app.asar 里"→ 点 应用 → 退出重开一次。补丁表若因新版漂移,diagnose 会指出哪条、哪个文件、期望原文与可能的新位置。

兼容性

环境状态
macOS · DSH Desktop 0.2.1-rc.1 / rc.2已回归:83 条锚点、面板、CLI、自检 27 层全绿
其他 DSH 版本允许应用,标"未验证";先跑 selfcheck / diagnose
宿主组件版本不一致只报告,不阻止写入
Windows / Web profile代码路径保留,未做端到端验收

出问题怎么办

# 应用打不开(最坏情况,回到更新前的密封包)
R="/Applications/DeepSeek Harness.app/Contents/Resources"; mv "$R/app.asar.bak" "$R/app.asar"

# 只回滚宿主补丁
purge-community revert

# 回滚插件(保留当前提示词与规则)
purge-community rollback <backup-id>

开发与验证

npm --prefix packages/purge-panel ci --ignore-scripts --legacy-peer-deps
npm run build:client     # packages/purge-panel/src → 根 client.js
npm test                 # 28 项:补丁锚点 / 自检 / boost / 提示词装配 / 备份安装
npm run test:ui && npm --prefix packages/purge-panel test
npm run check:client && npm run diagnose

test/patch-anchors.test.mjs 把 0.2.1 的真实源码片段钉进用例——谁改了锚点没同步用例,测试直接失败。

来源

上游 YuJunZhiXue/dsh-purge(作者 小杨,MIT)。本分支独立维护,保留 Git 历史、署名与许可证;第三方来源见 NOTICE。包名、发行与更新源由本仓库管理。

插件负责拆 harness 与宿主默认策略的闸,不替模型判断某件事该不该做;最终输出仍取决于模型本身。