Sunday, November 22, 2026

dsh-jailbreak-workflow for visual LLM red-team research pipelines

dsh-jailbreak-workflow for visual LLM red-team research pipelines

dsh-jailbreak-workflow is a TypeScript canvas plugin for DeepSeek Harness that compiles visual multi-step graphs into a plan prompt, built for authorized LLM safety evaluation and red-team research.

ToolMinglink/dsh-jailbreak-workflow — visual soft-workflow plugin for DeepSeek Harness that turns canvas graphs into plan prompts for model execution
CategoryLLM security evaluation / visual workflow orchestration plugin
Primary UseDesigning multi-step LLM boundary-research and evaluation pipelines on a react-flow canvas, compiling them into a single plan prompt executed by the session model
Safe UseAuthorized AI red-teaming, defensive model-governance research, and lab evaluation of models you own or are contracted to assess; the plugin is positioned alongside academic LLM safety benchmarks, not against third-party systems
Telemetry NoteAll artifacts land on disk under .workflow-lite/runs/<instance>/out and ~/.dsh/workflow-lite/assets/; the plugin itself makes no model calls and calls no external services, so API usage logs on the target provider are the primary observability signal for defenders

The repository Minglink/dsh-jailbreak-workflow sits at roughly 1,200 stars and describes itself as a soft-workflow plugin for DeepSeek Harness (DSH), written in TypeScript. The core architectural idea is deliberately unusual: there is no execution engine inside the plugin at all. You draw a directed graph of steps on a canvas, attach prompts, conditions, loops and resources to nodes and edges, and the plugin compiles the whole graph into a single plan prompt that the currently configured session model then executes however it sees fit — directly, via sub-agents, or by dispatching work. That compile-then-delegate design is the most interesting thing here from a security-engineering perspective, because it means the plugin is closer to a plan compiler than to an orchestration framework.

The README frames the tool's lifecycle as three phases: design on the canvas, compile to a plan prompt, and execution by the model. Conditional edges are fully general — sequence, parallelism, joins, branching, loops and fallback edges are all supported, and the plugin ships a pass / fail_prompt / fail_surface triple-routing convention in its bundled research workflows so that failing steps can self-heal by routing back through corrective loops. For operators used to Airflow-style DAG engines, the mental shift is that control flow is advisory text read by the model rather than enforced code, which makes reproducibility a property of the prompt compiler rather than of a scheduler.

What makes this repository relevant to the security community is its companion repo, Minglink/dsh-workflows, which hosts ready-made .wflite.zip workflow packs. The flagship pack is described as a ten-step, 27-node, 69-edge pipeline built from 90-plus arXiv papers on LLM vulnerability and boundary research, including stages the README names as guardrail and topology reconnaissance, twin sharpness baselining, multi-armed adaptive callbacks, reasoning-chain and CoT surface mapping, best-of-N stress rounds, and dual-judge calibrated evaluation with ablation before final reporting. The methodology vocabulary is drawn from published academic evaluation literature — WildTeaming-style mine-and-compose mechanisms, comparative judgment ensembles — which signals the project's positioning as reproducible research tooling rather than ad-hoc prompting.

That positioning is explicit in the README's own competitive framing: the authors compare themselves to NVIDIA/garak, microsoft/pyrit, promptfoo, JailbreakBench, HarmBench and EasyJailbreak, describing those CLI/SDK frameworks as code-first engines while positioning this project as the upper visualization and methodology layer. Notably, nodes in a canvas can invoke those external frameworks directly, so the plugin can act as a human-reviewable front end on top of a scripted evaluation stack. For defenders and model-governance teams, that layering is actually useful: a visual, versioned, exportable representation of an evaluation methodology is far easier to audit, review and hand to a second researcher than a pile of bash scripts.

Installation is conventional for the DSH ecosystem and non-weaponized in itself. The web variant requires Node.js 22 or newer and is added with dsh plugin --profile web add @minglink/dsh-jailbreak-workflow followed by dsh web; the desktop variant installs the same package name through the plugin panel and a restart. Compatibility is pinned to DeepSeek Harness 0.2.0 and 0.2.1, including rc and beta builds, with a documented quirk worth knowing operationally: if the host version does not match, the harness silently skips the plugin without an error, and the absence of the expected workflow tab is the diagnostic symptom. Versions 0.3 and above are not yet supported at the time of writing.

