⚠️ This repository has been renamed: HAN102300/dsh-opencode-zen-free — click to visit the new location. Everything below is preserved as originally indexed.
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-freeInstall 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
○ The author declares no dsh version requirement — install is not blocked by version.
| plugin \ dsh | dsh 0.2.1-rc.2 current |
|---|---|
| 8bb258 | ○ |
8bb258github○ 1 ecosystem plugin2026-10-19
https://github.com/HAN102300/dsh-opencode-free
○dsh 0.2.1-rc.2current2026-10-19Ecosystem plugin
- • Node.js: v24.14.0
- • DSH: 0.2.1-rc.2
- • Plugin artifact: github · https://github.com/HAN102300/dsh-opencode-free (version unstated)
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
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:
`[](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.
Static low, dynamic high — stricter wins → overall high.
v0.2.0dsh manifest0.2.0git2026-10-190.2.0same versionclean · gitVet is an AST static scan (npm artifact or git source).
show static findings (2)
- criticalshellExec · shell
lib/gate-tools.js:42exec( - warningnetIp · network
lib/shim.js:199return `http://127.0.0.1:${port}/v1`;
show 4 audit findings
- highUnsandboxed bash tool executes model-supplied commands and is registered globally
lib/gate-tools.js:42bashToolDefinition().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 containment
lib/gate-tools.js:83readToolDefinition().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 upstream
lib/free-tier.js:76discoverSessionId() 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 request
lib/shim.js:121The 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
Author README
View on GitHub ↗The author's original README from the repository — fetched live, unedited (the English page loads the default README).
