@ds-hu/dsh-pocket-oauth avatar

@ds-hu/dsh-pocket-oauth

把 DeepSeek Harness 装进你的口袋:插件只开 3081 一个端口,用 Gitee OAuth 登录,隧道由你自己建(固定域名),手机即可远程实时同屏访问电脑上的 DSH。|DSH Pocket: Gitee OAuth sign-in on a single port, bring your own tunnel.

Plugin
Verification
L4 · Install tested
Failed
Risk
Critical
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

把 DeepSeek Harness 装进你的口袋:插件只开 3081 一个端口,用 Gitee OAuth 登录,隧道由你自己建(固定域名),手机即可远程实时同屏访问电脑上的 DSH。|DSH Pocket: Gitee OAuth sign-in on a single port, bring your own tunnel.

Installation

dsh plugin --profile web add @ds-hu/dsh-pocket
verified 2.10.6

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

@ds-hu/dsh-pocket

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

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-pocket-oauthAutomated 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 versionv2.10.6dsh manifest
scanned version2.10.6npm2026-10-21
current version2.10.6same version
vet verdictclean · npm

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

show static findings (7)
  • warningnetIp · networkbin/dsh-pocket.mjs:44

    初始化(一次):本机浏览器打开 http://127.0.0.1:3081/pocket-setup,

  • warningnetIp · networkbin/dsh-pocket.mjs:75

    console.log(`\n⚙️ 初始化 / 绑定账号(本机浏览器打开):http://127.0.0.1:${port}/pocket-setup`);

  • warningnetIp · networkclient/api.js:140

    - 公网入口由用户**自建隧道**(必须有固定域名)指向 \`http://127.0.0.1:${s.proxyPort ?? 3081}\`;隧道/反代**必须保持原域名 Host 转发**(若把 Host 改写成 127.0.0.1,公网请求会被判为本机而免认证)。

  • warningnetIp · networkclient/api.js:141

    - 认证 = **${label} OAuth**(初始化时在 Gitee / GitHub 中二选一):本机浏览器打开 \`http://127.0.0.1:${s.proxyPort ?? 3081}/pocket-setup\` 选定鉴权方并绑定一个账号(uid);此后任意

  • warningchildProcess · code-execlib/restart-helper.mjs:43

    const child = spawn(config.file, config.args, {

  • warningchildProcessImport · code-execlib/restart.js:14

    import { spawn } from 'node:child_process';

  • warningshellExec · shelllib/service.mjs:115

    execFile(candidates[i], [], { timeout: 5000, windowsHide: true }, (err, stdout) => {

2model reads redacted source context · never executes plugin code
highest gradehigh
merged intooverall high
audited at2026-10-19
findings0 critical·1 high
show 1 audit findings
  • high0.0.0.0 is classified as loopback, enabling Host-header auth bypasslib/net-classify.mjs:15

    lib/net-classify.mjs documents itself as the shared source for the Host trust boundary, and the proxy design exempts loopback Hosts from OAuth. Because `isLoopbackHostname('0.0.0.0')` returns true and the default listener is 0.0.0.0:3081, a client that can reach that listener can send `Host: 0.0.0.0:3081`; if the proxy uses this primitive for its loopback exemption, the request is treated as local and no Gitee/GitHub session is required. That exposes the dsh web UI and the loopback-only RPC endpoints (status/update/restart/factory reset) to unauthenticated LAN or tunnel users. The precondition

Shared loopback Host classifier includes 0.0.0.0, likely letting a remote client spoof Host and bypass OAuth; core proxy/OAuth files were not provided.

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-09-23

• Stars: ★ 2 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/ds-hu/dsh-pocket-oauth

Was this page helpful?