@liujianqiao701/dsh-test-framework avatar

@liujianqiao701/dsh-test-framework

面向测试工程师的 DSH 插件:把空文件夹一键变成「测试工作框架」骨架,并在 AI 会话里带上框架约束 —— 需求文档拆模块 / 确认版本 / 跨文档关联 / 登记测试环境与账密。AI test-framework plugin for DeepSeek Harness.

PluginDeveloperAI ModelsKnowledgeFile
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.2

What it doesAI

DSH plugin that turns an empty folder into a test-framework skeleton and injects testing constraints into AI sessions.

  • Scaffolds a test-framework skeleton from an empty folder
  • Splits requirement docs into modules and confirms versions
  • Registers test environments, accounts and cross-document links in AI sessions
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-test-framework
verified 0.3.0

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.

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
0.3.1···
0.3.0✓✓·
0.2.8··✓
Install compatibility (by plugin version, dsh versions within)
Legend:✓ L5 runtime verified○ ecosystem plugin◼ ecosystem app✗ failed
0.3.1npm2026-10-21

dsh-test-framework

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

0.3.0npm✓ 2 runtime-verified2026-10-20

dsh-test-framework

✓dsh 0.2.1-rc.2current2026-10-20L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-rc.2
  • • Plugin artifact: npm · dsh-test-framework@0.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
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-test-framework@0.3.0@dsh0.2.1-rc.2 · profile: l4-sandbox

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

View checks & evidence
L1 · Found✓ Passed

↳ carried from earlier record dsh-test-framework@0.3.1@dsh0.2.1-rc.2 (l3-fullscan)

Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed

↳ carried from earlier record dsh-test-framework@0.3.1@dsh0.2.1-rc.2 (l3-fullscan)

Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed

↳ carried from earlier record dsh-test-framework@0.3.1@dsh0.2.1-rc.2 (l3-fullscan)

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-20
spec dsh-test-framework · channel npm package · outcome ran · exit 0
check took: 3.6s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-20
spec dsh-test-framework · 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-10-20
spec dsh-test-framework · channel npm package · outcome ran · exit 0
check took: 3.6s
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-20
spec dsh-test-framework · install mode reused L4 scratch
check took: 660ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-20
ready line dsh web: http://127.0.0.1:50673/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-20
path / · HTTP 200 · took 660ms
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-20
verdict active · entries 150
match: include:test-framework · dsh-test-framework · 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-18L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-alpha.4
  • • Plugin artifact: npm · dsh-test-framework@0.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
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-test-framework@0.3.0@dsh0.2.1-alpha.4 · profile: l3-fullscan

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

View checks & evidence
L1 · Found✓ Passed

↳ carried from earlier record dsh-test-framework@0.3.1@dsh0.2.1-rc.2 (l3-fullscan)

Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed

↳ carried from earlier record dsh-test-framework@0.3.1@dsh0.2.1-rc.2 (l3-fullscan)

Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed

↳ carried from earlier record dsh-test-framework@0.3.1@dsh0.2.1-rc.2 (l3-fullscan)

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

dsh-test-framework

✓dsh 0.2.1-alpha.22026-10-15L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-alpha.2
  • • Plugin artifact: npm · dsh-test-framework@0.2.8
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-test-framework@0.2.8@dsh0.2.1-alpha.2 · profile: l3-fullscan

Issued: 2026-10-15 · expires: 2026-10-22

View checks & evidence
L1 · Found✓ Passed

↳ carried from earlier record dsh-test-framework@0.3.1@dsh0.2.1-rc.2 (l3-fullscan)

Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed

↳ carried from earlier record dsh-test-framework@0.3.1@dsh0.2.1-rc.2 (l3-fullscan)

Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed

↳ carried from earlier record dsh-test-framework@0.3.1@dsh0.2.1-rc.2 (l3-fullscan)

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

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

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

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

show static findings (10)
  • warningchildProcess · code-execlib/framework.js:1394

    const probe = spawnSync('git', ['--version'], { encoding: 'utf8', timeout: 8000, windowsHide: true })

  • warningchildProcess · code-execlib/framework.js:1396

    const run = spawnSync('git', ['init', '--quiet'], { cwd, encoding: 'utf8', timeout: 20000, windowsHide: true })

  • warningfsWrite · fileslib/framework.js:163

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

  • warningfsWrite · fileslib/framework.js:336

    fs.writeFileSync(tmp, `${JSON.stringify(next, null, 2)}\n`, 'utf8')

  • warningfsWrite · fileslib/framework.js:1363

    fs.writeFileSync(path.join(gitPath, 'HEAD'), 'ref: refs/heads/main\n', 'utf8')

  • warningchildProcess · code-execlib/install.js:44

    const r = spawnSync(command, args, { encoding: 'utf8', ...base })

  • warningchildProcess · code-execlib/install.js:52

    const r2 = spawnSync(command, args, { ...base, stdio: quietFallback ? 'ignore' : 'inherit' })

  • warningfsWrite · fileslib/install.js:376

    fs.writeFileSync(backup, raw, 'utf8')

  • warningfsWrite · fileslib/install.js:385

    fs.writeFileSync(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, 'utf8')

  • warningfsWrite · fileslib/install.js:460

    fs.writeFileSync(backup, raw, 'utf8')

2model reads redacted source context · never executes plugin code
highest grademedium
merged intooverall medium
audited at2026-10-17
findings0 critical·0 high1 medium / 2 low hidden
show 3 audit findings
  • mediumWorkspace-controlled names are injected into the DSH system prompt with no sanitisationlib/index.js:215

    The prompt-gate text produced by renderGate/frameworkStatus is assembled from workspace-controlled strings: product directory names (`- 产品「${p.name}」缺 …`) and asks built from registry fields such as `modules[].name`, `relations[].from/to`, `docs[].name` and end names (`这些模块声明了非默认端或有关联边…:${involved.join('、')}`). Only `{{` is escaped, so a crafted workspace whose `_框架配置/框架登记.json` (or directory names) contain instruction-like text has that text delivered to the model as part of the system prompt, letting repository content steer the agent beyond the plugin's intent.

  • lowEnvironment and DB passwords are written in plaintext into workspace markdownlib/framework.js

    recordEnvironments persists plaintext page/DB credentials into `<产品>\_框架配置\环境与账密.md` (and into appended fallback tables). That file lives in the user's framework folder, which is typically version-controlled, archived or copied along with reports; credentials therefore leak beyond the machine that was intended to hold them. The JSON registry keeps only a `passwordStored` pointer, so the md file is the leak surface.

  • lowinstall/uninstall CLI rewrites the DSH profile outside the workspace and can spawn pnpm via a shelllib/install.js:38

    applyInstall/applyUninstall edit `<dshHome>\profiles\<name>\package.json` (dependencies + dsh.profile.bundles), delete/create a junction under the profile's node_modules, and can additionally run `dsh plugin add link:…` or `pnpm install` (which rewrites node_modules and needs network). The runCapture shell fallback, combined with a user-supplied `--dsh` path ending in .cmd/.bat, means shell metacharacters in that argument are interpreted by cmd.exe. Everything requires a deliberate --apply/--official/--pnpm invocation and package.json is backed up first, so impact is limited to the invoking us

Static warnings come from gated scaffolding/install code; residual risk is workspace-controlled names reaching the system prompt unsanitised, plus plaintext env passwords.

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

• Repo created: 2026-10-14

• Stars: ★ 0 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/liujianqiao701/dsh-test-framework

Was this page helpful?