⚠️ This repository has been renamed: HAN102300/dsh-opencode-zen-free — click to visit the new location. Everything below is preserved as originally indexed.

@HAN102300/dsh-opencode-free avatar

@HAN102300/dsh-opencode-free

这是一个零配置即可用在DSH harness当中,免费使用opencode免费模型的插件

Ecosystem plugin
Verification
L5 · Ecosystem plugin
Ecosystem plugin
Risk
Out of scope
Health
Active
Trust
Silver

Install verification: Ecosystem plugin: installs via dsh plugin add but declares no dsh.bundle and mounts no plugin capability — the L1-L5 install ladder does not rate it; the security scan still runs.Install verification details →

What it does

这是一个零配置即可用在DSH harness当中,免费使用opencode免费模型的插件

Installation

dsh plugin --profile web add github:HAN102300/dsh-opencode-free
verified

Install method: GitHub · runtime test inconclusive (L5 unknown)

Verification & Compatibility○ Ecosystem plugin

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〕)
○ Ecosystem plugin
At-a-glance → evidence in the cards below
plugin \ dshdsh 0.2.1-rc.2
current
8bb258○
Install compatibility (by plugin version, dsh versions within)
Legend:✓ L5 runtime verified○ ecosystem plugin◼ ecosystem app✗ failed
8bb258github○ 1 ecosystem plugin2026-10-19

https://github.com/HAN102300/dsh-opencode-free

○dsh 0.2.1-rc.2current2026-10-19Ecosystem plugin
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-rc.2
  • • Plugin artifact: github · https://github.com/HAN102300/dsh-opencode-free (version unstated)
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
Unknown
Ecosystem plugin: no install verdict — not a usable dsh plugin (shown as L5 · ecosystem plugin)
Ecosystem plugin

ID: dsh-opencode-free-3@8bb258@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 github:HAN102300/dsh-opencode-free · channel GitHub source · outcome ran · exit 0
check took: 1.8s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:HAN102300/dsh-opencode-free · channel GitHub source · outcome ran · exit 0
check took: 1.8s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:HAN102300/dsh-opencode-free · channel GitHub source · outcome ran · exit 0
check took: 1.8s
L5 · Run tested? Unknown

not present in web-profile loader inventory

Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-19
spec github:HAN102300/dsh-opencode-free · install mode reused L4 scratch
check took: 425ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-19
ready line dsh web: http://127.0.0.1:59342/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-19
path / · HTTP 200 · took 425ms
Plugin active in inventory? Unknown
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-19
verdict not-found · entries 150
phases: active 122 · null 28
not present in web-profile loader inventory

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

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-opencode-free-3Automated review · daily

Static low, dynamic high — stricter wins → overall high.

static low→dynamic high→overall high
0 critical·0 high
highoverall · high
1static scan · vet primaryvet AST static analysis (npm artifact or git source)
plugin versionv0.2.0dsh manifest
scanned version0.2.0git2026-10-19
current version0.2.0same version
vet verdictclean · git

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

show static findings (2)
  • criticalshellExec · shelllib/gate-tools.js:42

    exec(

  • warningnetIp · networklib/shim.js:199

    return `http://127.0.0.1:${port}/v1`;

2model reads redacted source context · never executes plugin code
highest gradehigh
merged intooverall high
audited at2026-10-19
findings0 critical·2 high1 medium / 1 low hidden
show 4 audit findings
  • highUnsandboxed bash tool executes model-supplied commands and is registered globallylib/gate-tools.js:42

    bashToolDefinition().execute passes args.command straight to child_process.exec with only a timeout and a cwd that the model itself can choose; there is no allowlist, no sandbox, no confirmation and no path restriction. lib/index.js registers this definition into the host tool registry by default (registerGateTools defaults to true), so any model in the session — including the remote opencode.ai free-tier model reached through the shim — can run arbitrary shell commands on the user's machine. Because the implementation deliberately bypasses the host tool service ('不依赖宿主工具服务'), it may also skip

  • highread tool allows arbitrary absolute path reads with no workspace containmentlib/gate-tools.js:83

    readToolDefinition().execute resolves the model-supplied path with path.resolve(target) and passes it directly to stat/readdir/readFile, so any path the process can access (~/.ssh/id_rsa, ~/.aws/credentials, browser profiles, other apps' config) can be read and the contents are placed into the conversation, which is then sent to the remote opencode.ai endpoint. No containment check, no deny-list, no size restriction beyond truncation.

  • mediumHarvests OpenCode CLI session IDs from another app's local storage and impersonates it upstreamlib/free-tier.js:76

    discoverSessionId() scans ~/.local/share/opencode/storage/session_diff (and $OPENCODE_DATA_DIR / %LOCALAPPDATA%\opencode) for real session ids, picks the most recently modified one, and lib/index.js sends it back to opencode.ai in x-opencode-session / x-session-affinity headers together with a forged `user-agent: opencode/...` and x-opencode-client. The plugin reads private state that belongs to a different installed application and replays it to bypass the vendor's free-tier request-shape gate; any content or identifier in that directory becomes plugin input without the user being told.

  • lowUnauthenticated loopback shim attaches the bearer key to any local requestlib/shim.js:121

    The shim listens on 127.0.0.1 and its only access control is an isLoopbackHost check on the Host header, which any local process can satisfy. Any local process can POST to 127.0.0.1:<port>/v1/chat/completions and have the plugin inject the user's OpenCode Console key (private mode) or the anonymous token plus spoofed session headers, using the plugin as an authenticated proxy. DNS rebinding is blocked by the Host check, so exposure is limited to local callers that already have user-level access.

Provider plugin that runs an unauthenticated loopback shim to opencode.ai and registers unsandboxed bash/read tools globally, giving the remote free-tier model arbitrary shell and filesystem access.

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

• Repo created: 2026-10-18

• Stars: ★ 2 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/HAN102300/dsh-opencode-free

Was this page helpful?