Preface¶
When building security research Agents in DeepSeek Harness (DSH), a common approach is to pile on a layer of CLI wrapped in natural language: tool descriptions fill up the context, outputs are “summarized” by the model into conclusions, logs are scattered in temporary directories, and permission boundaries are often merely written into system prompts. What is needed more in authorized scenarios is: boundaries enforced at the execution layer, conclusions traceable to evidence, modes that can be installed and uninstalled, all without modifying the Harness core.
Below is the introduction to the community plugin dsh-armorbreak (ArmorBreak). It hooks into the DSH host process in the form of a Cordis Bundle + Agent preset, targeting authorized reverse engineering and security research. It is maintained by LYL-Z and categorized as admin-security in the SkillHub directory, licensed under MIT. The repository’s current package version is 2.0.0, and the README indicates it has been validated against the same generation as DeepSeek Harness 0.2.1-rc.2 (see docs/compatibility-matrix.md in the repository for details).
What is this¶
In one sentence: A native “Authorized Reverse Engineering & Security Research” Agent mode for DeepSeek Harness—featuring 46 genuinely executable offline analysis capabilities, an L0–L3 code-level permission engine, per-task evidence hash chains, and reviewable reports; with 0 runtime dependencies (using only Node built-in modules, no build step required).
The plugin does not modify the Harness core: it incrementally inserts presets and tools via bundle patches, and existing modes should be fully preserved after uninstallation. The design slogan written in the README is: Evidence or it didn’t happen—security conclusions must be traceable back to evidence.
- Directory Page: https://www.skillhub.cn/plugins/LYL-Z/dsh-armorbreak
- Source Code & Docs: https://github.com/LYL-Z/dsh-armorbreak
SkillHub is a community plugin directory site and has no official affiliation with DeepSeek or Quantum Factory (High-Flyer); please review the source code and license yourself before installation.
Core Features¶
Capabilities and Tool Surface¶
The quantifiable metrics provided in the README (subject to the repository tests and registry) include:
| Item | Description |
|---|---|
| Offline capabilities | 46, divided into 8 domains, registered via contract validation |
| Model-visible tools | 10 (such as armorbreak_*, not exposing all 46 capabilities individually) |
| Built-in skills | 7 |
| Workflow templates | 9 |
| Automated tests | 190 passing (node --test); line coverage approximately 85.82% |
Typical capability domains cover offline scenarios such as local sample static analysis, APK auditing, PCAP forensics, source code/SBOM auditing, and CTF/ranges. External tools like Ghidra and JADX are optional enhancements; if missing, the README explains this as “probing + installation instructions,” which does not block L0 pure-JS capabilities.
Permission and Execution¶
The L0–L3 four-level policy is enforced by code (ScopePolicy, ExecutionRunner), not just relied upon via prompts:
- Fail-closed: No network without authorization; no dynamic execution without approval; L3 permanently denied (unauthorized scanning/attacks, credential theft, and other scenarios explicitly listed in the README).
- Unified execution entry: Bounded I/O, timeouts, auditing; directory reads converge via
realpath, external processes useexecFile(argv)without shell concatenation.
Evidence and Reporting¶
Task outputs land in the workspace .armorbreak/ (task status, JSONL evidence hash chains, audit chains). Verification levels distinguish between observed / corroborated / hypothesis / unverified; scan alerts do not automatically escalate to “confirmed vulnerabilities.”
Reports can be exported via armorbreak_report in formats including markdown / html / json / sarif / pdf (PDF depends on local LibreOffice; if not installed, the README suggests using html/markdown instead).
Interface and Observability¶
In Web combinations, the read-only route GET /armorbreak/state is registered to display a mode status card in the session Composer; the absence of this card in headless/TUI is expected behavior.
Installation and Activation¶
Environment requirements (Quick Start):
- DeepSeek Harness Desktop 0.2.1-rc.2 or CLI profile of the same version; Node ≥22 (
package.jsonengines; Harness ships with Node 24). - Local file system must be writable; task data is written to the workspace
.armorbreak/.
The official README “Multi-form Installation” methods are as follows (choose one):
1. DSH Panel (Recommended)
Settings → Plugins → Add Plugin → Select local directory, or fill in:
github:LYL-Z/dsh-armorbreak
Upon successful installation, you should see applied; afterwards, fully restart the Harness to load the new module generation.
2. In-session plugin_manager
plugin_manager action=install_bundle target=<local bundle path or link target>
Subject to the returned application result. Repeated installation of the same version may report already-installed; you need to remove_bundle first before installing a new version.
3. CLI (Non-desktop profile)
dsh plugin --profile add github:LYL-Z/dsh-armorbreak
Applicable to development/testing profiles.
Activation: Create a new session → Select Mode → ArmorBreak Mode; the status card should appear next to the input box in the Web desktop. If “ArmorBreak Mode” is not in the mode list, run plugin_manager list_bundles to confirm the bundle is applied and restart.
Typical Usage¶
The README Quick Start provides a reproducible “First Analysis” prompt shape (replace paths with your local authorized samples):
Call armorbreak_health to check the environment;
then create a task and use the BinaryStaticAnalysis workflow to analyze D:\samples\hello.exe;
finally generate a markdown report and report: task id, status, evidence count, findings count, report path.
Expected output form example:
Task task_xxx → COMPLETED; Evidence ≥7; Findings ≥0;
Report: D:\work\.armorbreak\tasks\task_xxx\reports\binarystaticanalysis_<ts>.md
Main tools on the model side (excerpt, see README §11.1 for full parameters):
| Tool | Purpose |
|---|---|
armorbreak_health |
Environment, isolation, policy, external tool probing |
armorbreak_scope |
Authorization records (list/authorize/revoke) |
armorbreak_task |
Task creation, listing, closure, etc. |
armorbreak_workflow |
Multi-step templates (e.g., BinaryStaticAnalysis) |
armorbreak_analyze |
Single capability execution (L0 automatic, L1–L2 requires approval) |
armorbreak_evidence |
Evidence listing, verification, hash chain |
armorbreak_report |
Export report by task |
Policy and approval status can be saved to $DSH_HOME/armorbreak/policy.json (README §10.3); Runner default limits such as input 32 MiB, single file 4 MiB, result 256 KiB, and timeout 60s can be found in lib/core/runtime.js.
Applicable Scenarios and Notes¶
Who it is for: Software security researchers, reverse engineering and CTF learners, code auditors/security developers, and DFIR analysts performing local offline analysis, forensics, and controlled testing within the scope of authorization.
Explicitly not applicable (README L3): Scanning or attacking unauthorized targets, credential theft, covert persistence, malicious delivery, destructive operations, etc.
Execution Permissions: The plugin runs in the same host process as DSH with the same OS user privileges; the desktop profile may configure lenient platform permissions, but ArmorBreak’s L0–L3 gates still take effect independently. Before installation, read SECURITY.md and the source code; only enable L1/L2 (including optional Docker isolation, platform approval) in trusted environments and under legal authorization.
Data and Operations: Do not commit .armorbreak/ into business repositories; bulk tasks require manual cleanup of old task directories. The upgrade process is remove_bundle → install_bundle (or replace source code and restart); the README claims workspace JSON/JSONL formats are backward compatible.
Conclusion¶
dsh-armorbreak turns “authorization boundaries + real execution + evidence chains + reviewable reports” into a detachable ArmorBreak Mode Agent preset within DSH. It serves as a reference implementation of “Professional Capability + Policy + Evidence” in the Cordis ecosystem, rather than just another layer of generic security chat wrapping.
- SkillHub Directory: https://www.skillhub.cn/plugins/LYL-Z/dsh-armorbreak
- GitHub Repository: https://github.com/LYL-Z/dsh-armorbreak
For more detailed architecture, acceptance reports, and troubleshooting, refer to the repository docs/ and the README table of contents index.