The plugin's feature table reveals the bulk of its engineering effort went into operator ergonomics rather than execution machinery. Canvas rendering is built on react-flow and the FAQ claims hundreds-of-nodes graphs still pan and drag at full frame, opening in about half a second, with incremental recalculation when prompts or statuses change rather than full-graph recompute. Workflows version, diff and roll back through a workflow center; a single version can be exported as a portable .wflite.zip bundling referenced files and skills, or compiled into a standalone skill — a SKILL.md plus per-step task descriptions — that works without the plugin installed, dropping into ~/.agents/skills. Path indirection is handled with {workflow} and {instance} variables so that workflow-owned assets live under ~/.dsh/workflow-lite/assets/<name>/ while per-run outputs land under .workflow-lite/runs/<instance>/out, keeping shared state and run state cleanly separated.

Two experimental features deserve a skeptical read. Workflow memory lets a workflow accumulate lessons learned into a skill folder with a fast-path header for subsequent runs, but the authors are unusually candid that early tests showed no stable speedup and that the mechanism has no locking — concurrent instances writing the same memory entry last-write-wins, and re-exporting over an installed skill clobbers accumulated memory. Canvas display, which renders kanban boards, images, documents, logs and tables live on the canvas during execution, is also flagged as experimental, as is the data format generally; the README carries an explicit warning that breaking changes may arrive in any future version, which matters if you build institutional processes on top of it.

From a defensive-research workflow standpoint, the artifact trail is what makes the tool auditable. A completed run of the research workflow produces a well-defined set of markdown outputs in the instance directory — files named recon_profile.md, probes.md, callback_bounds.md, inference_surface.md, analysis.md, stress_results.md, verify.md, report.md and transfer_back.md. That last file is the hinge of the two-repo loop: feeding its path back into the distillation workflow's optional input-feedback consolidates field results into a transfer-notes document for the next research round. For an authorized assessment team, this is the reporting layer that turns a red-team exercise into a defensible, reviewable deliverable, and it is the part defenders should ask to see as evidence of methodological rigor.

The plugin itself makes no model calls and is model-agnostic: execution uses whatever model the DSH session is configured with, and the target of evaluation is configured at run time through pre-execution questions that collect a target model ID, an API key, an optional API type and base URL, plus scope selections for architecture and attack-surface focus. The README states the API key stays local and is only used by local scripts calling the target interface, with no third-party upload. Scope options include conversation boundaries, reasoning-chain surfaces, agent and MCP tool surfaces, and sampling and decoding configuration surfaces — a taxonomy that mirrors current academic concern areas in LLM safety and is useful as a checklist even for teams that never install this plugin.

The appropriate context for all of this is authorized evaluation of models you own or are contracted to assess, in line with the academic benchmark ecosystem the project explicitly benchmarks itself against. Running structured jailbreak research pipelines against third-party production endpoints without authorization would violate terms of service at minimum and is not what the tool's research lineage is for. Model providers' own evaluation programs, internal red teams and governance functions are the natural audience: the value proposition is making a methodology visual, versioned, shareable and reviewable, which is a net gain for defensive reproducibility even though the subject matter is offensive-style testing. The overall impression is of a genuinely thoughtful project whose compile-don't-execute architecture, honest experimental caveats and artifact discipline are the reasons it is worth an authorized team's attention, provided its experimental-stage data format and the license ambiguity of the repository (NOASSERTION in metadata despite MIT badges) are both factored into adoption decisions.

Official project repository for Minglink/dsh-jailbreak-workflow.
Download Tool

Educational analysis for authorized security professionals. Use only in controlled, authorized environments.

Sponsored
Share articleFacebookXLinkedIn

Continue exploring

Browse all articles →

0 comentários:

Post a Comment

Note: Only a member of this blog may post a comment.