dsh-autotier

版本 0.2.23发布 2026-11-22仓库 PerryLink/dsh-autotier
3/4装得上 · 启动通过

🧊 2026-10-31 起冻结,维护模式。 不再新增功能;只做安全与依赖修复。

模型与供应商周下载 824依赖 1peer 18Apache-2.0安装时执行脚本
pnpm add dsh-autotier

安装前须知

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

四段检测

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

检测结论明细

共 11 次命中
静态结构5 条规则 · 7 次命中
读取凭据/密钥文件路径×2credential-path-read
src/guard-rules.ts:157requires login
执行非字面量代码×2dynamic-exec-nonliteral
lib/wire-BxsY8BiN.js:122new Function("");
取回脚本管道给 shell 执行curl-pipe-shell
lib/index.js:1063description: "curl | sh: remote script execution",
代码中存在外部 URLremote-url-reference
lib/client.js:2179http://[${value} https://json-schema.org/draft/2020-12/schema http://json-schema.org/draft-07/schema# http://json-schema
提到凭据路径但没有读动作sensitive-path-reference
lib/index.js:1110description: "id_rsa/id_ed25519/id_ecdsa/id_dsa key or .netrc",
源码审查2 条规则 · 4 次命中
Package exited non-zero×2l3.nonzero-exit
state/runs/dsh-autotier/0.2.23/L3/result.json
Threw an uncaught exception×2l3.runtime-error
state/runs/dsh-autotier/0.2.23/L3/events.jsonlCannot find package '@deepseek-ai/cosmokit' imported from E:\DSHPWeb\state\runs\dsh-autotier\0.2.23\L3\src\package\lib\i

依赖结构

17 项
zod直接依赖随包安装
@deepseek-ai/cordispeer由宿主提供
@deepseek-ai/cosmokitpeer由宿主提供
@deepseek-ai/dsh-agentpeer由宿主提供
@deepseek-ai/dsh-api-remotespeer由宿主提供
@deepseek-ai/dsh-client-connectionpeer由宿主提供
@deepseek-ai/dsh-client-localepeer由宿主提供
@deepseek-ai/dsh-client-ui-conversationpeer由宿主提供
@deepseek-ai/dsh-client-ui-settingspeer由宿主提供
@deepseek-ai/dsh-client-ui-slotspeer由宿主提供
@deepseek-ai/dsh-commandspeer由宿主提供
@deepseek-ai/dsh-llmpeer由宿主提供
@deepseek-ai/dsh-plan-modepeer由宿主提供
@deepseek-ai/dsh-sessionpeer由宿主提供
@deepseek-ai/dsh-session-projectionpeer由宿主提供
@deepseek-ai/dsh-settingspeer由宿主提供
@deepseek-ai/dsh-toolspeer由宿主提供

peer 依赖共 18 个,此处列出前 16 个。