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).
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.
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-packagerInstall 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
○ The author declares no dsh version requirement — install is not blocked by version.
| plugin \ dsh | dsh 0.1.7-rc.2 | dsh 0.1.7-rc.1 | dsh 0.1.7-alpha.2 | dsh 0.1.6-alpha.2 | dsh 0.1.6-alpha.1 |
|---|---|---|---|---|---|
| 0.4.1 | ✗ | ✗ | ✗ | ✗ | ✗ |
| 0.4.0 | · | · | · | · | · |
0.4.1npm8 failed2026-09-26
dsh-desktop-packager
✗dsh 0.1.7-rc.22026-09-26L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.7-rc.2
- • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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–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
- • Node.js: v24.14.0
- • DSH: 0.1.7-rc.1
- • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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–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
- • Node.js: v24.14.0
- • DSH: 0.1.7-alpha.2
- • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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–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
- • Node.js: v24.14.0
- • DSH: 0.1.6-alpha.2
- • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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–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
- • Node.js: v24.14.0
- • DSH: 0.1.6-alpha.1
- • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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–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
- • Node.js: v24.14.0
- • DSH: 0.1.5-rc.2
- • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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–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
- • Node.js: v24.14.0
- • DSH: 0.1.3-alpha.2
- • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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–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
- • Node.js: v24.14.0
- • DSH: 0.1.3-alpha.1
- • Plugin artifact: npm · dsh-desktop-packager@0.4.1
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–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
- • Node.js: v24.14.0
- • DSH: 0.1.2-rc.1
- • Plugin artifact: npm · dsh-desktop-packager@0.4.0
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–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:
`[](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.
Static low, dynamic medium — stricter wins → overall medium.
v0.4.1dsh manifest0.4.1npm2026-09-26v0.4.1version moved onclean · npmVet is an AST static scan (npm artifact or git source).
show static findings (8)
- warningchildProcess · code-exec
packaging/electron/main.js:128const child = spawn(cmd, args, { stdio: ['ignore', 'pipe', 'pipe'] }) - warningchildProcess · code-exec
packaging/electron/main.js:208const child = spawn( - warningnetIp · network
packaging/electron/main.js:197appendLog(`[dsh] starting http://127.0.0.1:${port} (DSH_HOME=${dshHome()})\n`) - warningnetIp · network
packaging/electron/main.js:223const ok = await waitForHttp(`http://127.0.0.1:${port}/`, STARTUP_TIMEOUT_MS) - warningnetIp · network
packaging/electron/main.js:411if (!url.startsWith('http://127.0.0.1:') && !url.startsWith('http://localhost')) { - warningfsWrite · files
packaging/electron/main.js:85fs.appendFileSync(logFile(), line) - warningfsWrite · files
packaging/electron/main.js:171fs.writeFileSync( - warningchildProcess · code-exec
src/packager.ts:139const child = spawn(process.execPath, [script, ...args], {
show 5 audit findings
- mediumArbitrary file read via unvalidated logoPath served by /api/desktop-config/logo
src/desktop-config.ts:302logoPath 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 packaging
src/desktop-config.ts:345The 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 page
packaging/electron/main.js:290appName 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 validation
packaging/electron/main.js:363themeColor/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 password
src/desktop-config.ts:262When 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
Author README
View on GitHub ↗The author's original README from the repository — fetched live, unedited (the English page loads the default README).
