D

dsh-client-modules

github.com/deepseek-ai/deepseek-harness

v0.0.1-rc.1 其他

客户端模块系统:Node 内部 ESM loader 在浏览器端的对等实现,以惰性 CJS 表的形式构建。Web shell 挂载随包分发的 cordis Loader 来做入口治理(fiber 生命周期、inject 等待、update/refresh),并通过其 `internal` 契约注入本包的 `ClientModuleLoader`——随包分发那一侧唯一的消费点就是 `EntryTree.import`,因此替换 `inte

作者原文(英文)

Client module system, dual-face: node half composes the __DSH_BOOT__ entry graph (incremental dsh.client scan, bundle route, index tap, webPlugins service); browser half is the lazy-CJS module table the vendored cordis Loader consumes as its internal seam

中文简介由 DeepSeek 模型翻译,仅供参考。

分类
other
发布
2026-08-10
版本
v0.0.1-rc.1

检测报告

能力很少。几乎没有命中能力模式,源码里很少出现敏感调用。
2一般22未命中
高关注需留意一般

能力清单

  • 动态加载模块dynamic-import一般5 处命中
    • lib/client.js:133async import(specifier) {
    • README.md:9Resolution branch order (`import(specifier)`): platform seed word → shell instance; memoized record → surface; shell-own…
    • README.zh.md:9解析分支顺序(`import(specifier)`):平台种子词 → 外壳实例;记忆化记录 → 表层;外壳自身的静态注册表(`registerStatic`,app-shell)→ 模块;已注册 factory → 物化;模块图记录(`w…
    • lib/types/client/manifest.d.ts:135/** Observed `require()` edges (module-graph boundary; only table words can appear today). */
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取文件reads-files一般4 处命中
    • lib/index.js:189const rev = shortHash(readFileSync(record.clientPath));
    • lib/index.js:248const pkg = JSON.parse(readFileSync(pkgPath, "utf8"));
    • lib/index.js:274return shortHash(readFileSync(clientPath));
    • lib/index.js:334const body = await readFile(path);
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
能力标识关注度命中次数
动态加载模块dynamic-import一般5
读取文件reads-files一般4

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 12 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

← 返回全部插件