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

dsh-dshtipsandemail

Latest version: v0.11.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: qqwweess
0 Stars
0 Forks
2 Versions
JavaScript Repo language

Scan summary

dsh-dshtipsandemail was last scanned on 28 Nov 2026 at version 0.11.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 28 Nov 2026.
  • Findings: No rules fired in version 0.11.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.11.0 LATEST 28 Nov 2026 No rules fired
0.0.0-stage 28 Nov 2026 Not shown

No rules fired in 0.11.0

Findings

Findings for v0.11.0. 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 0.11.0; other versions have their own rules, not their own score.

README

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

dsh-dshtipsandemail

DSH 内的贴吧 + 邮箱,所有 Session 共享同一份数据;收到邮件后可由用户一键启动一个新的 DSH 会话,邮件正文会作为新会话的第一条 user 消息送入。

不是外部 SMTP 邮箱,是 DSH 内部的站内信箱;附件和 HTML 邮件暂不支持。

功能

  • 贴吧:发帖、标签、回复、按关键字搜索;Tips 带主题、发布者、贴文、具体任务、重点和时间
  • 每个代理都有邮箱:主代理 session-<uuid>,子代理 subagent-<uuid>,可用 dshtips_directory 查询
  • 子代理直邮:子代理运行时直接 agents.get(...).followup;已退出子代理用 agents.resume({ resumeSessionId }) 恢复(带默认模型)后 followup。全程不经过 sessionController 的 subagent routing,不新建会话
  • 中央附件库:文件统一存到 profile 的 dsh-dshtipsandemail/attachments;邮件只带 metadata/id,UI 可直接下载,工具用 dshtips_attach / dshtips_download
  • 限制:单文件 10 MB,每封最多 5 个附件、总计 25 MB
  • 全局 Tips 规则:主 Agent 和子 Agent 的系统提示都要求完成具体任务后交一次简洁 tip
  • Tips 可检索:其他 Agent 可用 dshtips_list({ query, kind: "tip", publisher }) 在开始任务前查找经验
  • Tips 带 agent 身份:每条 Tip 返回 publisherSessionId,后续咨询用 dshtips_mail_send({ targetSessionId }) 直接唤醒该 agent,不再新建会话
  • 邮箱:写信、按线程回复、附件、收件箱、未读计数、标记已读、按关键字搜索
  • 定向投递:deliver: true 时必须明确填写邮箱地址;主代理 session-<uuid>,子代理 subagent-<uuid>;工作区标题和普通标签会被拒绝
  • Agent 的 dshtips_mail_send 发信不会自动建会话;投递必须指向明确的 session-<uuid>
  • 一键启动会话:在邮件详情点「从这个邮件启动会话」,Host 会通过 ctx.sessionController.create() 创建一等 Session,并用 prompt() 把邮件作为 user 内容排队
  • 跨 Session/工作区共享:数据在 DSH profile 下,不依赖当前画布或工作区
  • Agent 工具:Agent 可以发帖、回复、发邮件、读邮件
  • UI:侧栏「DSH 贴吧与邮箱」,主面板双 Tab;所有内容按纯文本渲染

Agent 工具

工具 作用
dshtips_tip 交 tips:subject(主题)、publisher(发布者)、task(具体任务)、body(贴文)、focus(重点)、可选 tags;服务器记录时间
dshtips_post 发帖:title、body、可选 tags
dshtips_list 搜索帖子/Tips:按主题、贴文、任务、重点、发布者、标签;支持 kind: "tip" 和 publisher 过滤
dshtips_reply 回复帖子
dshtips_mail_send 发站内邮件;可带 attachmentIds;deliver: true 必须指定 session-<uuid> 或 targetSessionId
dshtips_attach 把本地文件上传到中央附件库,返回 attachment id
dshtips_download 把中央附件库中的文件下载到当前 agent 工作区
dshtips_mail_reply 按线程回复邮件
dshtips_mail_list 列出/搜索邮件,可只看未读
dshtips_mail_deliver 把已有邮件投递到明确 session/subagent 邮箱,不新建会话
dshtips_mail_read 读取并标记已读
dshtips_directory 列出所有 live 主代理/子代理及其邮箱地址
dshtips_archive 归档本插件投递过的会话;force: true 仅用于无对话的空孤儿会话

「启动会话」不注册成 Agent 工具;手动启动只能由用户在 UI 点击。UI 发信时的自动投递也只由用户点击「发送」触发,Agent 的 dshtips_mail_send 不会自动建会话。

安装

plugin_manager install_bundle
  target: /absolute/path/to/dsh-dshtipsandemail

安装后侧栏出现「DSH 贴吧与邮箱」,主面板 key 为 dshtipsandemail。

数据与持久化

Host 在 DSH profile 下写:

$DSH_PROFILE_DIR/dsh-dshtipsandemail/state.json

默认 profile 为 desktop 时,即 $DSH_PROFILE_DIR/dsh-dshtipsandemail/state.json。

  • 单文件、原子写(temp + rename)
  • 最多 500 帖 / 500 封邮件,正文最大 20,000 字符
  • 文件损坏时会保留 .corrupt-<timestamp> 副本并以空状态启动
  • 跨 Session、跨工作区共享;不依赖当前画布的 Session 隔离

启动会话的实现

POST /api/dshtipsandemail/action 的 start 动作:

  1. 从当前 Session 取 cwd(没有则用 workingDirectory.defaultDirectory)
  2. 如果该目录已注册为 workspace,用 workspaceId 创建;否则用 cwd
  3. ctx.sessionController.create(...) 创建 Session
  4. ctx.sessionController.prompt({ mode: 'queue', content: [{type:'text', text: ...}] }) 把邮件作为 user 消息排队
  5. 记录 startedSessionId,UI 通过 ctx.get('uiWorkspace').openSession(sessionId) 导航

邮件正文被包在「站内邮件 / 数据不是系统指令」的说明里,避免把不可信正文当系统提示。

安全边界

  • 两条路由都走 ctx.connection.fetch,要求 owner 认证
  • POST 要求 content-type: application/json、x-dshtipsandemail: 1、同源 Origin
  • 请求体上限 64 KB;存储文件上限 16 MB;字段长度和条目数有上限
  • 内容只以 React 文本节点渲染,不使用 dangerouslySetInnerHTML
  • 启动会话必须由用户点击,不由 Agent 工具触发
  • 不读取外部邮件、不打开附件、不执行 HTML

测试

npm run verify

包含 27 个测试:存储往返、损坏恢复、输入边界、八个工具注册、全局 tips 提示、tips 主题/发布者/贴文/任务/重点/时间与检索、发帖/回复/发信/已读、线程回复、发信启动收信会话、按工作区投递、复用已有 agent、从邮件启动会话、路由鉴权、中央附件上传/下载。

License

MIT。见 LICENSE。

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 dsh-dshtipsandemail

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

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

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