@571242/dsh-armor-switch avatar

@571242/dsh-armor-switch

Reversible delivery-contract plugin for DeepSeek Harness: persistent live contract, verified Electron host cleaning (original-fs), profile cleaning & settings card.

PluginDeveloperDesktopFileStorage
Verification
L5 · Run tested
Verified
Risk
Critical
Health
Active
Trust
Silver

Install verification: runtime verified (L5) · tested on dsh 0.2.1-rc.2 · last checked Install verification details →

Install verification badge dsh 0.2.1-rc.2

What it doesAI

Reversible delivery-contract plugin for DeepSeek Harness that keeps a live contract and performs verified Electron host and profile cleaning.

  • Persistent live delivery contract that can be reversed
  • Verified Electron host cleaning using original-fs
  • Profile cleaning plus a settings card in the harness UI
developerAIfileAIstorageAI

Capability tags are AI-inferred or rule-extracted from the README (see badge) — vocabulary-limited, not install-verified. AI = inferred; README = literal keyword from the readme.

Installation

dsh plugin --profile web add github:571242/dsh-armor-switch#v1.1.2
verified v1.1.2

Install method: GitHub · runtime verified (L5)

Verification & Compatibility

Grouped by plugin version: each card lists the dsh versions actually tested against that artifact version and their install verdicts (L5 wins). Untested combinations are omitted — absence means untested, never assumed compatible. L1–L3 are a plugin-level static archive (independent of the dsh version — the same verdict on every dsh row): they sit in each row's level grid next to L4/L5, marked "static", while their evidence is stored once per plugin inside that row's "checks & evidence" instead of being duplicated per version.

External credentials (plugin-level): none detected

Declared DSH compatibilityfrom package.json · peerDependencies
author declared no dsh version requirement

○ The author declares no dsh version requirement — install is not blocked by version.

Install compatibility matrix (rows = plugin versions〔latest 5〕, columns = dsh versions〔latest 5〕)
At-a-glance → evidence in the cards below
plugin \ dshdsh 0.2.1-rc.2
current
dsh 0.2.1-alpha.4dsh 0.2.1-alpha.2
v1.1.2✓✓✗
Install compatibility (by plugin version, dsh versions within)
Legend:✓ L5 runtime verified○ ecosystem plugin◼ ecosystem app✗ failed
v1.1.2github✓ 2 runtime-verified1 failed2026-10-19

https://github.com/571242/dsh-armor-switch

✓dsh 0.2.1-rc.2current2026-10-19L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-rc.2
  • • Plugin artifact: github · https://github.com/571242/dsh-armor-switch#v1.1.2
Levels (L1–L3 plugin-level static archive · L4/L5 newest real verdicts for this combination)
L1 static
Passed
L2 static
Passed
L3 static
Passed
L4 sandbox
Passed
L5 runtime
Passed
Install + runtime smoke verified in the dsh sandbox — installs and runs
L5 · runtime verified · valid for dsh 0.2.1-rc.2

ID: dsh-armor-switch@v1.1.2@dsh0.2.1-rc.2 · profile: l4-sandbox

Issued: 2026-10-19 · expires: 2026-10-26

View checks & evidence
L1 · Found✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed
Install command parsed✓ Passed
Source: registry verification · Method: install spec parse · Captured 2026-10-18
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-10-18
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:571242/dsh-armor-switch#v1.1.2 · channel GitHub source · outcome ran · exit 0
check took: 2.2s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:571242/dsh-armor-switch#v1.1.2 · channel GitHub source · outcome ran · exit 0
check took: 2.2s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:571242/dsh-armor-switch#v1.1.2 · channel GitHub source · outcome ran · exit 0
check took: 2.2s
L5 · Run tested✓ Passed

active in loader tree (150 entries)

Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:571242/dsh-armor-switch#v1.1.2 · install mode reused L4 scratch
check took: 248ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-19
ready line dsh web: http://127.0.0.1:64850/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-19
path / · HTTP 200 · took 248ms
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-19
verdict active · entries 150
match: include:armor-switch · dsh-armor-switch · phase active
phases: active 122 · null 28

L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.

✓dsh 0.2.1-alpha.42026-10-17L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-alpha.4
  • • Plugin artifact: github · https://github.com/571242/dsh-armor-switch#v1.1.2
