W

waterbuddy

@waterplus-ai/waterbuddy

v0.2.37 其他 R010 向其他插件注入发起网络请求写入文件

WaterPlusAI 是面向 DeepSeek Harness 的 WaterPlus 集成 bundle。它在保持官方 Harness 基础 bundle 和 Web bundle 不变的前提下,为水务行业的内部工作新增了一套品牌化的 Web profile。

作者原文(英文)

WaterPlusAI branding and Web profile bundle for DeepSeek Harness

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

分类
other
发布
2026-09-24
版本
v0.2.37

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注2需留意3一般18未命中
高关注需留意一般

能力清单

  • R010 向其他插件注入plugin-tree-injection高关注2 处命中
    • DeepSeek-V4-Flash, DeepSeek-V4-Pro
    • 看 patch 里 insert 的包是不是本项目自己的。插入第三方代码要格外留意。
  • 发起网络请求network需留意15 处命中
    • lib/client/index.js:182const response = await fetch(path, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringi…
    • lib/client/index.js:593fetch('/api/waterbuddy/user').then(response => response.json()).then(body => {
    • lib/client/index.js:604const response = await fetch('/api/waterbuddy/llm/status')
    • lib/client/index.js:643const response = await fetch('/api/waterbuddy/auth/qr', { method: 'POST' })
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意8 处命中
    • lib/host/expert-store.js:157fs.mkdirSync(path.dirname(file), { recursive: true })
    • lib/host/expert-store.js:158fs.writeFileSync(temporary, `${JSON.stringify(next, null, 2)}\n`, { mode: 0o600 })
    • lib/host/expert-store.js:159fs.renameSync(temporary, file)
    • lib/host/index.js:74fs.mkdirSync(path.dirname(file), { recursive: true })
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 接触凭据或密钥credentials一般172 处命中
    • lib/client/index.js:103function passwordField(extra) {
    • lib/client/index.js:211return jsxs('label', { style: passwordField({ padding: '0 6px 0 12px' }), children: [
    • lib/client/index.js:221const password = useRef(null)
    • lib/client/index.js:228const secret = password.current?.value || ''
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取文件reads-files一般15 处命中
    • lib/host/expert-store.js:137state = normalizeExpertState(JSON.parse(fs.readFileSync(file, 'utf8')))
    • lib/host/experts.js:180return JSON.parse(await fs.readFile(filePath, 'utf8'))
    • lib/host/experts.js:224try { agentFiles = (await fs.readdir(agentsDir)).filter(file => file.endsWith('.md')).sort() } catch (error) { if (error…
    • lib/host/experts.js:295try { entries = await fs.readdir(directory, { withFileTypes: true }) } catch (error) { if (error.code === 'ENOENT') retu…
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般4 处命中
    • lib/host/expert-store.js:28return path.join(process.env.DSH_HOME || path.join(os.homedir(), '.dsh'), EXPERTS_STATE_FILENAME)
    • lib/host/index.js:54return process.env.DSH_HOME || path.join(os.homedir(), '.dsh')
    • lib/host/llm-gateway.js:73return process.env.DSH_HOME || path.join(os.homedir(), '.dsh')
    • lib/host/llm-gateway.js:81const raw = config?.llmGatewayBaseUrl || process.env.WATERBUDDY_LLM_GATEWAY_URL || DEFAULT_LLM_GATEWAY_BASE_URL
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
R010 向其他插件注入plugin-tree-injection高关注2
发起网络请求network需留意15
写入文件writes-files需留意8
接触凭据或密钥credentials一般172
读取文件reads-files一般15
读取环境变量reads-env一般4

这份报告的口径

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

依赖安全公告

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

← 返回全部插件