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-trellis

Latest version: v0.1.26

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: sajoluo
3 Stars
0 Forks
20 Versions
3.0K Downloads
JavaScript Repo language

Scan summary

dsh-trellis was last scanned on 23 Nov 2026 at version 0.1.26. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 20 versions; the latest 4 were published within 6 days (18–23 Nov 2026).
  • Findings: No rules fired in version 0.1.26.
  • Downloads: 3,004 downloads.

Versions

20 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.26 LATEST 23 Nov 2026 No rules fired
0.1.24 19 Nov 2026 No rules fired
0.1.23 18 Nov 2026 No rules fired
0.1.22 18 Nov 2026 Not shown
0.1.21 14 Nov 2026 Not shown

No rules fired in 0.1.26

Findings

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

README

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

dsh-trellis

DeepSeek Harness (dsh) host 插件:把 Trellis 工作流带进 dsh,并尽量沿用 DSH 原生能力补齐 Codex / Claude Code 级体验:

  1. 每轮 workflow-state 面包屑注入 — 在每个 agent/pre-step,解析项目 .trellis/workflow.md 的 [workflow-state:*] 块 + 活跃任务状态(no_task / task_error / planning / in_progress),把对应面包屑注入会话(与 dsh-agent-instructions 的注入管道相同)。未变化不重复注入;被压缩后自动重注入;提示词里出现独立单词 no-trellis 可跳过当轮。
  2. 隔离的原生会话上下文身份(per-session isolation) — 从当前 agent 各自的 DSH 原生 session header 生成受管的 DSH_TRELLIS_CONTEXT_ID,让 task.py start/create/current 解析到会话级 active-task 指针:父会话与子代理之间保持按会话隔离的原生 DSH 会话身份,不共享或回退到父上下文;同一会话内由 shell 或插件命令启动的子进程则显式传入该会话自身的 DSH 身份。
  3. 原生子代理同步 — 安装插件后,Trellis 角色可用 DSH continuable 后台子代理;主会话先继续独立工作,耗尽后可调用事件驱动的 trellis_wait。它监听 DSH 的 subagent/end,利用 lifecycle 自带的 run/provider/output-block 元数据返回 completed / failed / aborted / unknown 的 fail-closed 结论。error、max-tokens、refusal 和未来未知失败原因都不会被误报成通过。宿主提供可靠的原生通知/yield 路径时,父会话也可结束当前轮等待唤醒;仍须读取实际结果与报告。
  4. /trellis 命令 — /trellis-status(活跃任务 + git 状态)、/trellis-finish(只读检查 + 安全收尾清单,不提前清 active-task 指针)、/trellis-doctor(--check 只读体检 / --fix 幂等修补项目内 .dsh/ 与 .trellis/ 的 DSH 模板漂移,保留原文件 LF/CRLF 换行且不覆盖自定义改动)。命令输出不进模型历史;真正的会话收尾走技能面 /trellis-finish-work,由技能先归档再写 journal。rc.8 下上述命令均设 recordInput: false 并拒绝附件,/trellis-status 与 /trellis-finish 为零输入命令,/trellis-doctor 仅接受 --check / --fix。
  5. Web 配置菜单 — DSH 0.1.7-rc.1 的“插件 → dsh-trellis”详情页直接显示全部六个配置项;保留 0.1.6-alpha.2 详情页与旧版 RC 卡片。新版支持带修订号的原子保存、恢复 profile 继承值和冲突时保留草稿。配置里的 enabled=false 会停用工作流功能但保留表单;插件管理器的整包或组件开关则会连同表单一起卸载。

非 Trellis 项目不注入面包屑;命令只有被用户显式调用时才会检查并返回“未初始化 Trellis”。

这是 Trellis DSH 适配的可选伴侣插件,不是使用 trellis init --dsh 的前置条件。工具 schema 明确支持当前回执时,trellis_wait 可用于 continuable 后台派发和事件汇合。DSH 0.2.2-rc.2 返回名称;将该名称传入明确接受 name 的 subagent_id 参数,结果的 subagentId 仍是解析后的原生 Session id。旧插件暴露同名工具不代表支持具名协议。未安装兼容插件时,只有 schema 明确支持 run_in_background 的旧宿主才设置 run_in_background: false;0.2.1-alpha.2 已移除此参数,使用可靠的原生通知/yield 路径,或直接在主会话完成工作。启动回执不代表依赖步骤通过;没有可靠同步路径时不要派发。所有路径都禁止 sleep 或轮询,Trellis CLI 不会自动安装任何 DSH profile 插件。

安装

