dsh-profile-gist-sync

版本 1.1.1发布 2026-11-10仓库 Meta-Virgo/dsh-profile-gist-sync
2/4受限未判定

把本机 DSH 配置备份到不公开列出的 secret GitHub Gist,在另一台机器上同步回来,并一眼看出两边是否一致。

数据与存储周下载 233MIT
pnpm add dsh-profile-gist-sync

安装前须知

Node 要求
>=20
package.json engines
peer 依赖
无
可独立安装
宿主服务
信号缺失
宿主只输出一行 did not activate
入口 / 补丁
./index.js
bundle 已声明 · patch 随包

四段检测

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

检测结论明细

共 9 次命中
收录判定1 条规则 · 1 次命中
发布者与仓库所有者不同l0-author-repo-differs
静态结构7 条规则 · 7 次命中
读取凭据/密钥文件路径credential-path-read
test/harness.mjs:65writeFileSync(join(root, '.npmrc'), 'registry=https://registry.example/\n')
启动子进程child-process-spawn
lib/gist.js:123child = spawn(candidates[index], ['auth', 'token'], {
读取凭据/密钥文件路径credential-path-read
test/library.test.mjs:25check('configuration is carried', ['cordis.yml', 'cordis.patch.yml', '.npmrc', 'pnpm-workspace.yaml', 'data/note.json', 'suppliers/one.js']
执行非字面量代码dynamic-exec-nonliteral
test/package.test.mjs:142new Function('window', 'document', clientSource)
拼接模块名再加载dynamic-require-constructed
test/package.test.mjs:105const { apply } = await import(`${root}/index.js`)
代码中存在外部 URLremote-url-reference
client.js:118https://github.com/settings/tokens/new?scopes=gist&description=DSH%20config%20sync https://gist.github.com/${settings.gistId} https://api.github.com h
提到凭据路径但没有读动作sensitive-path-reference
test/harness.mjs:65writeFileSync(join(root, '.npmrc'), 'registry=https://registry.example/\n')
加载实测1 条规则 · 1 次命中
插件未被宿主激活l4load.activation-failed

依赖结构

0 项

该版本未声明任何依赖,可独立安装。