dsh-desktop-packager avatar

dsh-desktop-packager

Package a built DeepSeek Harness checkout into a distributable macOS desktop app (.app + .dmg) with a standalone Node runtime and an Electron shell, customized through a Web Settings section (logo/VI theme, bundled plugins, bundled models, users & permissions).

PluginDeveloperDesktopTerminalUI & SkinsFileWeb searchTerminal / Shell
Verification
L4 · Install tested
stale
Risk
Out of scope
Health
Stable
Trust
Silver

Install verification: sandbox install ok, web smoke failed (L5) · tested on dsh 0.1.7-rc.2 · last checked Install verification details →

What it doesAI

Packages a built DeepSeek Harness into a distributable macOS .app/.dmg with Electron shell and customization.

  • Creates .app and .dmg with standalone Node runtime.
  • Uses Electron shell for the desktop app.
  • Customizable via Web Settings: themes, plugins, models, users.
developerAIfileAI

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 dsh-desktop-packager
verified 0.4.1

Install method: npm · sandbox install ok, web smoke failed (L5) · verified on dsh 0.1.7-rc.2

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.1.7-rc.2dsh 0.1.7-rc.1dsh 0.1.7-alpha.2dsh 0.1.6-alpha.2dsh 0.1.6-alpha.1
0.4.1✗✗✗✗✗
0.4.0·····
Install compatibility (by plugin version, dsh versions within)
Legend:✓ L5 runtime verified○ ecosystem plugin◼ ecosystem app✗ failed
0.4.1npm8 failed2026-09-26

dsh-desktop-packager

✗dsh 0.1.7-rc.22026-09-26L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.7-rc.2
  • • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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-desktop-packager@0.4.1@dsh0.1.7-rc.2 · profile: l4-sandbox

Issued: 2026-09-26 · expires: 2026-10-03

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-09-25
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-09-25
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-26
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 4.4s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-26
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 4.4s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-26
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 4.4s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-26
spec dsh-desktop-packager · install mode reused L4 scratch
check took: 0ms
Web boot ready✕ Failed
plugin tree failed to load
HTTP endpoint served✕ Failed

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

✗dsh 0.1.7-rc.12026-09-24L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.7-rc.1
  • • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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-desktop-packager@0.4.1@dsh0.1.7-rc.1 · profile: l4-sandbox

Issued: 2026-09-24 · expires: 2026-10-01

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-09-25
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-09-25
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-24
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.3s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-24
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.3s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-24
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.3s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-24
spec dsh-desktop-packager · install mode reused L4 scratch
check took: 0ms
Web boot ready✕ Failed
plugin tree failed to load
HTTP endpoint served✕ Failed

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

✗dsh 0.1.7-alpha.22026-09-23L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.7-alpha.2
  • • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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-desktop-packager@0.4.1@dsh0.1.7-alpha.2 · profile: l4-sandbox

Issued: 2026-09-23 · expires: 2026-09-30

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-09-25
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-09-25
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-23
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.6s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-23
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.6s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-23
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.6s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-23
spec dsh-desktop-packager · install mode reused L4 scratch
check took: 0ms
Web boot ready✕ Failed
plugin tree failed to load
HTTP endpoint served✕ Failed

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

✗dsh 0.1.6-alpha.22026-09-20L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.6-alpha.2
  • • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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-desktop-packager@0.4.1@dsh0.1.6-alpha.2 · profile: l3-fullscan

Issued: 2026-09-20 · expires: 2026-09-27

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-09-25
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-09-25
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-19
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 5.7s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-19
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 5.7s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-19
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 5.7s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-19
spec dsh-desktop-packager · install mode reused L4 scratch
check took: 0ms
Web boot ready✕ Failed
plugin tree failed to load
HTTP endpoint served✕ Failed

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

✗dsh 0.1.6-alpha.12026-09-17L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.6-alpha.1
  • • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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-desktop-packager@0.4.1@dsh0.1.6-alpha.1 · profile: l4-sandbox

Issued: 2026-09-17 · expires: 2026-09-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-09-25
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-09-25
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-17
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 7.8s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-17
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 7.8s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-17
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 7.8s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-17
spec dsh-desktop-packager · install mode reused L4 scratch
check took: 0ms
Web boot ready✕ Failed
plugin tree failed to load
HTTP endpoint served✕ Failed

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

✗dsh 0.1.5-rc.22026-09-13L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.5-rc.2
  • • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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-desktop-packager@0.4.1@dsh0.1.5-rc.2 · profile: l4-sandbox

Issued: 2026-09-13 · expires: 2026-09-20

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-09-25
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-09-25
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-13
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.9s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-13
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.9s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-13
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.9s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-13
spec dsh-desktop-packager · install mode reused L4 scratch
check took: 0ms
Web boot ready✕ Failed
plugin tree failed to load
HTTP endpoint served✕ Failed

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

✗dsh 0.1.3-alpha.22026-09-09L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.3-alpha.2
  • • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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-desktop-packager@0.4.1@dsh0.1.3-alpha.2 · profile: l4-sandbox

Issued: 2026-09-09 · expires: 2026-09-16

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-09-25
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-09-25
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-09
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.3s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-09
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.3s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-09
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.3s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-09
spec dsh-desktop-packager · install mode reused L4 scratch
check took: 0ms
Web boot ready✕ Failed
plugin tree failed to load
HTTP endpoint served✕ Failed

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

✗dsh 0.1.3-alpha.12026-09-06L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.3-alpha.1
  • • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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-desktop-packager@0.4.1@dsh0.1.3-alpha.1 · profile: l4-sandbox

