dsh-kb avatar

dsh-kb

dsh 插件 · 团队知识库:离线知识共享(FDE 盒子),浏览/全文检索/加工入口;写路径收口 agent,基于 Karpathy LLM Wiki 模式

PluginKnowledgeAI ModelsFileStorageWeb search
Verification
L5 · Run tested
Verified
Risk
LowRisk
Health
Active
Trust
Gold

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.2Install verification badge dsh 0.2.0-rc.2Install verification badge dsh 0.2.0-rc.1Install verification badge dsh 0.1.7-rc.2Install verification badge dsh 0.1.7-rc.1Install verification badge dsh 0.1.5-rc.2

What it doesAI

Offline team knowledge base plugin: directory tree browsing, full-text search, markdown reading, raw file upload, and one-click handoff to agents.

  • Full-page knowledge base with lazy-loaded wiki/raw directory tree
  • Zero-dependency full-text search with case-insensitive hit highlighting
  • Read-only plugin with immutable raw uploads and @mention to agent
knowledgeAIfileAIstorageAIsearchREADMEspreadsheetREADMEmarkdownREADME

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 @weibaohui/dsh-kb
verified 0.7.15

Install method: npm · 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.

Footnote: the author also wrote engines.dsh = ">=0.1.7-rc.2" — DSH does not read that field (not part of the verdict).

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.2dsh 0.2.0-rc.2dsh 0.2.0-rc.1
0.7.15✓✓✓✓✓
0.7.14·····
0.7.11·····
0.7.8·····
0.7.7·····
Install compatibility (by plugin version, dsh versions within)
Legend:✓ L5 runtime verified○ ecosystem plugin◼ ecosystem app✗ failed
0.7.15npm✓ 6 runtime-verified2026-10-19

@weibaohui/dsh-kb

✓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: npm · @weibaohui/dsh-kb@0.7.15
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-kb@0.7.15@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 @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 5.5s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 5.5s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 5.5s
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 @weibaohui/dsh-kb · install mode reused L4 scratch
check took: 725ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-19
ready line dsh web: http://127.0.0.1:61971/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-19
path / · HTTP 200 · took 725ms
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-19
verdict active · entries 150
match: include:dsh-kb · @weibaohui/dsh-kb · 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: npm · @weibaohui/dsh-kb@0.7.15
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-kb@0.7.15@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 @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.0s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-17
spec @weibaohui/dsh-kb · 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-10-17
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.0s
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 @weibaohui/dsh-kb · install mode reused L4 scratch
check took: 183ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-17
ready line dsh web: http://127.0.0.1:65371/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-17
path / · HTTP 200 · took 183ms
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-17
verdict active · entries 150
match: include:dsh-kb · @weibaohui/dsh-kb · 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-12L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-alpha.2
  • • Plugin artifact: npm · @weibaohui/dsh-kb@0.7.15
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.2

ID: dsh-kb@0.7.15@dsh0.2.1-alpha.2 · profile: l4-sandbox

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

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-12
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.0s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-12
spec @weibaohui/dsh-kb · 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-10-12
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.0s
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-12
spec @weibaohui/dsh-kb · install mode reused L4 scratch
check took: 367ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-12
ready line dsh web: http://127.0.0.1:60161/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-12
path / · HTTP 200 · took 367ms
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-12
verdict active · entries 150
match: include:dsh-kb · @weibaohui/dsh-kb · 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.0-rc.22026-10-09L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.0-rc.2
  • • Plugin artifact: npm · @weibaohui/dsh-kb@0.7.15
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.0-rc.2

ID: dsh-kb@0.7.15@dsh0.2.0-rc.2 · profile: l4-sandbox

Issued: 2026-10-09 · expires: 2026-10-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-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-09
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.1s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-09
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.1s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-09
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.1s
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-09
spec @weibaohui/dsh-kb · install mode reused L4 scratch
check took: 175ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-09
ready line dsh web: http://127.0.0.1:65245/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-09
path / · HTTP 200 · took 175ms
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-09
verdict active · entries 150
match: include:dsh-kb · @weibaohui/dsh-kb · 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.0-rc.12026-09-30L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.0-rc.1
  • • Plugin artifact: npm · @weibaohui/dsh-kb@0.7.15
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.0-rc.1

