dsh-codex
3/4装得上 · 启动通过
迁移指南:修复 dsh-codex 0.3.0 之前版本写入的历史 Session。
集成与连接周下载 618依赖 2peer 25Apache-2.0依赖存在已知漏洞
pnpm add dsh-codex安装前须知
Node 要求
未声明
跟随宿主运行时
peer 依赖
25 个
由宿主提供,不随包安装
宿主服务
无需额外服务
装完由真宿主启动一次
入口 / 补丁
lib/index.js
bundle 已声明 · patch 随包
四段检测
逐层记录收录门槛通过
manifest 是否声明 DSH 依赖或 dsh.bundle
离线审查未通过
静态结构包内清单、补丁文件与入口声明是否完整通过
配置组合装入一次性 DSH_HOME 后配置树能否合并
命中 high 或 critical 规则
未通过源码审查静态阅读源码,检查危险调用与数据外发
计数单位 finding,非包数。
通过真机安装通过
真机执行 pnpm 安装,退出码为 0 且 node_modules 生成
实测宿主版本 0.2.2-rc.5
加载实测通过
安装完成后由真实宿主启动一次,检查入口是否激活
检测结论明细
共 25 次命中静态结构2 条规则 · 2 次命中
启动子进程child-process-spawn
代码中存在外部 URLremote-url-reference
配置组合3 条规则 · 19 次命中
依赖存在高危漏洞×7dep-vulnerability-high
CVE-2026-109383undici@8.10.0修复版本 6.29.1 / 7.30.1 / 8.12.2undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent
CVE-2026-109829undici@8.10.0修复版本 7.30.1 / 8.12.2undici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirects
另有 5 条同类漏洞未列出
依赖存在中危漏洞×9dep-vulnerability-medium
CVE-2026-84933undici@8.10.0修复版本 7.29.1 / 8.10.2undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared caches
CVE-2026-85024undici@8.10.0修复版本 6.28.1 / 7.29.1 / 8.10.2undici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompression
另有 7 条同类漏洞未列出
依赖存在低危漏洞×3dep-vulnerability-low
CVE-2026-84947undici@8.10.0修复版本 7.29.1 / 8.10.2undici vulnerable to response truncation via oversized chunked responses in the dump interceptor
CVE-2026-85008undici@8.10.0修复版本 7.29.1 / 8.10.2undici vulnerable to caching and replay of unsafe HTTP method responses
另有 1 条同类漏洞未列出
源码审查2 条规则 · 4 次命中
Package exited non-zero×2l3.nonzero-exit
Threw an uncaught exception×2l3.runtime-error
依赖结构
18 项@deepseek-ai/dsh-session-format-catalog直接依赖随包安装
undici直接依赖随包安装
@deepseek-ai/cordispeer由宿主提供
@deepseek-ai/dsh-agentpeer由宿主提供
@deepseek-ai/dsh-api-remotespeer由宿主提供
@deepseek-ai/dsh-api-session-controllerpeer由宿主提供
@deepseek-ai/dsh-atomic-writepeer由宿主提供
@deepseek-ai/dsh-attachmentpeer由宿主提供
@deepseek-ai/dsh-client-storepeer由宿主提供
@deepseek-ai/dsh-client-ui-rendererpeer由宿主提供
@deepseek-ai/dsh-client-ui-sessionpeer由宿主提供
@deepseek-ai/dsh-commandspeer由宿主提供
@deepseek-ai/dsh-fspeer由宿主提供
@deepseek-ai/dsh-home-pathspeer由宿主提供
@deepseek-ai/dsh-host-webserverpeer由宿主提供
@deepseek-ai/dsh-http-proxypeer由宿主提供
@deepseek-ai/dsh-invariantspeer由宿主提供
@deepseek-ai/dsh-llmpeer由宿主提供
peer 依赖共 25 个,此处列出前 16 个。
