D

dsh-hub-agent

github.com/dsh-ai-org/dsh-hub-agent

v0.4.0 开发与运行时 写入文件发起网络请求
认证 L3已扫描 ✓健康 S/100周下载 6

DSH Plugin Hub 的运行时 agent 插件:在 DeepSeek Harness profile 内收集已安装插件清单与运行健康状况。**本地优先** —— 数据始终落在 profile 自己的 SQLite 里;上报到 dsh-ai.org 是可选的、匿名的、默认关闭。

作者原文(英文)

DSH Plugin Hub agent: reports the profile's installed plugin inventory and runtime health to dsh-ai.org, and doubles as the hub's runtime eval probe.

中文简介由 DeepSeek 模型翻译,仅供参考。

deepseek-harnessdeepseek-harness-plugindsh-plugintelemetryplugin-inventoryevalsdsh-hub
分类
dev
发布
2026-08-22
版本
v0.4.0

检测报告

有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
2需留意3一般19未命中
高关注需留意一般

能力清单

  • 写入文件writes-files需留意7 处命中
    • lib/index.js:43try { mkdirSync(dir, { recursive: true }); } catch { return; }
    • lib/index.js:73writeFileSync(join(dir, 'history.jsonl'), `${JSON.stringify(report)}\n`, { flag: 'a' });
    • lib/index.js:142mkdirSync(dir, { recursive: true });
    • lib/index.js:144writeFileSync(path, id);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意5 处命中
    • lib/client.js:110const response = await fetch(REPORT_URL, { cache: 'no-cache' });
    • lib/client.js:211fetch(SETTINGS_URL, { cache: 'no-cache' })
    • lib/client.js:228fetch(SETTINGS_URL, {
    • lib/index.js:164const response = await fetch(`${hubUrl.replace(/\/$/, '')}/api/telemetry/harness`, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 读取环境变量reads-env一般8 处命中
    • lib/index.js:83if (process.env.DSH_HUB_AGENT_PROFILE_DIR) return process.env.DSH_HUB_AGENT_PROFILE_DIR;
    • lib/index.js:192const outPath = process.env.DSH_HUB_AGENT_OUT;
    • lib/index.js:206const remoteEnabled = process.env.DSH_HUB_AGENT_DISABLE === '1'
    • lib/index.js:208: options.enabled === true || process.env.DSH_HUB_AGENT_REPORT === '1';
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 读取文件reads-files一般4 处命中
    • lib/index.js:97try { return JSON.parse(readFileSync(path, 'utf8')); } catch { return null; }
    • lib/index.js:141if (existsSync(path)) return readFileSync(path, 'utf8').trim();
    • lib/index.js:350try { return sanitizeSettings(JSON.parse(readFileSync(settingsPath(profileDir), 'utf8'))); }
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 动态加载模块dynamic-import一般1 处命中
    • lib/index.js:45const { DatabaseSync } = await import('node:sqlite');
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意7
发起网络请求network需留意5
读取环境变量reads-env一般8
读取文件reads-files一般4
动态加载模块dynamic-import一般1

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 5 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

← 返回全部插件