Skip to content

dsh-our-free-model Explained: Free Frontier Models & the Security Catch

Audit of Ebony-Vinyl/dsh-our-free-model v2.9.1 (88.1K stars): OpenCode TLS mimicry, Kilo free pool, combo failover, plus the sealed EAC vault & 101MB binary.

Hoang Yell
Hoang Yell
12 min read
Tiếng Việt
dsh-our-free-model Explained: Free Frontier Models & the Security Catch

Hitting a hard rate_limit_exceeded wall mid-refactor is irritating enough when you already pay for two coding subscriptions. What pushes developers toward gray-market proxies is the friction of juggling five logins, expired session tokens, and separate environment files just to ask DeepSeek V4.1 Flash or Kimi K3 a quick question.

Ebony-Vinyl/dsh-our-free-model exploded past 88,133 GitHub stars (2,495 forks, v2.9.1, MIT license) by promising zero-config access to frontier models inside DeepSeek Harness (dsh) without registering an account or pasting an API key. By v2.9.1, it also evolved into a full multi-lane router, standalone CLI/desktop app, 77-provider aggregator, and local OpenAI/Anthropic gateway.

Before running it on a daily coding rig, I cloned v2.9.1 and audited src/adapter.js, src/o2a.js, src/egress.js, src/bun-fetch.js, src/vault.js, src/eac.js, src/subscriptions.js, src/engine-payload.js, and src/sponsor.js alongside open security disclosure #947 and issue #931. The multi-lane routing and combo failover code is sharp engineering, yet four real catches sit beneath the “completely free, unlimited” pitch: a cat-and-mouse Bun TLS (transport encryption handshake) disguise that still trips upstream 429 walls, an AES-256-GCM sealed EAC lane pointing to a raw IP (202.189.51.40) with a private Caddy Root CA, an unsigned 101.9 MB Windows magpie binary split into 11 source shards, and a tampered bare-name clone on npm.

TL;DR

Fast Breakdown:

  • What is dsh-our-free-model? A dsh plugin and standalone gateway (v2.9.1) that routes requests across keyless public pools (OpenCode Zen, Kilo AI), a GitHub-star-gated EAC relay, 10 bundled vendor account channels, 77 bring-your-own-key providers, and local AI CLI subscriptions.
  • Clever Engineering: Reproduces OpenCode v2.2.3 wire fingerprints via a spawned bun child process, buffers Reasoning Deltas (internal chain-of-thought chunks) so combo: fallback chains fail over invisibly on 429 walls, and strips redundant tool_result bloat via RTK (tool-output compaction filters).
  • Hard Reality & Risks: Free lanes still enforce per-IP quotas and prompt logging (Kilo warns prompts may train/improve services), src/vault.js seals an obfuscated EAC IP behind a self-signed root CA, daily beichenapi.com affiliate modals pop up in the UI, and bare npm install dsh-our-free-model installs an unauthorized tampered fork.
  • Repository: Ebony-Vinyl/dsh-our-free-model on GitHub (MIT · 88.1K+ Stars).

Mental Model: Five Traffic Lanes Behind One Model Picker

Calling dsh-our-free-model a single free API is like calling a city train terminal a single taxi. Inside src/adapter.js, every turn branches across five completely separate outbound lanes depending on which prefix or model ID you pick.

OpenCode free models masquerade as the official OpenCode CLI (opencode/latest/2.2.3/cli) through a spawned Bun (fast JavaScript runtime with a distinct TLS stack) worker and optional Egress Proxies (outbound network exit nodes). Kilo models dial kilo.ai directly, combo:<name> routes buffer early chunks for silent failover, subscription: borrows local CLI logins, and EAC models unlock a maintainer-operated relay gated by GitHub star verification.


Problem Reality: Why Keyless Free Tiers Keep Breaking