# 装进实际使用的 profile;CLI 修改在下次启动时加载
dsh plugin --profile web add dsh-trellis
dsh plugin --profile headless add dsh-trellis

# 如果你维护独立的 tui profile,也需要装进该 profile
dsh plugin --profile tui add dsh-trellis

dsh plugin 会把插件安装到指定 profile;每个实际使用的 profile 都需要单独安装。

DSH 0.2.0-rc.2 的 macOS / Windows 桌面端可在菜单栏“Manage dsh command”中安装或管理内置 dsh 命令,无需单独安装 Node 或 pnpm。先用 dsh --version 确认 PATH 中实际调用的版本;旧的全局 CLI 可能与桌面端不同。桌面端默认使用 desktop profile,其他 profile 仍需分别安装。

新版本刚发布时,插件页预览的版本可能与安装器最终选择的版本不同。需要本版插件 0.1.26 时,在插件页输入 dsh-trellis@0.1.26,或显式安装到实际使用的 profile:

dsh plugin --profile desktop add dsh-trellis@0.1.26
# Web / headless 用户将 desktop 替换为对应 profile 名称。

DSH 0.2.0-rc.2 发布说明曾引入 pnpm 11;其默认新版本等待期为 24 小时,裸包名可能暂时解析到较旧版本。不要仅凭“RC.2”推断其他版本的包管理器:以实际宿主和解析结果为准。显式版本安装仍须通过版本准入,不需要关闭全局等待期或绕过兼容性检查。参见 DSH 0.2.0-rc.2 更新说明 与 pnpm 11 发布说明。

日常升级命令:

dsh plugin --profile web update dsh-trellis
dsh plugin --profile headless update dsh-trellis

对 tui profile 使用同样的 update。CLI 在进程外修改 profile 后,应重启对应 DSH 进程。0.2.1-alpha.3 起,运行中的插件管理器可对满足 HMR 条件的包执行代码热替换;无法热替换时会提示需要重启,以实际结果为准。整包/组件开关只证明卸载与重挂,不等同于包代码已更新。更换 DSH 宿主 release 后,还需按页面提示刷新浏览器,避免旧 Web 壳连接新宿主。参见插件管理器生命周期。

DSH 0.1.6-alpha.2 也可从 Web 侧栏“插件 → 添加插件”安装包。Web 安装后需要手动启用;CLI add 默认启用。安装命令仍是 dsh plugin --profile <name> add <package>,无需增加额外安装脚本。

如果要从源码开发或验证尚未发布的版本,可以改用本地 file: 安装:

git clone https://github.com/HomoLand/dsh-trellis.git
cd dsh-trellis
pnpm install --frozen-lockfile
pnpm run build:client
dsh plugin --profile headless add file:C:/path/to/dsh-trellis

file: 插件会作为 profile 内的 pnpm 快照安装;拉取源码更新后,尤其是版本新增文件时,需要先 remove 再 add 刷新该 profile。外部 CLI 刷新快照后重启对应进程,不要假定源码目录变化会自动热更新。

快速开始
# 1. 安装 DSH(@next 和 @latest 当前均指向 0.2.2-rc.5)
npm install --global @deepseek-ai/dsh@next

# 2. 为实际使用的 profile 安装 dsh-trellis
dsh plugin --profile headless add dsh-trellis

# 3. 在目标仓库初始化 Trellis DSH 模板(需 >=0.7.0-beta.4;@latest 0.6.17 缺少 DSH_TRELLIS_CONTEXT_ID 与 trellis_wait 模板)
npx @mindfoldhq/trellis@beta init --dsh

# 4. 在 DSH 会话中运行 /trellis-doctor --fix,将 @mindfoldhq/trellis@0.7.0-beta.4 模板幂等对齐到 DSH 0.2.2+ 能力契约

配套要求:项目的 Trellis 平台需包含 dsh,推荐使用 npx @mindfoldhq/trellis@beta init --dsh(>=0.7.0-beta.4,@mindfoldhq/trellis@latest 0.6.17 尚未包含读取 DSH_TRELLIS_CONTEXT_ID 和 trellis_wait 的模板),使 .trellis/scripts 读取原生 DSH_SESSION_ID / DSH_TRELLIS_CONTEXT_ID。DSH CLI 的 next 和 latest 当前均为 0.2.2-rc.5,alpha 为 0.2.3-alpha.2。