Issued: 2026-09-06 · expires: 2026-09-13

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-09-25
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-09-25
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-06
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.0s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-06
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.0s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-06
spec dsh-desktop-packager · channel npm package · outcome ran · exit 0
check took: 3.0s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-06
spec dsh-desktop-packager · install mode reused L4 scratch
check took: 0ms
Web boot ready✕ Failed
plugin tree failed to load
HTTP endpoint served✕ Failed

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

0.4.0npm1 failed2026-09-04

dsh-desktop-packager

✗dsh 0.1.2-rc.12026-09-04L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.2-rc.1
  • • Plugin artifact: npm · dsh-desktop-packager@0.4.0
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-desktop-packager@0.4.0@dsh0.1.2-rc.1 · profile: l5-web-smoke

Issued: 2026-09-04 · expires: 2026-12-03

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-09-25
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-09-25
L4 · Install tested✓ Passed
Install succeeded✓ Passed
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-04
spec dsh-desktop-packager · install mode reused L4 scratch
check took: 0ms
Web boot ready✕ Failed
plugin tree failed to load
HTTP endpoint served✕ Failed

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

Only the latest 3 published versions are shown; source-snapshot (commit hash) groups, unstated groups and older versions are omitted — the full archive stays in the data layer (snapshot/unstated groups appear only when a plugin has no published version).

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-desktop-packager.svg)](https://www.dsh.so/artifact/dsh-desktop-packager/)`

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-desktop-packagerAutomated review · daily

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

static low→dynamic medium→overall medium
0 critical·0 high
mediumoverall · medium
1static scan · vet primaryvet AST static analysis (npm artifact or git source)
plugin versionv0.4.1dsh manifest
scanned version0.4.1npm2026-09-26
current versionv0.4.1version moved on
vet verdictclean · npm

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

show static findings (8)
  • warningchildProcess · code-execpackaging/electron/main.js:128

    const child = spawn(cmd, args, { stdio: ['ignore', 'pipe', 'pipe'] })

  • warningchildProcess · code-execpackaging/electron/main.js:208

    const child = spawn(

  • warningnetIp · networkpackaging/electron/main.js:197

    appendLog(`[dsh] starting http://127.0.0.1:${port} (DSH_HOME=${dshHome()})\n`)

  • warningnetIp · networkpackaging/electron/main.js:223

    const ok = await waitForHttp(`http://127.0.0.1:${port}/`, STARTUP_TIMEOUT_MS)

  • warningnetIp · networkpackaging/electron/main.js:411

    if (!url.startsWith('http://127.0.0.1:') && !url.startsWith('http://localhost')) {

  • warningfsWrite · filespackaging/electron/main.js:85

    fs.appendFileSync(logFile(), line)

  • warningfsWrite · filespackaging/electron/main.js:171

    fs.writeFileSync(

  • warningchildProcess · code-execsrc/packager.ts:139

    const child = spawn(process.execPath, [script, ...args], {

2model reads redacted source context · never executes plugin code
highest grademedium
merged intooverall medium
audited at2026-10-17
findings0 critical·0 high2 medium / 3 low hidden
show 5 audit findings
  • mediumArbitrary file read via unvalidated logoPath served by /api/desktop-config/logosrc/desktop-config.ts:302

    logoPath comes straight from the user-editable config and is settable through the unauthenticated route (`case 'setDesign': this.setDesign((payload && payload.design) || {})`). No allow-list, no directory confinement and no permission check: an attacker who can reach the web server sets logoPath to any readable file (e.g. ~/.ssh/id_rsa, ~/.dsh credentials) and then GETs /api/desktop-config/logo to receive its bytes base64-encoded. The extension check only picks a mime label, so it does not constrain the read.

  • mediumUnauthenticated HTTP routes mutate settings, desktop-app users and trigger packagingsrc/desktop-config.ts:345

    The route switch accepts state-changing actions from any client that can reach the DSH web server, with no authentication and no use of the plugin's PERMISSION_KEYS model (only the catch-all 500 guard is applied). An attacker can create an account with arbitrary permissions or delete accounts in the packaged app's login gate, rewrite the bundled plugin/model selection, and POST /api/desktop-config/package with an arbitrary dshCheckoutDir/out to start a build.

  • lowUnescaped app name interpolated into the credential-collecting login pagepackaging/electron/main.js:290

    appName comes from desktop.json (itself writable through the unauthenticated route above) and is interpolated raw into the data: URL login page, which has no CSP and holds the desktopAuth preload bridge. A value such as `</h1><script>…</script>` executes script in the window that collects the desktop-app username/password, allowing credential exfiltration or login bypass.

  • lowTheme colors injected into the app window CSS without validationpackaging/electron/main.js:363

    themeColor/backgroundColor are arbitrary strings accepted by the config route; a value containing `}` closes the :root block and lets the attacker append arbitrary CSS rules to the DSH page rendered inside the packaged app (UI spoofing, forced remote resource loads / tracking). Impact is limited to the shell window.

  • lowNew desktop-app users can be created with an empty passwordsrc/desktop-config.ts:262

    When no password is supplied (the UI explicitly allows it: `password: password || undefined` and the hint "新增时留空则密码为空"), the account is stored as a scrypt hash of the empty string, so the packaged app's login gate accepts an empty password for that user.

Two medium issues: unauthenticated /api/desktop-config routes allow arbitrary file read via logoPath plus user-account/build mutation; Electron template interpolation is low risk.

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-09-04 · activity: Stable

• Repo created: 2026-08-31

• Stars: ★ 1 · Forks: 0

• Health: Stable — committed within 90 days

Source

GitHub: github.com/Olympianz/dsh-desktop-packager

Was this page helpful?