Upstream gateways like OpenCode Zen do not hand out anonymous compute out of charity. Their servers verify that free requests originate inside an authentic official CLI client rather than third-party scripts scraping free tokens, rejecting generic curl or Node.js HTTP traffic with 403 FreeTierError or disguised 429 FreeUsageLimitError.

Early viral posts on X pushed the repo past 85,000 stars by spotlighting the zero-key experience while immediately flagging Kilo’s logging boundary:

X.com
omg, it can't be f**king real this dsh plugin has 4,597 stars and it puts DeepSeek V4.1 Flash and Kimi K3 in the picker for FREE no login, no signup, no key you paste. you need DeepSeek Harness already what it does: - DeepSeek V4.1 Flash and Kimi K3, named by the repo - the model list refreshes from upstream, not a frozen snapshot - a local OpenAI-compatible forward port - usage stats stay on your machine setup: step 1: go to http://github.com/Ebony-Vinyl/dsh-our-free-model and clone it step 2: add it to your web profile dsh plugin --profile web add /path/to/dsh-our-free-model step 3: restart dsh and pick a model important: > local client, not an official DeepSeek or Moonshot endpoint > per the repo, prompts go straight to OpenCode Zen and Kilo's public gateway > Kilo says prompts may be logged to improve their service, so don't send private code or keys > free does not mean unlimited. the lane can 429, and some models 403 by region > beta, MIT, built for dsh 0.1.5 to 0.1.7-rc.2 bookmark this before it hits 100K stars

Notice how docs/free-lane-wire.md chronicles the real arms race behind keeping that keyless lane alive across October and November 2026:

  • October 14 (v1 -> v2): Upstream retired /zen/v1 for /inference/v1, banned deepseek-harness inside User-Agent, demanded x-opencode-session-id, and required exact bit-packed timestamps (~(ms * 0x1000 + seq)) inside ses_ IDs.
  • October 31 (opencode2api alignment): Upstream rejected requests containing foreign tool names like Claude Code’s ReportFindings + ScheduleWakeup, forcing src/o2a.js to hash every caller tool into mcp_<12hex> and inject the 13 verbatim OpenCode v2.2.3 tool schemas (OFFICIAL_TOOLS_V2).
  • November 21 (ASCII space gate & Bun TLS): Upstream flagged clint_ prefixes and even matched literal top-level tool description prose, so src/o2a.js switched to mcp_ and swapped ASCII spaces in user tool descriptions for Unicode NBSP (U+00A0 non-breaking space). Worse, Node’s fetch TLS fingerprint drew 429 rejections where Go/Bun succeeded (src/egress.js:456), so src/bun-fetch.js writes a tiny worker.mjs and spawns a local bun child process strictly for OpenCode POST turns.

Because dsh itself also drew intense privacy scrutiny in late November (0.2.2-rc.5 default dsh_session_log uploads and OTEL hardware telemetry), security-minded developers on X began auditing both the host harness and its plugins side-by-side:

