Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@morgan9668/dsh-task-notify

Latest version: v1.1.2

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: morgan9668
4 Versions

Scan summary

@morgan9668/dsh-task-notify was last scanned on 29 Nov 2026 at version 1.1.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 1.1.2.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.2 LATEST 29 Nov 2026 No rules fired
1.1.1 29 Nov 2026 No rules fired
1.1.0 29 Nov 2026 No rules fired
0.0.0-stage 29 Nov 2026 Not shown

No rules fired in 1.1.2

Findings

Findings for v1.1.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.1.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

任务完成通知 · @morgan9668/dsh-task-notify

每个回合结束后,把 任务概要 + 耗时 + token 消耗 推送到你配置的群机器人。

安装

在 DSH 里:设置 → 插件 → 添加插件,粘贴包名 @morgan9668/dsh-task-notify。

装完重启 DSH,然后打开 设置 → 任务完成通知 配置渠道。

通知长这样

重构通知插件 · workbuddy/glm-5.3

**✅ 任务完成** 已完成

**📋 任务概要**
> 已完成后端接入。
> 并补齐了三个渠道的签名。
工具调用:3 次(bash×2、read×1)

**⏱️ 耗时**
> 3分12秒

**🔢 token 消耗**
> 输入 12,340 输出 2,891
> 合计 **15,231**(含缓存命中 800)

渠道与接入

四个渠道互相独立,可同时开启。留空即未启用,不会发送任何请求。

企业微信(个人可用)
  1. 打开手机/桌面企业微信,进入任意内部群
  2. 群右上角 → 群机器人 → 添加机器人 → 新创建一个机器人
  3. 起个名字,创建后复制 Webhook 地址
  4. 填到 channels.wecom.webhook,并把 enabled 设为 true
飞书(个人可用)
  1. 打开飞书,进入群 → 设置 → 群机器人 → 添加机器人 → 自定义机器人
  2. 复制 Webhook 地址
  3. 如果开启了「签名校验」,把密钥填到 channels.feishu.secret;没开就留空
  4. 填到 channels.feishu.webhook,enabled: true
钉钉(个人可用,必须加签)
  1. 钉钉群 → 群设置 → 智能群助手 → 添加机器人 → 自定义
  2. 安全设置里勾选 加签,复制密钥
  3. 复制 Webhook 地址
  4. 两个都填:channels.dingtalk.webhook 与 channels.dingtalk.secret,enabled: true

钉钉的加签是强制的,不填 secret 会被服务端拒绝。插件在请求时自动补 timestamp 与 sign 参数。

微信(预留,当前非默认路径)

微信不开放第三方直接推送到个人号。合规做法是经服务号中转,常见两种:

  • Server酱:sct.ftqq.com 微信扫码登录,领取 SendKey
  • WxPusher:wxpusher.zjiecode.com 注册拿 appToken

把凭据填进 channels.wechat.serverchanSendKey 或 wxpusherAppToken, enabled: true 即可用。没有凭据时会明确回报「未配置」,不会静默失败。

关于自建服务号:微信公众平台的官方规则里,服务号的注册主体只能是 政府 / 媒体 / 企业 / 其他组织,个人主体不提供该选项;个人类型也 「暂不支持微信认证、微信支付及高级接口能力」。所以个人身份无法自建 服务号,这也是本插件默认走服务商通道的原因。

配置

全部配置项:

字段 默认 说明
enabled true 总开关
reasons [completed, error, blocked] 在哪些回合结局下通知
notifySubagents false 是否给子代理会话也发(默认关,避免刷屏)
maxExcerptChars 400 概要正文字数上限
timeoutMs 8000 单次请求超时
channels.*.enabled false 各渠道开关
channels.*.webhook '' 群机器人 Webhook

可选结局:completed、error、blocked、max-tokens、aborted。

数据来源与诚实边界

内容 来源 拿不到时
token DSH 提交的 assistant/message 事件里的 data.usage,按回合累加 显示「本轮未提供用量数据」,不填 0
耗时 turn/start 到 turn/end 的真实时间差 显示「未知」
概要 最后一条 assistant 消息的 text 块(不含思考过程) 显示「本轮没有文字回复」
工具调用 本回合 tool/call 事件的名称统计 该行整行省略

多步推理会一次性产生多条 assistant/message,插件累加它们的 usage, 而不是只取最后一条。

失败处理

所有发送都是 fire-and-forget:

  • 网络异常、超时、HTTP 非 2xx → 记日志,绝不抛出,绝不阻塞 agent 主循环
  • 三个平台都会用 HTTP 200 + 业务错误码 回话(webhook 失效也返回 200), 所以插件会读 errcode / code,非 0 一律判为失败并带上服务端原文
  • 200 但正文不是 JSON(被代理或 WAF 拦截)→ 记为「已送出不可确认」, 既不冒充成功,也不谎报失败

测试

node __tests__/unit.mjs

39 项纯逻辑测试,不联外网。覆盖签名算法独立复算、token 累加、耗时格式化、 各渠道业务错误码判定、网络异常不抛出、配置回落等。

已知限制

  • 微信通道未接自建服务号(平台资质限制,见上)
  • 消息正文按各渠道上限裁剪,企业微信/飞书 3800 字、钉钉 4800 字
  • 只统计 assistant/message 上的 usage;若上游适配器不提供该字段, 通知里会如实显示未提供

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @morgan9668/dsh-task-notify

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229