deepseek-harness-auth avatar

deepseek-harness-auth

DeepSeek Harness auth插件

Plugin
Verification
L2 · Structured
Security
Medium
Health
Active
Trust
Silver

What it does

DeepSeek Harness auth插件

Installation

dsh plugin --profile web add deepseek-harness-auth

Install method: npm · not yet tested in container (L3+)

Compatibility

DSH VersionStatus
not statedDeclared — not tested

Requirements

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

Security Report

Automated static scan, not manual review.

DSH.SOWARNINGSCAN15 FILES
446405
Automated review · daily
WARNING

No critical findings, but warning-level issues were detected (file writes, remote imports, base64 decoding, downloads).

0 critical·1 warning·15 info·15 files scanned
scanned commit4464052fc1dc2026-08-16
latest commit4464052fc1dc

The scan result is only valid for the scanned commit. If the latest commit differs, the badge shows outdated until the daily pipeline rescans.

Disclaimer: automated static analysis, not a security guarantee. Always review what you install.

Risk: Medium0 critical · 1 warning · 15 info

• Static heuristic scan: done (15 files)

• Dependency vulnerabilities: requires deep audit (L3+)

• Permission sandboxing: requires runtime testing (L4+)

Scan findings · 12

  • infoReads process.envsrc/cli.ts:109
    export function program(store = new AuthStateStore(process.env.DSH_AUTH_STATE_DIR || defaultStateDir())): Command {
  • infoMakes network requests (fetch / axios)src/client/index.tsx:31
    await fetch('/auth/logout', { method: 'POST', headers: { 'X-DSH-Auth-Request': '1' } })
  • infoMakes network requests (fetch / axios)src/client/index.tsx:60
    void fetch('/auth/account').then(async response => {
  • infoMakes network requests (fetch / axios)src/client/index.tsx:82
    const response = await fetch('/auth/account/password', {
  • infoHardcoded IP addresssrc/client/index.tsx:175
    <label className="dsh-auth-field"><span>{zh ? '免登录 IP / CIDR' : 'Login bypass IPs / CIDRs'}</span><textarea value={whitelistText} onChange={
  • infoUses localStoragesrc/client/onboarding.ts:26
    try { acknowledged = localStorage.getItem(WELCOME_ACK_STORAGE_KEY) } catch {}
  • infoUses localStoragesrc/client/onboarding.ts:51
    try { localStorage.setItem(WELCOME_ACK_STORAGE_KEY, fingerprint) } catch {}
  • infoUses localStoragesrc/client/theme.ts:61
    localStorage.setItem(THEME_STORAGE_KEY, serialized)
  • infoUses localStoragesrc/client/theme.ts:71
    try { last = localStorage.getItem(THEME_STORAGE_KEY) ?? undefined } catch {}
  • infoUses localStoragesrc/html.ts:29
    const parsed = JSON.parse(localStorage.getItem(key) || 'null');
  • infoHardcoded IP addresssrc/network.ts:25
    const value = rule.trim().toLowerCase() === 'localhost' ? '127.0.0.0/8' : rule.trim()
  • warningHTTP request to a raw IP addresssrc/proxy.ts:471
    console.log(`dsh auth: ${publicBaseUrl ?? `http://127.0.0.1:${String(port)}`}`)

Heuristic static scan — may produce false positives. Review the source yourself before trusting.

Activity

Last commit 2026-08-16 · activity: Active

• Repo created: 2026-08-16

• Stars: ★ 5 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/taichuy/deepseek-harness-auth

Was this page helpful?