0.2.1-alpha.4 起宿主优先检查显式 engines.dsh,仅未声明时才回退 DSH peer。宿主的 includePrerelease: true 规则与 npm 默认匹配不同。本包的 npm peer 和 engines.dsh 允许矩阵中的 0.2.0-rc.1..0.2.2-rc.5 及 0.2.3-alpha.2,以 <0.2.1-0 / <0.2.2-0 / <0.2.3-0 / <0.2.4-0 限定各分支上界,并支持 Cordis 4.1.0 / 4.2.0-alpha.1 和 Schemastery 3.19.0 / 3.20.0-alpha.1。>=0.2.3-alpha.2 明确拒绝上游未同步 Cordis vendor 的 0.2.3-alpha.1,<0.2.4-0 拒绝未验证的 0.2.4-* 预发布版本。版本准入只检查声明,allow-version 无法补齐宿主 API。开发基线固定为 0.2.0-rc.1,具体回归目标见开发章节的二十三个宿主。Web 配置只在具备对应 client surface 的 profile 中加载。参见官方版本声明迁移说明。

运行时需要 profile 提供 sessionProjections 服务;该依赖由插件的 inject 声明。自定义或精简 profile 若未组装此服务,需先加载 @deepseek-ai/dsh-session-projection,否则插件会等待依赖,不会退回直接扫描历史。

DSH 0.2.2-alpha.2 将工具执行移至独立 executor。自定义 profile 除 tools 外还需选择 @deepseek-ai/dsh-tool-executor-native,或具备 PTC runtime 的 @deepseek-ai/dsh-tool-executor-ptc;标准宿主负责组装。插件只注册 trellis_wait,使用宿主选定的执行器,不自行切换执行模式。

0.1.26:DSH 0.2.3-alpha.2 适配与验证
  • 扩展 engines.dsh 与七项 DSH peer 至 >=0.2.3-alpha.2 <0.2.4-0,并接纳 Cordis 4.2.0-alpha.1 与 Schemastery 3.20.0-alpha.1;继续拒绝因未同步 Cordis 4.2 而无法启动的 0.2.3-alpha.1 与未验证的 0.2.4-*。
  • 兼容清单加入 0.2.3-alpha.2(共二十三个宿主),并为 0.2.3+ 剔除上游已移除的 @deepseek-ai/dsh-client-ui-settings-plugins 测试依赖;运行时 dsh.client.inject 保持向后兼容,由新版客户端模块加载器安全忽略缺失条目,plugins.bundle.config 槽位不变。
  • 更新 PTC 执行器单测与 E2E 脚本以兼容 0.2.3 的 PtcInspectableValue、discardCompletion 输出协议与默认 scoped-repl(使用 inspect(await tools[...](...)) 替代顶层 return),同时保留对 0.2.2 的兼容验证。
  • Native/PTC E2E 固定至 0.2.3-alpha.2 与 Group 1.2.0-alpha.1,实测范围与边界见 0.2.3-alpha.2 验证记录。
0.1.25 · 审查加固与可靠性修复
  • 工作流与面包屑解析加固:parseWorkflowStateBlocks 跳过 workflow.md 的 HTML 注释头与代码围栏并忽略空块;breadcrumbMessage 转义 </system-reminder> 并在 maxBytes 预算内预留闭合标签,避免 @mindfoldhq/trellis@0.7.0-beta.4 默认模板首轮被截断破坏。
  • 子代理收件箱与生命周期保护:agent/pre-step 在 decision.kind === "reject" 或子代理空首步时清空调度而不回写 agent.inbox.nextStep,并监听 agent/disposed 释放 pendingInboxes 引用、取消无信号 trellis_wait 等待及容错热重载卸载异常。
  • 默认根标记与命令执行增强:前后端默认 projectRootMarkers 同步更新为 [".trellis", ".git"](校验 .trellis 为目录),支持非 Git 或 monorepo 子包项目;/trellis-* 命令支持拆分带参数的 pythonCmd(如 py -3)并透出 stdout/超时诊断,/trellis-doctor 仅依赖 .trellis/ 目录即可运行。
  • Web 配置面板与测试质量提升:设置卡片改用按字段合并刷新非脏快照(保留输入中的尾随换行/空格/前导零),非 ready 状态呈现 loading/unavailable 提示,优化窄屏/高 DPI 弹性换行与清理 slots.inject 监听器。
  • 体检边界、兼容脚本与 CI 校验:/trellis-doctor 与 nodeFs 增强软链根边界限制、权限与目录错误识别、主流换行保留及部分修复报告;兼容矩阵支持汇总全宿主失败摘要,CI 新增实包 .tgz 导入冒烟与 lib/client.js.map 一致性检查。
0.1.23 · 模板体检修复
  • /trellis-doctor --fix 在原子替换前复查文件内容,检测到并发编辑时停止。必需的 active_task.py 缺失或不可读时,体检会报错。
  • Windows 和 Linux CI 校验 E2E 的冻结锁文件。兼容清单集中维护每个版本的工具链和依赖,仍覆盖同样的 21 个宿主。
