@niubi6668889595/dsh-autoupdater avatar

@niubi6668889595/dsh-autoupdater

Scheduled idle-gated auto-update for DeepSeek Harness: DSH itself + installed plugins. Four schedule modes, bidirectional whitelist, web panel.

PluginAutomationFileWeb search
Verification
L4 · Install tested
Failed
Risk
LowRisk
Health
Active
Trust
Silver

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

What it doesAI

Scheduled idle-gated auto-update for DeepSeek Harness and installed plugins, with four schedule modes, whitelist control, and a web panel.

  • Scheduled idle-gated updates for DSH and installed plugins
  • Four schedule modes with bidirectional whitelist control
  • Web panel for managing update settings
automationAIfileAI

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:niubi6668889595/dsh-autoupdater#v0.6.0
verified v0.6.0

Install method: GitHub · sandbox install ok, web smoke failed (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
v0.6.0✗··
v0.3.7·✗·
v0.3.1···
v0.3.0··✗
Install compatibility (by plugin version, dsh versions within)
Legend:✓ L5 runtime verified○ ecosystem plugin◼ ecosystem app✗ failed
v0.6.0github1 failed2026-10-21

https://github.com/niubi6668889595/dsh-autoupdater

✗dsh 0.2.1-rc.2current2026-10-21L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-rc.2
  • • Plugin artifact: github · https://github.com/niubi6668889595/dsh-autoupdater#v0.6.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-autoupdater@v0.6.0@dsh0.2.1-rc.2 · profile: l3-fullscan

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

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-21
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-10-21
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:niubi6668889595/dsh-autoupdater#v0.6.0 · channel GitHub source · outcome ran · exit 0
check took: 4.6s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:niubi6668889595/dsh-autoupdater#v0.6.0 · channel GitHub source · outcome ran · exit 0
check took: 4.6s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:niubi6668889595/dsh-autoupdater#v0.6.0 · channel GitHub source · outcome ran · exit 0
check took: 4.6s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:niubi6668889595/dsh-autoupdater#v0.6.0 · 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.

v0.3.7github1 failed2026-10-18

https://github.com/niubi6668889595/dsh-autoupdater

✗dsh 0.2.1-alpha.42026-10-18L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-alpha.4
  • • Plugin artifact: github · https://github.com/niubi6668889595/dsh-autoupdater#v0.3.7
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-autoupdater@v0.3.7@dsh0.2.1-alpha.4 · profile: l3-fullscan

Issued: 2026-10-18 · expires: 2026-10-25

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-21
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-10-21
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-17
spec github:niubi6668889595/dsh-autoupdater#v0.3.7 · channel GitHub source · outcome ran · exit 0
check took: 12.7s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-17
spec github:niubi6668889595/dsh-autoupdater#v0.3.7 · channel GitHub source · outcome ran · exit 0
check took: 12.7s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-17
spec github:niubi6668889595/dsh-autoupdater#v0.3.7 · channel GitHub source · outcome ran · exit 0
check took: 12.7s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-17
spec github:niubi6668889595/dsh-autoupdater#v0.3.7 · 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.

v0.3.1github2026-10-15

https://github.com/niubi6668889595/dsh-autoupdater

No runtime install test for this version (static scan only) — compatibility unknown, never assumed.

v0.3.0github1 failed2026-10-14

https://github.com/niubi6668889595/dsh-autoupdater

✗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/niubi6668889595/dsh-autoupdater#v0.3.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-autoupdater@v0.3.0@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-21
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-10-21
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:niubi6668889595/dsh-autoupdater#v0.3.0 · channel GitHub source · outcome ran · exit 0
check took: 2.4s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:niubi6668889595/dsh-autoupdater#v0.3.0 · channel GitHub source · outcome ran · exit 0
check took: 2.4s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:niubi6668889595/dsh-autoupdater#v0.3.0 · channel GitHub source · outcome ran · exit 0
check took: 2.4s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:niubi6668889595/dsh-autoupdater#v0.3.0 · 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.

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

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-autoupdaterAutomated 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.6.0dsh manifest
scanned versionv0.6.0git2026-10-21
current versionv0.6.0same version
vet verdictclean · git

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

show static findings (8)
  • criticalshellExec · shellmain.js:198

    const out = execSync(

  • warningchildProcess · code-execapply-update.mjs:75

    const r = spawnSync(npmBin, ['install', '-g', targetSpec], { encoding: 'utf8', timeout: 900000 });

  • warningchildProcess · code-execapply-update.mjs:117

    const r = spawnSync('grep', ['-rl', '--include=*.js', name, nm], { encoding: 'utf8' });

  • warningchildProcess · code-execapply-update.mjs:155

    const r = spawn('sudo', ['-n', 'systemctl', 'restart', unit], { stdio: 'ignore' });

  • warningnetIp · networkapply-update.mjs:189

    const res = await fetch(`http://127.0.0.1:${port}/`, { signal: AbortSignal.timeout(5000) });

  • warningchildProcess · code-execmain.js:321

    const r = spawn(dshBin, [

  • warningchildProcess · code-execmain.js:396

    const r = spawn('sudo', ['-n', 'systemctl', 'restart', unit], { detached: true, stdio: 'ignore' });

  • warningchildProcess · code-execmain.js:457

    const r = spawn('sudo', args, { detached: true, stdio: 'ignore' });

2model reads redacted source context · never executes plugin code
highest grademedium
merged intooverall medium
audited at2026-10-19
findings0 critical·0 high1 medium / 1 low hidden
show 2 audit findings
  • mediumUnvalidated distTag from web config becomes the 'npm install -g' target spec (arbitrary package/tarball/git URL install)main.js:81

    normalizeConfig only trims distTag/harnessDistTag (no allowlist, no npm-name/dist-tag syntax check). The POST /api/autoupdater/config handler accepts any JSON body and writes it to config.json; that value is staged into pending-update.json and executed by apply-update.mjs as runNpmInstall(`${instruction.pkg}@${instruction.tag}`) -> spawnSync(npmBin, ['install','-g',targetSpec]), which npm resolves as an arbitrary spec (e.g. a remote tarball or git URL), not merely a dist-tag. Whoever can POST to that route (authenticated panel user, or a cross-origin page if the route has no Origin/auth check

  • lowexecSync builds a shell string from DSH_HOME/HOME-derived path; JSON.stringify does not escape $ or backticks inside double quotesmain.js:199

    anyAgentRunning() is reachable from the status/config routes, the idle gate and every scheduled check, and runs the string through a shell. sessionsDir is `${home}/sessions` where home comes from process.env.DSH_HOME || `${process.env.HOME}/.dsh`; JSON.stringify escapes " and \ but leaves $, backticks and command substitution intact inside shell double quotes, so a value such as /home/$(cmd)/.dsh would execute cmd. Exploitation requires influence over the DSH process environment (which already implies control of the service), so impact is limited, but the construct is unnecessary.

An auto-updater that runs npm installs + privileged systemctl restarts; validation gaps in the config-driven npm spec and a shell-string execSync keep it from passing, but no hidden exfiltration or backdoor was found.

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-18 · activity: Active

• Repo created: 2026-10-13

• Stars: ★ 1 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/niubi6668889595/dsh-autoupdater

Was this page helpful?