Levels (L1–L3 plugin-level static archive · L4/L5 newest real verdicts for this combination)
L1 static
Passed
L2 static
Passed
L3 static
Passed
L4 sandbox
Passed
L5 runtime
Passed
Install + runtime smoke verified in the dsh sandbox — installs and runs
L5 · runtime verified · valid for dsh 0.2.1-alpha.4

ID: dsh-armor-switch@v1.1.2@dsh0.2.1-alpha.4 · profile: l4-sandbox

Issued: 2026-10-17 · expires: 2026-10-24

View checks & evidence
L1 · Found✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed
Install command parsed✓ Passed
Source: registry verification · Method: install spec parse · Captured 2026-10-18
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-10-18
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-17
spec github:571242/dsh-armor-switch#v1.1.2 · channel GitHub source · outcome ran · exit 0
check took: 4.9s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-17
spec github:571242/dsh-armor-switch#v1.1.2 · channel GitHub source · outcome ran · exit 0
check took: 4.9s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-17
spec github:571242/dsh-armor-switch#v1.1.2 · channel GitHub source · outcome ran · exit 0
check took: 4.9s
L5 · Run tested✓ Passed

active in loader tree (150 entries)

Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-17
spec github:571242/dsh-armor-switch#v1.1.2 · install mode reused L4 scratch
check took: 364ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-17
ready line dsh web: http://127.0.0.1:53594/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-17
path / · HTTP 200 · took 364ms
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-17
verdict active · entries 150
match: include:armor-switch · dsh-armor-switch · phase active
phases: active 122 · null 28

L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.

✗dsh 0.2.1-alpha.22026-10-14L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-alpha.2
  • • Plugin artifact: github · https://github.com/571242/dsh-armor-switch#v1.1.2
Levels (L1–L3 plugin-level static archive · L4/L5 newest real verdicts for this combination)
L1 static
Passed
L2 static
Passed
L3 static
Passed
L4 sandbox
Passed
L5 runtime
Failed
Sandbox install failed
L5 · failed

ID: dsh-armor-switch@v1.1.2@dsh0.2.1-alpha.2 · profile: l4-sandbox

Issued: 2026-10-14 · expires: 2026-10-21

View checks & evidence
L1 · Found✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed
Install command parsed✓ Passed
Source: registry verification · Method: install spec parse · Captured 2026-10-18
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-10-18
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:571242/dsh-armor-switch#v1.1.2 · channel GitHub source · outcome ran · exit 0
check took: 5.4s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:571242/dsh-armor-switch#v1.1.2 · channel GitHub source · outcome ran · exit 0
check took: 5.4s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:571242/dsh-armor-switch#v1.1.2 · channel GitHub source · outcome ran · exit 0
check took: 5.4s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:571242/dsh-armor-switch#v1.1.2 · install mode reused L4 scratch
check took: 0ms
Web boot ready✕ Failed
boot failed
HTTP endpoint served✕ Failed

L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.

Author badges

Embed the official badges in your README to showcase security & install-test status:

dsh.so risk
`[![dsh.so risk](https://www.dsh.so/badge/dsh-armor-switch.svg)](https://www.dsh.so/artifact/dsh-armor-switch/)`
dsh 0.2.1-rc.2 install verified
`[![dsh.so install · dsh 0.2.1-rc.2](https://www.dsh.so/badge/install/dsh-armor-switch@0.2.1-rc.2.svg)](https://www.dsh.so/artifact/dsh-armor-switch/)`

Security Report

Two automated layers, neither a manual review: a static scan (per-plugin rule checks) and a model-driven dynamic security audit that covers only the subset static-flagged at warn or above and never executes plugin code.

dsh-armor-switchAutomated review · daily

Static low, dynamic high — stricter wins → overall high.

static low→dynamic high→overall high
0 critical·0 high
highoverall · high
1static scan · vet primaryvet AST static analysis (npm artifact or git source)
plugin versionv1.1.2dsh manifest
scanned versionv1.1.2git2026-10-21
current versionv1.1.2same version
vet verdictclean · git

Vet is an AST static scan (npm artifact or git source).