0.1.22:DSH 0.2.2-rc.4 兼容回归
  • 将 RC.4 加入 Windows 和 Linux 共用的 21 宿主兼容矩阵,验证动态工具集重建。
  • 通过官方 DeepSeek Messages 适配器验证流式拒答会保留用量,且 trellis_wait 将子代理判为失败。
  • Native/PTC E2E 锁定 RC.4。Windows 默认沙箱和隔离对照的结果见 RC.4 验证记录。
0.1.21:自闭环适配加固、模板体检修复与零运行时依赖
  • 新增 /trellis-doctor(--check / --fix),无需等待上游 Trellis CLI 发版即可幂等检查并修补 @mindfoldhq/trellis@0.7.0-beta.4 生成的 .dsh/DSH.md、trellis-agent-research、.trellis/workflow.md、cli_adapter.py 与可选 trellis-meta 模板,保留原文件 LF/CRLF 换行且不覆盖用户自定义改动。
  • 移除 zod 运行时依赖,实现零运行时外部依赖(dependencies 为空),并在 @deepseek-ai/dsh-settings 缺省的精简/Headless profile 中按可选依赖安全降级。
  • 修复 agent/pre-step 已认领/过期面包屑替换、子代理 no_task 噪音抑制、dshContextKey 超长 SHA-256 截断、workflow.md 四级开发者覆盖与有界缓存、trellis_wait 并发安全标记及 detachSession() 竞争窗口、命令环境变量脱敏与 task.py current 退出码 1 兼容,以及异步 projection.dispose() 卸载期间同步 Cordis 表面即刻就绪。
  • Web 配置表单补充严格整数校验、实例级 useId()、样式引用计数与无障碍高对比度态;CI 固定 Node 24 原生 Action 并在二十个 DSH 宿主(0.1.5-rc.2..0.2.2-rc.3)完成 Windows/Linux 双平台验证。
0.1.20:DSH 0.2.2-rc.3 兼容回归
  • 补齐 RC.3 精确工具链和独立兼容预期,Windows/Linux CI 从同一清单运行二十个宿主。
  • 动态工具集成测试明确覆盖 RC.2/RC.3 的空工具集重建语义,继续核对旧宿主的原始消息协议,不按未来版本猜测行为。
  • Native/PTC E2E 固定 RC.3 和完整锁文件;Windows 验证结果及默认沙箱边界见 RC.3 验证记录。
  • 运行时代码、peer/engine 范围、插件清单与开发基线保持不变;官方 master 中尚未发布的接口迁移不混入 RC.3。
0.1.19:DSH 0.2.2-rc.2 适配
  • trellis_wait 保留 subagent_id 参数,按宿主能力接受名称或原生 Session id。RC.2 使用直接目录的 Session Query observation,及时释放观察对象;树根监听校验直接创建者,查询前订阅,避免名称解析和目录读取期间漏掉结算。
  • 自定义 RC.2 profile 需装配内置 sessionQuery 和 sessions 服务;缺失服务或目录不可读会明确失败,不会被当成空目录或成功结算。
  • 补齐 RC.2 的精确工具链与独立兼容预期,Windows/Linux CI 从单一清单覆盖十九个宿主。运行时 peer 和开发基线保持不变。
  • Native/PTC E2E 固定 RC.2,实际验证具名回执、send_message({ agent: "lead" })、按名称等待及稳定 Session 身份。实测结果与默认沙箱限制见 RC.2 验证记录。
  • npm 0.1.18 不包含这些修正。源码验收使用正常 prepack 的本地 tarball;正式发布状态以 v0.1.19 对应工作流及 npm 为准。
0.1.18:DSH 0.2.2-rc.1 兼容回归
  • 补齐 0.2.1-rc.5、0.2.2-alpha.3、0.2.2-rc.1 的精确工具链与独立 executor 夹具。Windows/Linux CI 默认运行全部兼容目标,不再维护第二份易遗漏的版本参数列表。
  • Settings 测试按宿主能力读取 effectiveConfig,以规范化 fiber 验证归属,并等待实际 presentation 注册;不放宽所有权、无重复挂载或卸载清理断言。
  • E2E 固定到 RC.1;本轮 Windows 实测、默认沙箱失败及 Linux E2E 待补项见 RC.1 验证记录。远端 CI 与发布状态以 v0.1.18 对应工作流及 npm 为准。
0.1.17:DSH 0.2.2-alpha.2 适配

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-trellis

References

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

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229