X.com
⚠️ DeepSeek Harness 隐私提醒:你的对话、文件内容、第三方模型的对话,可能都在往外发 我把本机装的 DeepSeek Harness(0.2.2-rc.5)解包了。安装包里的 app.asar 自带 TypeScript 源码,我逐个读了和数据上报有关的模块,再起一个本地假服务器抓包验证。结论如下,建议用这个工具的朋友都检查一下自己的设置。 一、完整对话日志会随模型请求上传(默认开启) 只要用的是 DeepSeek 模型,每次请求都会多带一个 dsh_session_log 字段,把会话日志按增量全部上传,内容包括: • 你发的每条消息、模型的每条回复 • system prompt • 工具调用的结果:读过的文件内容、执行过的命令及输出 • 项目工作目录的完整本地路径 • 生成会话标题的请求也会再带一份 我抓包实测后,还确认了两件更需要注意的事: 1️⃣ 第三方模型的对话也会被带上去。 同一个会话里,先用 Claude、GPT 等第三方模型聊,再切回 DeepSeek 模型,之前第三方模型那部分的对话原文、模型名、模型回复,都会进入上传的日志。我测过,API Key 和第三方的接口地址不会上传。 2️⃣ 中转站也能收到。 如果你给 DeepSeek 适配器配了自定义地址(中转站、代理网关),这份完整日志会照样发给那个地址。代码里没有判断请求是不是发往官方 API。 👉 关闭:设置 → 通用 →「在使用官方模型 API 时上传 Session Log」。我自己的本地记录里就查到过一次已经上传成功的对话。 二、每个 DeepSeek 请求都带固定标识(关不掉) • x-deepseek-harness-user-id:本机生成的一个固定 UUID,存在 ~/.dsh/.anonymous-user-id • x-deepseek-harness-session-id:会话 ID • dsh_plugin_packages:你装的全部插件的包名和版本,第三方插件也算在内。默认开启,我在设置里没找到开关。 三、桌面版产品埋点(默认开启,界面上没有开关) 数据发往 http://dsh-otel-collector.deepseeksvc.com,内容有: • 发消息、切换模型、切换思考强度、压缩上下文、分支会话、安装或卸载插件等操作 • 你用的模型名,第三方模型也会上报(比如你接了某个中转站上的 Claude,模型名也会报上去) • CPU 型号、核数、内存大小、系统版本号(通过 PowerShell 读注册表和 WMI 获取) • 登录 DeepSeek 账号后,还会带上 user_id 和 device_id 源码注释原文是 "no user settings surface",也就是界面上故意不提供开关。环境变量 DSH_TELEMETRY_DISABLED 对它不起作用。这部分不包含消息正文。 四、点「反馈」= 上传整段会话 点一次消息反馈,这个会话从开头到当前的完整日志都会发到上面那台服务器,从父会话继承来的历史也算在内。 🛡️ 自保建议 1. 设置 → 通用,关掉「上传 Session Log」 2. 设系统环境变量 DSH_TELEMETRY_DISABLED=1,关掉反馈上传 3. 在 hosts 里屏蔽 http://dsh-otel-collector.deepseeksvc.com,挡住产品埋点 4. 敏感项目、公司代码不要和 DeepSeek 模型混在同一个会话里,第三方模型单独开会话 5. 用中转站的朋友,在第 1 条关掉之前,请默认中转站能看到你的完整会话日志 6. 想重置那个固定 ID,删掉 ~/.dsh/.anonymous-user-id 即可 🔍 自己验证 源码就在安装目录的 resources/app.asar 里,解包后看这几个包: • @deepseek-ai/dsh-session-log-deepseek • @deepseek-ai/dsh-client-product-analytics • @deepseek-ai/dsh-session-telemetry-otel • @deepseek-ai/dsh-plugin-package-inventory-deepseek 本地会话存在 ~/.dsh/sessions,是 zstd 压缩的 jsonl。里面如果有 session-log-deepseek/delivery-accepted 事件,说明那个会话已经被上传过了。 以上基于 0.2.2-rc.5 的本地安装包和抓包结果,别的版本可能不一样,欢迎对照源码指正。工具本身挺好用,只是数据怎么上报,用户应该清楚,也应该能选。

Under the Hood: Combo Failover, Thinking Menus, and Clean Setup

Strip away the hype and three modules inside dsh-our-free-model demonstrate genuinely careful runtime engineering.

First, look at runCombo() in src/adapter.js:270-331. Standard API proxies commit to a provider the instant HTTP 200 headers arrive, leaving users stuck when a reasoning model thinks for 30 seconds and then hits a mid-stream quota cut. dsh-our-free-model buffers incoming chunks inside held[] and only flushes to the caller once commitsAnswer() detects non-empty text-delta or tool-call-delta. Reasoning chunks do not commit the stream, so a candidate that thinks and dies with RATE_LIMIT is silently discarded before moving to the next chain link, bounded by a 25,000 ms CHAIN_SILENCE_MS watchdog.

