@dshos-link/connector

版本 0.2.19发布 2026-11-19
3/4装得上 · 启动通过

源码归属:本插件在 dshoslink-harmony-connector 独立开发,对应原生鸿蒙 App。

集成与连接周下载 639依赖 6peer 2SEE LICENSE IN LICENSE依赖存在已知漏洞
pnpm add @dshos-link/connector

安装前须知

Node 要求
^22.19.0 || >=24.0.0
package.json engines
peer 依赖
2 个
由宿主提供,不随包安装
宿主服务
无需额外服务
装完由真宿主启动一次
入口 / 补丁
./dist/index.js
bundle 已声明 · patch 随包

四段检测

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

检测结论明细

共 11 次命中
收录判定1 条规则 · 1 次命中
未声明代码仓库l0-repo-missing
静态结构5 条规则 · 5 次命中
执行非字面量代码dynamic-exec-nonliteral
dist/session-image-prepare.js:271schema.callback = new Function("return " + schema.callback)();
启动子进程child-process-spawn
dist/completion-protection.js:56child = spawn(resolveTrustedWindowsPowerShellPath(), ['-NoLogo', '-NoProfile', '-NonInteractive', '-Command', script], {
遍历目录后批量改写mass-file-overwrite
dist/remote-access-switch.js:104const entries = readdirSync(this.resumedDirectory);
代码中存在外部 URLremote-url-reference
dist/client/pairing-diagnostics.js:64https://agreement-drcn.hispace.dbankcloud.cn/index.html?lang=zh&agreementId=2036788658081690688 http://[${payload.value}
长延时后执行timing-evasion
dist/session-audio.js:60const timeout = setTimeout(stop, 15000);
配置组合1 条规则 · 1 次命中
依赖存在高危漏洞dep-vulnerability-high
受影响依赖sharp@0.35.4
CVE-2026-114111sharp@0.35.4修复版本 0.35.5sharp : Vulnerability in librsvg dependency CVE-2026-96889
源码审查2 条规则 · 4 次命中
Package exited non-zero×2l3.nonzero-exit
state/runs/dshos-link-connector/0.2.19/L3/result.json
Threw an uncaught exception×2l3.runtime-error
state/runs/dshos-link-connector/0.2.19/L3/events.jsonlCannot find package '@deepseek-ai/cordis' imported from E:\DSHPWeb\state\runs\dshos-link-connector\0.2.19\L3\src\package

依赖结构

8 项
@homebridge/ciao直接依赖随包安装
@peculiar/x509直接依赖随包安装
reflect-metadata直接依赖随包安装
sharp直接依赖随包安装
ws直接依赖随包安装
zod直接依赖随包安装
@deepseek-ai/cordispeer由宿主提供
reactpeer由宿主提供