@twinsearth/dsh-experimental-liveshare

版本 3.5.0发布 2026-11-16仓库 TwinsEarth/DSH
2/4受限未判定

通过独立的 Liveshare 服务端分享 DSH 会话,提供已验证的所有者登录、查看者控制和受限执行。

会话与消息周下载 286依赖 8peer 2MIT依赖存在已知漏洞
pnpm add @twinsearth/dsh-experimental-liveshare

安装前须知

Node 要求
未声明
跟随宿主运行时
peer 依赖
2 个
由宿主提供,不随包安装
宿主服务
缺宿主服务
需要 webServer,headless 宿主未提供
入口 / 补丁
lib/index.js
bundle 已声明 · patch 随包

四段检测

逐层记录
收录门槛通过
manifest 是否声明 DSH 依赖或 dsh.bundle
离线审查未通过
静态结构包内清单、补丁文件与入口声明是否完整通过
配置组合装入一次性 DSH_HOME 后配置树能否合并
命中 high 或 critical 规则
未通过
源码审查静态阅读源码,检查危险调用与数据外发
计数单位 finding,非包数。
通过
真机安装通过
真机执行 pnpm 安装,退出码为 0 且 node_modules 生成
实测宿主版本 0.2.2-rc.5
加载实测未通过
安装完成后由真实宿主启动一次,检查入口是否激活
环境受限
检测环境缺少该插件所需的宿主服务(connection),headless 基线下无法判定。不计缺陷。

检测结论明细

共 8 次命中
静态结构2 条规则 · 2 次命中
启动子进程child-process-spawn
lib/index.js:2122const child = spawn(this.options.command.executable, [...this.options.command.args], {
代码中存在外部 URLremote-url-reference
lib/client.js:3971https:// http://liveshare.internal${path} http://liveshare.invalid http://viewer.invalid/
配置组合1 条规则 · 1 次命中
依赖存在高危漏洞dep-vulnerability-high
受影响依赖zod@4.4.3
CVE-2023-54404zod@4.4.3修复版本 4.6.6Zod can exhaust memory while validating oversized constrained collections
源码审查2 条规则 · 4 次命中
Package exited non-zero×2l3.nonzero-exit
state/runs/twinsearth-dsh-experimental-liveshare/3.5.0/L3/result.json
Threw an uncaught exception×2l3.runtime-error
state/runs/twinsearth-dsh-experimental-liveshare/3.5.0/L3/events.jsonlCannot find package '@twinsearth/dsh-atomic-write' imported from E:\DSHPWeb\state\runs\twinsearth-dsh-experimental-lives
加载实测1 条规则 · 1 次命中
L5 load: runtime_error / pending-servicel4load.pending-service

依赖结构

10 项
@twinsearth/dsh-atomic-write直接依赖随包安装
@twinsearth/dsh-brand直接依赖随包安装
@twinsearth/dsh-experimental-liveshare-protocol直接依赖随包安装
@twinsearth/dsh-session直接依赖随包安装
@twinsearth/dsh-typert-protocol直接依赖随包安装
@twinsearth/dsh-util-values直接依赖随包安装
ws直接依赖随包安装
zod直接依赖随包安装
@deepseek-ai/cordispeer由宿主提供
@twinsearth/dsh-scopepeer由宿主提供