@offzen/dsh-gitea-search avatar

@offzen/dsh-gitea-search

dsh-plugin

PluginKnowledgeWeb 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 does

dsh-plugin

Installation

dsh plugin --profile web add dsh-gitea-search
verified 0.1.1

Install method: npm · 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.4
0.1.1✗✗
Install compatibility (by plugin version, dsh versions within)
Legend:✓ L5 runtime verified○ ecosystem plugin◼ ecosystem app✗ failed
0.1.1npm2 failed2026-10-21

dsh-gitea-search

✗dsh 0.2.1-rc.2current2026-10-21L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-rc.2
  • • Plugin artifact: npm · dsh-gitea-search@0.1.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-gitea-search@0.1.1@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-20
spec dsh-gitea-search · channel npm package · outcome ran · exit 0
check took: 10.9s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-20
spec dsh-gitea-search · channel npm package · outcome ran · exit 0
check took: 10.9s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-20
spec dsh-gitea-search · channel npm package · outcome ran · exit 0
check took: 10.9s
Resolved version recorded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-20
spec dsh-gitea-search · channel npm package · outcome ran · exit 0
check took: 10.9s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-20
spec dsh-gitea-search · 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.2.1-alpha.42026-10-18L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-alpha.4
  • • Plugin artifact: npm · dsh-gitea-search@0.1.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-gitea-search@0.1.1@dsh0.2.1-alpha.4 · profile: l4-sandbox

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-18
spec dsh-gitea-search · channel npm package · outcome ran · exit 0
check took: 11.0s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec dsh-gitea-search · channel npm package · outcome ran · exit 0
check took: 11.0s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec dsh-gitea-search · channel npm package · outcome ran · exit 0
check took: 11.0s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec dsh-gitea-search · 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-gitea-search.svg)](https://www.dsh.so/artifact/dsh-gitea-search/)`

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-gitea-searchAutomated 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.1.1dsh manifest
scanned version0.1.1npm2026-10-21
current version0.1.1same version
vet verdictclean · git

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

show static findings (5)
  • warningchildProcess · code-execlib/git.mjs:41

    child = spawn(cmd, args, {

  • warningchildProcess · code-execlib/git.mjs:91

    child = spawn(cmd, args, {

  • warningfsWrite · fileslib/mirror.mjs:166

    fs.writeFileSync(path.join(config.mirrorDir, LAST_SYNC_FILE), `${value}\n`);

  • warningfsWrite · fileslib/sync.mjs:74

    fs.writeFileSync(file, [

  • warningfsWrite · fileslib/sync.mjs:132

    fs.writeFileSync(

2model reads redacted source context · never executes plugin code
highest grademedium
merged intooverall medium
audited at2026-10-19
findings0 critical·0 high1 medium / 4 low hidden
show 5 audit findings
  • mediumBundle starts the MCP server through unpinned `npx -y`, so the executed code is not guaranteed to match the audited sourcecordis.patch.yml:26

    If the package cannot be resolved in a local node_modules/.bin, npx auto-installs (no prompt, `-y`) the latest published dsh-gitea-search from the registry and executes it at DSH startup. The code that runs can therefore differ from the version that was reviewed here, a compromised npm account or a newer publish becomes executable without review, and startup now depends on network access.

  • lowModel-supplied regular expressions are evaluated in-process without a timeout in path/message modeslib/search.mjs:30

    In mode=path and mode=message the query is compiled and synchronously applied to every ls-tree path / commit subject (search_gitea with regex=true). A catastrophic-backtracking pattern blocks the single MCP event loop, so every concurrent tool call stalls until the DSH client times out. Content mode is safe because the regex is handed to `git grep` and killed by the existing timeout.

  • low`git show` output is fully buffered before the maxReadBytes truncation, enabling memory exhaustionlib/mirror.mjs:140

    run() collects every stdout chunk into an array and concatenates before `Buffer.byteLength(body) > config.maxReadBytes` is checked, so read_gitea_file on a very large file in a mirrored repository (a contributor can push a multi-GB blob) allocates the whole blob in the MCP server and can crash it.

  • lowBundle patch uses Loader `!!js` expressions that run in the DSH host processcordis.patch.yml:32

    The `!!js` tag makes the DSH loader evaluate plugin-shipped JavaScript inside the host process at profile load time. The current expressions only read environment variables, so no abuse was found, but any future edit to this file can execute arbitrary code with DSH privileges without touching the audited .mjs sources.

  • lowSync joins API-provided owner/name into filesystem paths without validationlib/sync.mjs:93

    Repository metadata from the Gitea/Forgejo HTTP API is used verbatim as a clone destination (and `repo.full_name` in remoteUrl). A hijacked or deliberately hostile server, or an unexpected API payload, could direct `git clone --mirror` outside the mirror directory. Normal Gitea instances validate names, so this is a hardening gap rather than a demonstrated attack.

The code itself is hardened (argv spawns, ref/path validation, askpass tokens); residual risk is the unpinned npx launch plus regex/memory DoS edges.

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

• Repo created: 2026-10-15

• Stars: ★ 0 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/offzen/dsh-gitea-search

Was this page helpful?