Second, src/http.js:214 (sniffBody) refuses to trust Content-Type headers. Under load, upstream gateways occasionally return 200 OK labeled application/json while actually streaming SSE (Server-Sent Events) frames; readHead() inspects the first 4,096 bytes and replays them via replayStream() without dropping the opening token. Meanwhile, src/token-saver.js shrinks verbose git diff, grep, find, and build logs before transmission.

Third, src/catalog.js maps per-model thinking controls honestly: models accepting reasoning_effort (deepseek-v4.1-flash-free, glm-5.3-flash-free) pass the exact validated enum (low, high, max, omitting none where models ignore it), while others fall back to an explicit output-token budget ladder.

Install the official scoped npm package (or local git clone) into your dsh profile rather than the bare-name clone on npm, and verify Bun is available for OpenCode POST calls:

# 1. Verify Bun exists (required by src/egress.js for OpenCode POST TLS fingerprint)
which bun || npm install -g bun

# 2. Install ONLY the official scoped package (never bare `dsh-our-free-model`)
dsh plugin --profile web add @ebony-vinyl/dsh-our-free-model@2.9.1

# 3. Optional: point external tools (Claude Code / Codex) to the local gateway
dsh --profile web --dump-config | grep our-free-model

Chinese and international developer threads on X immediately flagged that exact npm naming trap alongside the upstream prompt-logging caveats:

不用登录不用Key,DeepSeek V4.1 Flash免费随便用,GitHub 8.5万星 不用登录、不用注册、不用填 Key,DeepSeek 最新的模型直接白嫖。 GitHub 上一个 8.5 万星的插件,装在 dsh 里就能用 DeepSeek V4.1 Flash、Kimi K3 这些前沿模型,项目原话是完全免费、不限量。 怎么装: 1. 先装 dsh,就是 DeepSeek Harness,终端里跑的 AI 工具 2. 装这个插件,命令是 dsh plugin --profile web add @ebony-vinyl/dsh-our-free-model@2.9.0 3. 重启一次,模型选择器里就出现免费车道了 注意两件事:别装 npm 上那个没带 scope 的裸名包,那不是官方发的,内容被改过;免费走的是 OpenCode 的 Zen 网关和 Kilo AI 的公共网关,上游说了 prompt 可能被记录下来改进服务,别往里发敏感内容。 还有一句:模型能不能用,看你自己网络出口实测,清单是跟着上游刷新的。 你现在还在为什么模型充钱? dsh-our-free-model GitHub 仓库:https://github.com/Ebony-Vinyl/dsh-our-free-model

The Rough Edges: Sealed Vault, 101 MB Binary, and Supply-Chain Traps

Viral repository badges hide four concrete security and reliability realities documented directly inside the source tree and open issues #947 and #931.

1. Sealed EAC Relay: Separating Fact from Overstatement in Issue #947

Security disclosure #947 (filed against v2.8.3) raised alarms that an AES-256-GCM sealed vault in src/vault.js posts full conversation bodies to ourfreemodel.beichenapi.com/eac/v1. Running openSeal() directly on today’s v2.9.1 checkout confirms the vault decrypts via HKDF shards across src/vault-data.js and src/vault-anchor.js to a newly rotated IP literal:

node -e "import('./src/vault.js').then(m => { const s = m.openSeal(); console.log({ mode: s.mode, base: s.base, secretLen: s.signingSecret.length }); })"
# Output on v2.9.1:
# { mode: 'worker', base: 'https://202.189.51.40/eac/v1', secretLen: 64 }

Auditing src/adapter.js:374,577 clarifies an important nuance that #947 overstated: postSealedStreamed() does not silently exfiltrate every OpenCode, Kilo, or BYOK turn. It executes strictly when isEacEntry(entry) matches an EAC co-paid model gated by GitHub OAuth and repository star verification (src/eac-login.js), and the relay source (worker/worker.js) sits in the repository.