ID: dsh-kb@0.7.15@dsh0.2.0-rc.1 · profile: l4-sandbox

Issued: 2026-09-30 · expires: 2026-10-07

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-09-30
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.4s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-30
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.4s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-30
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.4s
L5 · Run tested✓ Passed

active in loader tree (150 entries)

Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-30
spec @weibaohui/dsh-kb · install mode reused L4 scratch
check took: 2.2s
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-09-30
ready line dsh web: http://127.0.0.1:61305/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-09-30
path / · HTTP 200 · took 2.2s
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-09-30
verdict active · entries 150
match: include:dsh-kb · @weibaohui/dsh-kb · 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.

✓prehistory2026-10-05L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: unknown
  • • Plugin artifact: npm · @weibaohui/dsh-kb@0.7.15
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 prehistory

ID: dsh-kb@0.7.15@dshunknown · profile: l4-sandbox

Issued: 2026-10-05 · expires: 2026-10-12

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-05
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 2.8s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-05
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 2.8s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-05
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 2.8s
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-05
spec @weibaohui/dsh-kb · install mode reused L4 scratch
check took: 23ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-05
ready line dsh web: http://127.0.0.1:49775/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-05
path / · HTTP 200 · took 23ms
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-05
verdict active · entries 150
match: include:dsh-kb · @weibaohui/dsh-kb · 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.

0.7.14npm2026-09-26

@weibaohui/dsh-kb

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

0.7.11npm✓ 1 runtime-verified2026-09-26

@weibaohui/dsh-kb

✓dsh 0.1.7-rc.22026-09-26L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.7-rc.2
  • • Plugin artifact: npm · @weibaohui/dsh-kb@0.7.11
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.1.7-rc.2

ID: dsh-kb@0.7.11@dsh0.1.7-rc.2 · profile: l3-fullscan

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-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-09-26
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.8s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-26
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.8s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-26
spec @weibaohui/dsh-kb · channel npm package · outcome ran · exit 0
check took: 3.8s
L5 · Run tested✓ Passed

active in loader tree (150 entries)

Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-26
spec @weibaohui/dsh-kb · install mode reused L4 scratch
check took: 24ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-09-26
ready line dsh web: http://127.0.0.1:59429/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-09-26
path / · HTTP 200 · took 24ms
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-09-26
verdict active · entries 150
match: include:dsh-kb · @weibaohui/dsh-kb · 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.

0.7.8npm2026-09-25

@weibaohui/dsh-kb

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

0.7.7npm2026-09-23