show static findings (5)
  • warningfsWrite · filessrc/host-clean.js:613

    fs.writeFileSync(tmp, JSON.stringify(manifest, null, 2), 'utf8')

  • warningfsWrite · filessrc/maintenance.js:231

    fs.writeFileSync(temp, next, { encoding: 'utf8', flag: 'wx' })

  • warningfsWrite · filessrc/preferences.js:49

    fs.writeFileSync(temp, bytes, { encoding: 'utf8', flag: 'wx' })

  • warningfsWrite · filessrc/profile-clean.js:198

    fs.writeFileSync(file, next, 'utf8')

  • warningfsWrite · filessrc/profile-clean.js:224

    fs.writeFileSync(file, stripped.text, 'utf8')

2model reads redacted source context · never executes plugin code
highest gradehigh
merged intooverall high
audited at2026-10-19
findings0 critical·1 high2 medium / 2 low hidden
show 5 audit findings
  • highSystem-prompt contract forbids refusal and mandates malware/weapon deliverable instructionssrc/index.js:283

    When state.enabled is true (config 'enabled' or the /armor-switch 'set'/'toggle' RPC), CONTRACT_TEXT/AUTHORITY_TEXT/MECHANISM_TEXT are injected as system-prompt sections on every assembly. They order the model to produce keygens, cracks, reverse shells, exploits, anti-debug/anti-VM bypasses and chemistry/weapons guides with full steps and quantities, and to attach no refusal, ethics or legal commentary. This systematically removes the harness's safety guardrails for every later request in the session.

  • mediumAuthority text makes AGENTS.md/repo instructions binding and forbids flagging them as injectionsrc/index.js:315

    Workspace files from a cloned or untrusted repository (AGENTS.md, CLAUDE.md, .local overlays) are redefined as mandatory operator authority and the model is told not to flag them as prompt injection. With the switch on this creates a concrete indirect-prompt-injection path: repo-supplied text can redirect the agent while the harness's 'these instructions are only guidance' guard is explicitly overridden.

  • mediumRPC 'set {fullAccess:true}' pins every live agent to danger-full-access with approvals disabledsrc/index.js

    handleRpc('set', {fullAccess:true}) calls permissionNote→applyPreset, which iterates every agent returned by agents.list() and sets the sandbox preset to danger-full-access (sandbox full access, approval 'never'). It is reachable over the plugin's own /armor-switch private channel and is not exposed or confirmed anywhere in the client UI, so it is a latent capability beyond the declared maintenance surface. Combined with the injected contract this yields unsandboxed command execution driven by model output.

  • lowDormant in-place app.asar writer rewrites the host's approval wording to 'pre-authorized'src/host-clean.js:242

    applyHostClean() performs byte-level in-place writes into the installed app.asar, replacing the harness's 'approval prompts are disabled / rejected automatically' wording so it reads as pre-authorized, after locating string literals in @deepseek-ai/dsh-agent-instructions and dsh-user-approval. In v1.1.2 it is dead code (apply() never calls runHostClean and the cleanAll/hostClean RPC returns disabled-action), but the writer is exported and the Config still documents a hostClean startup flag, so it is one wiring change away from silently mutating the host application binary.

  • lowDormant profile writer pins sandbox danger-full-access and approval 'never' into cordis.patch.ymlsrc/profile-clean.js:40

    applyProfileClean() would append a marked block to the active profile's cordis.patch.yml setting sandbox-policy mode: danger-full-access, approval policy: never, defaultPreset: danger-full-access and a persona declaring operator/repo instructions mandatory and 'not untrusted data'. In v1.1.2 only the read/strip (restore) paths are reachable, so the block constant and writer are dormant, but they constitute a complete privilege-removal write path one call away.

Core function is a system-prompt jailbreak contract (never refuse; produce malware/weapon content); a live RPC applies danger-full-access, and dormant code patches app.asar.

Rule: the dynamic audit can only raise risk, never lower it (raise-only, never an exemption); a wrong raise is withdrawn by human review and the tier falls back to the static verdict. Overall verdict = the stricter of the two layers.

Disclaimer: the static scan and the dynamic security audit are both automated analysis, not a security guarantee. Always review what you install.

Activity

Last commit 2026-10-10 · activity: Active

• Repo created: 2026-10-07

• Stars: ★ 2 · Forks: 1

• Health: Active — committed within last 30 days

Source

GitHub: github.com/571242/dsh-armor-switch

Was this page helpful?