Even with that boundary, the architecture still warrants hard scrutiny: v2.9.1 replaced a named domain with bare IP 202.189.51.40, pins a self-signed Caddy Local Authority root certificate (EAC_ROOT_CA_PEM) directly inside src/eac.js:62, and pairs the same beichenapi.com brand with a once-daily affiliate advertisement popup (src/sponsor.js: https://beichenapi.com/register?aff=DL49WAC2DQNG). Never send proprietary or regulated code through either EAC or Kilo public lanes.

2. Local CLI Credential Discovery (~/.codex, ~/.claude, ~/.gemini)

src/subscriptions.js:16-20 explicitly targets ~/.codex/auth.json, ~/.claude/.credentials.json, and ~/.gemini/oauth_creds.json (plus embeds Gemini CLI’s public installed-app OAuth client ID/secret at lines 32-34). Contrary to fears of silent background theft, index.js:1997-2009 invokes discover() and importLocal() only when triggered from the /subscriptions/discover or /subscriptions/import-local endpoints, writing tokens to 0600 local files. Still, consolidating three high-privilege OAuth tokens inside a fast-moving plugin that executes external binaries and remote manifest updates concentrates your credential blast radius unnecessarily.

3. Unsigned 101.9 MB Split Windows Binary (magpie) & Self-Updater Trust

To keep the repository under registry size checks, src/engine-parts/win32-x64.000.part through .010.part slice a 44.1 MB gzipped payload inside src/ that src/engine-payload.js reassembles at runtime into an unsigned 101,889,536-byte Windows executable (vendor/magpie/engine.json in v2.9.1, up from 72.7 MB in v2.8.3). Unlike the claim in #947 regarding v2.8.3, the single patch (scripts/magpie-engine-patches/0001-agent-sync-skip-an-empty-catalog.patch) is shipped in plaintext on v2.9.1. However, the compiled .exe remains maintainer-built and unsigned rather than matching yetone/magpie’s PGP-signed upstream release, and src/updater.js verifies self-updates against the maintainer’s own PINNED_MANIFEST_PUBLIC_KEY over GitHub raw mirrors (gh-proxy.com). Set distribution: 'managed' to disable in-app self-updates completely.

4. Bare-Name npm Poisoning, Proxy Loops, and Qoder System-Prompt Hangs

  • Tampered npm package: README_EN.md explicitly warns that npm install dsh-our-free-model (without @ebony-vinyl/) pulls an unreviewed third-party repackaging with altered index.js, client.js, and a rogue src/channel-visibility.js.
  • Silent 120s hang in Qoder CN: Issue #931 proves that sending DeepSeek Harness’s default literal system sentence "You are an AI agent powered by DeepSeek Harness." (with trailing period) causes qodercn models to hang 120s with zero response bytes until that exact sentence is stripped.
  • No 429 magic: Once an exit IP burns its OpenCode quota, src/egress.js trips a local breaker (6h default or 30m exit cooldown) unless you feed rotating HTTP/SOCKS5 proxies or mihomo subscriptions, while src/probe.js regularly queries ipify.org, ipinfo.io, and ipapi.co to detect egress shifts.

Decision Matrix: dsh-our-free-model vs 9Router / OmniRoute vs Native API

Dimension dsh-our-free-model (v2.9.1) 9Router / OmniRoute Official Provider / Direct API
Primary Job Inside-DSH free lanes + 10 vendor channels + local proxy Standalone local multi-provider proxy + MCP routing Direct deterministic SLA with zero mimicry
Free Keyless Models OpenCode Zen (via Bun TLS mimicry) + Kilo Free + Star-gated EAC OpenCode Free + Kiro OAuth + free-tier fallback Official free quotas only (Gemini AI Studio, Groq)
Supply-Chain Surface 101.9 MB unsigned split .exe, 2.86 MB WASM channel pack, daily ad modal Pure JS/TS gateway, standard npm/Docker distribution Minimal official SDK or direct HTTPS
Privacy & Telemetry Kilo logs prompts; EAC routes via sealed 202.189.51.40; probe.js checks IP 100% local routing directly to chosen upstream Direct contractual data retention policy
Adopt When… Testing open models on non-sensitive code in an isolated sandbox Running Claude Code/Codex daily across mixed paid + free quotas Shipping proprietary production code or client IP

When Your Setup Does NOT Need dsh-our-free-model

  • Proprietary or client codebases: Never route private repositories through keyless public pools (Kilo), obfuscated EAC IP relays (202.189.51.40), or unmodified dsh sessions with dsh_session_log active.
  • Strict enterprise security audits: Shipping split gzipped unsigned Windows executables inside src/engine-parts/, a pinned private Caddy CA, and local CLI OAuth discovery will fail software composition compliance immediately.
  • Zero-maintenance reliability: Any workflow that cannot tolerate upstream FreeTierError fingerprinters breaking every two weeks belongs on direct API keys or a dedicated gateway like OmniRoute.

Final Take

Ebony-Vinyl/dsh-our-free-model earned its 88.1K stars through relentless wire reverse engineering: keeping OpenCode’s moving target answering with bunFetch, NBSP tool-description masking, and reasoning-aware combo: failover. Treat it strictly as a disposable sandbox playground for non-sensitive experiments installed via @ebony-vinyl/dsh-our-free-model with distribution: 'managed' - never as a trusted vault for your Claude Code, Codex, or company keys.

Hands-On Challenge (15-Minute Test)

  1. Clone Ebony-Vinyl/dsh-our-free-model into an isolated temp directory and run node -e "import('./src/vault.js').then(m => console.log(m.openSeal()))" to inspect the active EAC endpoint yourself.
  2. Inspect src/o2a.js lines 207-222 to see the verbatim OpenCode v2.2.3 prompt and 13-tool fingerprint contract required to avoid 429 FreeUsageLimitError.
  3. If testing inside a scratch container, verify your package scope matches @ebony-vinyl/dsh-our-free-model and set "distribution": "managed" in bundle config to disable the self-updater and announcement polling.

Frequently Asked Questions (FAQ)

1. Is dsh-our-free-model truly unlimited and free forever?

No. It unlocks keyless free tiers exposed by upstream gateways (OpenCode Zen and Kilo AI) alongside optional star-gated EAC relays, so your requests still hit upstream per-IP 429 rate limits, regional 403 blocks, and breaking client-fingerprint checks whenever OpenCode updates its validation rules.

2. Does src/vault.js secretly exfiltrate every prompt I write in dsh?

No, not on every lane. Auditing src/adapter.js shows postSealedStreamed() fires strictly when you select an EAC co-paid model, whereas OpenCode, Kilo, and BYOK models dial their respective upstreams directly. Still, the EAC lane routes full conversation bodies to an obfuscated IP (202.189.51.40) using an embedded self-signed Caddy Root CA.

3. Why does the plugin require Bun installed just to send messages?

OpenCode’s free inference endpoint inspects HTTP and TLS client handshakes and throttles standard Node.js fetch connections while allowing Bun and Go clients. To match OpenCode’s native runtime signature without rewriting Node’s TLS stack, src/bun-fetch.js spawns a local bun subprocess strictly for OpenCode POST turns.

4. Why does the README warn against running npm install dsh-our-free-model?

The unscoped dsh-our-free-model package on npm is an unauthorized third-party repackaging with modified entry scripts (index.js, client.js) and an unreviewed src/channel-visibility.js file. Maintainers publish exclusively under @ebony-vinyl/dsh-our-free-model on npm or signed GitHub releases.

Related posts

yell@hoangyell:~ %

>hoangyell --status

Busy hanging out with family, cafe & AI ☕🤖

Did someone yell? Want to chat code or collab? Reach me on Instagram:

📸Open Instagram↗ esc to close