@twinsearth/w2m-dsh-plugin

版本 3.8.1发布 2026-11-21仓库 TwinsEarth/dsh-windows2macos
3/4装得上 · 启动通过

一个 DeepSeek 账号。一条指令。你拥有的每台机器都运行同一个项目。

自动化与工作流周下载 2,466peer 1MIT
pnpm add @twinsearth/w2m-dsh-plugin

安装前须知

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

四段检测

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

检测结论明细

共 7 次命中
静态结构7 条规则 · 7 次命中
读取凭据/密钥文件路径credential-path-read
src/plugin/gpw-colors.mjs:66requires login
改写 shell 启动脚本shell-profile-tamper
src/agent/allowed-commands.mjs:213{ token: '--rcfile', why: "it is bash's --rcfile, which runs the named file instead of ~/.bashrc" },
启动子进程child-process-spawn
bin/remote-s2-capture.mjs:59const run = spawnSync('powershell.exe', ['-NoProfile','-NonInteractive','-STA','-ExecutionPolicy','Bypass','-Command', script], { timeout: 20000, enco
执行非字面量代码dynamic-exec-nonliteral
src/decision-center/vendor/schemastery.mjs:45schema.callback = new Function("return " + schema.callback)();
拼接模块名再加载dynamic-require-constructed
src/backup/runtime-driver.mjs:120({ sessionFormatCatalog: catalog } = await import(`${packages}/@deepseek-ai/dsh-session-format-catalog/lib/index.js`));
遍历目录后批量改写mass-file-overwrite
src/agent/sinks/dir-sink.mjs:73return readdirSync(root).filter((name) => name.endsWith('.json') && OBJECT_ID.test(name.slice(0, -5))).map((name) => name.slice(0, -5));
代码中存在外部 URLremote-url-reference
bin/w2m-localside.mjs:43https://host/w2m http://202.182.123.154:8787 http://106.53.197.47:8787 https://api.deepseek.com/v1 http://www.w3.org/2000/svg

依赖结构

1 项
@deepseek-ai/dsh-toolspeer由宿主提供