yushang657/DSH-YS-pojia
Security & PrivacyA DSH plugin that patches the host and injects prompts to test model refusal boundaries.
This project ships 1 agent skillsSkill list and install →What it does
DSH-ys-pojia is a plugin for DSH (DeepSeek Harness) that tests how far a model's refusal behaviour can be pushed. Instead of only rewriting the prompt, it works on three layers: host patches that rewrite DSH's own policy code and constants, a message layer that rewrites the request view without persisting changes, and prompt sections injected into the system prompt. Users choose a tier: T3 applies 96 host patches and requires a restart, T2 rewrites the assembled prompt with no host writes, and T1 injects body text only. The README also ships a standalone benchmark CLI that scores models 0-100 across 68 probes in 26 categories and reports two metrics from one run: single-shot breach rate (ASR) and multi-turn ceiling (pass@N).
Quick start
Requirements are Node.js 18 or newer and DSH Desktop 0.2.x. From the repository directory, run the deploy script, which syncs the plugin into each profile's node_modules and backs up first, then restart DSH because ESM modules are cached:
npm run deploy
Alternatively, add the repository URL through DSH's Plugins → Add plugin. After restarting, typing just 小雨 should return the plugin's self-check message, confirming the plugin is loaded and breach mode is on. npm run status compares the installed copy against the source; npm run restore rolls back to the latest backup.
The benchmark CLI runs independently of DSH:
node bench.mjs --url <gateway> --key <key> --model gpt-4o --set tech --escalate
Probe templates live in pojia-templates/, which is gitignored and must be supplied separately via POJIA_TEMPLATES or a local directory.
Constraints
Host patches match source strings from specific DSH versions (0.2.0-rc.2 through 0.2.2-rc.5); after a host upgrade they fail silently, though T2 and T1 still work. T3 opens the sandbox, auto-approves actions and disables the repeat-call guard, so the model can actually write files and may loop — the README frames this as behavioural risk. T2 and T1 consume context, and the README reports slower or less accurate normal answers in long sessions at those tiers. Forced scrub mode also voids legitimate apologies. Model scores are probe-specific observations, not security ratings. Use is restricted to systems you are authorized to test; the plugin shows a mandatory consent notice on first load.
HotRepo's take
There is one recorded appearance on the new-project list for JavaScript on 2026-11-27, gaining 5 stars in the tracked hour up to 106 stars and 21 forks; no all-language daily rank is recorded. The project is unusually specific for this niche: it separates the undocumented host-code patch approach from prompt-only attempts, and the changelog documents real wiring failures such as patches landing on a shadow asar copy and a message-wrapper stack that wiped the tool registry. That detail is what distinguishes it from an unmaintained prompt collection, but the evidence base is still a small, single-day record, so it does not establish broader adoption.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- CallMeGuLab/dsh-purge-safeRed-team plugin that patches a local DeepSeek Harness install with a prompt-injection layer, toggleable per profile.
- JeffKeeping/dsh-purge-plusA patcher for DeepSeek Harness that injects a custom red-team prompt kernel and ruleset into every session.
- YuJunZhiXue/dsh-purgeA local red-team plugin that patches DeepSeek Harness defaults and injects alternate prompts for authorized testing.
- HunYiSage/dsh-purgePatches a locally installed DeepSeek Harness to replace host prompts and policy defaults for authorized red-team evaluation.
- kingcharleslzy-ai/dsh-purgeA community fork of a DeepSeek Harness plugin that tunes how the coding agent responds, with self-checks and local backup rollback.