YuJunZhiXue/dsh-purge
DeepSeek Harness 破甲:让所有模型都能破甲,不同模型可换不同提示词;默认提示词面向国模「小码酱」。Jailbreak for every model — swap prompts per model. 求 Star 收藏 ⭐
What it solves
dsh-purge is a settings plugin for DeepSeek Harness that allows users to modify the default behavior, permission policies, and tool limits of the installed @deepseek-ai/* packages. It specifically targets the removal of restrictive persona wording and refusal patterns in the system prompts, enabling roleplay and more flexible AI responses (jailbreaking) while maintaining the harness's technical optimizations.
How it works
The plugin operates by patching local package files and managing system prompt overrides:
- Patching: It identifies the installation path of DeepSeek Harness and applies replacements to the source code of the
@deepseek-aipackages. It creates backups (.dshpurge.bak) before modifying files. - Prompt Injection: It uses a
prompt-inject.mdfile to inject custom system prompt sections into sessions, allowing the operator's identity to override the default harness persona. - Windows Integration: On Windows, it uses
registerHooksto redirectnode:child_processto a facade that silences console flashes during subprocess execution. - Curation: It provides a "Rules" card in the web settings UI to manage grouped patches, rule sets, and session overrides.
Who it’s for
Users of DeepSeek Harness (both Web and Desktop versions) who want to customize their AI agent's persona, remove restrictive system prompts, and bypass default refusal behaviors.
Highlights
- Jailbreak Capabilities: Rewrites refusal and anti-roleplay wording in standard, code, and cordis personas.
- Integrated UI: Adds a dedicated Rules card to the DeepSeek Harness settings page for easy Apply/Restore operations.
- Rule Set Management: Supports multiple
AGENTS.mdandCLAUDE.mdrule sets that can be enabled or deleted. - Automatic Recovery: Can re-apply patches after an npm upgrade overwrites the
node_modulesfolder. - Cross-Platform Path Detection: Automatically locates the harness installation across various environments (portable, global npm, Desktop app).
Related
- Project
- Project
- Project
- Project