@weibaohui/dsh-kb

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

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-kb.svg)](https://www.dsh.so/artifact/dsh-kb/)`
dsh 0.2.1-rc.2 install verified
`[![dsh.so install · dsh 0.2.1-rc.2](https://www.dsh.so/badge/install/dsh-kb@0.2.1-rc.2.svg)](https://www.dsh.so/artifact/dsh-kb/)`
dsh 0.2.0-rc.2 install verified
`[![dsh.so install · dsh 0.2.0-rc.2](https://www.dsh.so/badge/install/dsh-kb@0.2.0-rc.2.svg)](https://www.dsh.so/artifact/dsh-kb/)`
dsh 0.2.0-rc.1 install verified
`[![dsh.so install · dsh 0.2.0-rc.1](https://www.dsh.so/badge/install/dsh-kb@0.2.0-rc.1.svg)](https://www.dsh.so/artifact/dsh-kb/)`
dsh 0.1.7-rc.2 install verified
`[![dsh.so install · dsh 0.1.7-rc.2](https://www.dsh.so/badge/install/dsh-kb@0.1.7-rc.2.svg)](https://www.dsh.so/artifact/dsh-kb/)`
dsh 0.1.7-rc.1 install verified
`[![dsh.so install · dsh 0.1.7-rc.1](https://www.dsh.so/badge/install/dsh-kb@0.1.7-rc.1.svg)](https://www.dsh.so/artifact/dsh-kb/)`
dsh 0.1.5-rc.2 install verified
`[![dsh.so install · dsh 0.1.5-rc.2](https://www.dsh.so/badge/install/dsh-kb@0.1.5-rc.2.svg)](https://www.dsh.so/artifact/dsh-kb/)`

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-kbAutomated 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.7.15dsh manifest
scanned version0.7.15npm2026-10-21
current version0.7.15same version
vet verdictclean · npm

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

show static findings (5)
  • warningfsWrite · filessrc/kb-core.js:293

    const out = fs.createWriteStream(tmp, { flags: 'wx' })

  • warningfsWrite · filessrc/kb-core.js:444

    fs.writeFileSync(tmp, body)

  • warningfsWrite · filessrc/kb-core.js:468

    fs.writeFileSync(abs, contents[name], 'utf8')

  • warningfsWrite · filessrc/queue.js:317

    fs.writeFileSync(tmp, JSON.stringify({ version: LEDGER_VERSION, paused, updatedAt: nowIso(), items: out }, null, 1), 'utf8')

  • warningfsWrite · filessrc/queue.js:364

    fs.writeFileSync(file, p.body, 'utf8')

2model reads redacted source context · never executes plugin code
highest grademedium
merged intooverall medium
audited at2026-10-19
findings0 critical·0 high2 medium / 2 low hidden
show 4 audit findings
  • mediumUploaded HTML/SVG served inline with same-origin content-type → stored XSS in the DSH web appsrc/kb-core.js:194

    uploadRaw accepts any file extension into raw/, and sendFile streams it back with content-type derived from the extension and disposition 'inline' by default (dl=1 is required to force attachment). A user who can upload (the client itself warns the folder becomes 'browsable / uploadable via the LAN API') can drop note.html or evil.svg, and any victim who opens /dsh-kb/api/file?path=raw/note.html runs attacker script in the DSH host origin, i.e. in the origin of the local agent/API endpoints, not in a sandboxed page.

  • mediumUntrusted KB content (raw material, feedback note) is injected verbatim into an autonomous tool-using agent promptsrc/queue.js:186

    appendFeedback (kb-core) stores a user-supplied note almost verbatim (only newlines collapsed, 500 chars), and buildFeedbackPrompt embeds it into a prompt that instructs the bot to read the KB and rewrite pages; buildDistillPrompt does the same for every auto-enqueued raw/ file, whose text the bot is told to read and act on. The instructions themselves come from material an attacker can upload/post, and the bot session has whatever tool permissions the host grants (harness code in the unharvested src/index.js), so KB content can steer the agent to run tools or write files outside the intended

  • lowUpload destination check only requires the 'raw/' prefix, so 'raw/../wiki' writes outside raw/src/kb-core.js:284

    dirRel='raw/../wiki/meta' or 'raw/..' passes this check; resolveCreatable then only enforces containment inside the KB root, so the file lands in wiki/ or at the KB root while the API claims raw-only, immutable-source semantics. Writes are still inside the root, non-overwriting and size-capped, so this is a policy/integrity bypass (planting agent-readable markdown or pre-seeding wiki/meta/feedback.md) rather than an arbitrary file write.

  • lowImmutable-raw overwrite guard is a TOCTOU; renameSync silently replaces the targetsrc/kb-core.js:289

    Two concurrent uploads of the same name (or a file created between existsSync and rename) both pass the check, and fs.renameSync overwrites the destination on POSIX, silently destroying the supposedly immutable raw/ source with the last upload. Evidence loss, contradicting the schema contract that raw/ must never be modified.

Path guards are solid, but inline same-origin serving of uploaded HTML/SVG enables stored XSS, raw/ upload restriction is bypassable, and untrusted KB content is fed verbatim to an autonomous agent.

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

• Repo created: 2026-09-05

• Stars: ★ 6 · Forks: 3

• Health: Active — committed within last 30 days

Source

GitHub: github.com/weibaohui/dsh-kb

Was this page helpful?