deepseek-harness-auth avatar

deepseek-harness-auth

DeepSeek Harness auth插件

Plugin
验证
L2 · 结构化
安全
中风险
健康
活跃
信任

功能介绍

DeepSeek Harness auth插件

安装

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

Install method: npm · 尚未在容器中测试 (L3+)

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

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

安全报告

自动静态扫描,非人工审核。

DSH.SO警告SCAN15 FILES
446405
自动审查 · 每日更新
警告

无严重发现,但检测到警告级问题(文件写入、远程导入、base64 解码、下载执行)。

0 严重·1 警告·15 提示·15 扫描文件数
扫描版本4464052fc1dc2026-08-16
当前版本4464052fc1dc

扫描结果仅对「扫描版本」有效。若当前版本不同,徽章将显示 outdated,直到每日流水线重新扫描。

免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。

风险:中风险0 critical · 1 warning · 15 info

• 静态启发式扫描:已完成(15 个文件)

• 依赖漏洞:需深度审计(L3+)

• 权限沙箱:需运行时测试(L4+)

扫描发现 · 12

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

静态启发式扫描,可能误报——使用前请自行审查源码。

活跃度

最近提交 2026-08-16 · 活跃度:活跃

• 仓库创建: 2026-08-16

• 星标: ★ 5 · 复刻: 0

• 健康度: 活跃 — 近 30 天有提交

来源

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

这页有帮助吗?