D

dsh-plugin-notify

github.com/GooDAnDReaDY/dsh-plugin-notify

v0.4.2 会话与记忆 可执行外部程序发起网络请求写入文件

回合完成、出错和等待审批时触发远程 IM webhook

作者原文(英文)

DSH plugin: audio chimes, cross-session toasts, desktop push, IM webhooks, and web push (PWA) for turn completion, errors, and approvals.

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

dshdsh-plugindeepseek-harnessnotificationswebhooksdesktop-pushweb-pushpwa
分类
session
发布
2026-10-10
版本
v0.4.2

检测报告

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

能力清单

  • 可执行外部程序spawns-processes高关注1 处命中
    • lib/index.js:1import { spawn } from 'node:child_process';
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 发起网络请求network需留意5 处命中
    • lib/client.js:320const keyRes = await fetch(pluginUrl('dsh-plugin-notify/push/key'))
    • lib/client.js:331const saveRes = await fetch(pluginUrl('dsh-plugin-notify/push/subscribe'), {
    • lib/client.js:344const keyRes = await fetch(pluginUrl('dsh-plugin-notify/push/key'))
    • lib/client.js:650const res = await fetch(pluginUrl('dsh-plugin-notify/push/test'), { method: 'POST' })
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意3 处命中
    • lib/index.js:372await fsp.mkdir(path.dirname(statePath), { recursive: true });
    • lib/index.js:374await fsp.writeFile(tmp, JSON.stringify(state, null, 2), 'utf8');
    • lib/index.js:375await fsp.rename(tmp, statePath);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • R011 客户端可疑脚本client-side-risk需留意1 处命中
    • client.js: postMessage 无 origin 校验
    • 浏览器侧代码能改你看到的界面。确认改动范围符合插件用途。
  • 接触凭据或密钥credentials一般63 处命中
    • lib/client.js:17intro: 'Store each webhook URL under Settings → Credentials, then type only the credential name below. Do not paste URLs…
    • lib/client.js:18'field.feishu': 'Feishu credential',
    • lib/client.js:19'field.wecom': 'WeCom credential',
    • lib/client.js:20'field.dingtalk': 'DingTalk credential',
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取环境变量reads-env一般8 处命中
    • lib/index.js:135return process.env[v] || '';
    • lib/index.js:349const home = (process.env.DSH_HOME && process.env.DSH_HOME.trim())
    • lib/index.js:383const envPub = process.env[VAPID_PUBLIC_ENV];
    • lib/index.js:384const envPriv = process.env[VAPID_PRIVATE_ENV];
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 读取文件reads-files一般1 处命中
    • lib/index.js:356const raw = await fsp.readFile(statePath, 'utf8');
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 动态加载模块dynamic-import一般1 处命中
    • lib/index.js:443const mod = await import('web-push');
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注1
发起网络请求network需留意5
写入文件writes-files需留意3
R011 客户端可疑脚本client-side-risk需留意1
接触凭据或密钥credentials一般63
读取环境变量reads-env一般8
读取文件reads-files一般1
动态加载模块dynamic-import一般1

这份报告的口径

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

依赖安全公告

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

← 返回全部插件