dsh-client-auto-continue
github.com/HsiangNianian/dsh-auto-continue
v0.14.2
界面与主题
发起网络请求写入文件
DSH Web UI plugin: automatically sends a localized continue prompt when a request is interrupted by network errors or other non-human causes
该插件尚未翻译,显示作者原文。
dshdsh-plugindeepseek-harnesspluginweb-uiauto-continue
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
2需留意4一般18未命中
高关注需留意一般
能力清单
- 发起网络请求
network需留意4 处命中lib/client.js:432await fetch("/api/auto-continue-action", {lib/client.js:492const response = await fetch("/api/auto-continue-bridge", { signal: controller.signal });src/client/bridge.ts:87await fetch('/api/auto-continue-action', {src/client/bridge.ts:165const response = await fetch('/api/auto-continue-bridge', { signal: controller.signal });- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 写入文件
writes-files需留意3 处命中scripts/apply-workflow-icons.mjs:164fs.writeFileSync(artifactPath, html);scripts/prepare-github-package.mjs:28writeFileSync(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`);scripts/prepare-github-package.mjs:29writeFileSync(patchPath, patch.replace(sourceEntry, githubEntry));- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 动态加载模块
dynamic-import一般8 处命中lib/client.js:392return require(current);lib/client.js:394return require(legacy);scripts/ci-plugin-check.mjs:16const { checkRepo } = await import(`${checkerDir}/lib/index.js`);…ypes/client/composer-toggle.d.ts:16export declare function AutoContinueComposerToggle(props: PropsLocale<'auto-continue'> & InjectFace<ComposerToggleFace>)…- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 接触凭据或密钥
credentials一般5 处命中lib/index.js:207const permanent = /auth|unauthor|forbidden|credential|api[_-]?key|permission/i.test(haystack) || /insufficient.*(balance…README.md:48- **Error classification** — transient failures (network / timeout / 5xx / 429…) are auto-resumed; permanent ones are **…README.md:346- The engine reads session events and history through DSH's services. The browser talks to that host; the plugin adds no…src/shared/core.ts:230/** 稳定机器路由码(如 UPSTREAM、RATE_LIMIT_EXCEEDED、INVALID_API_KEY)。 */- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取文件
reads-files一般3 处命中scripts/apply-workflow-icons.mjs:105let html = fs.readFileSync(artifactPath, 'utf8');scripts/prepare-github-package.mjs:15const manifest = JSON.parse(readFileSync(manifestPath, 'utf8'));scripts/prepare-github-package.mjs:16const patch = readFileSync(patchPath, 'utf8');- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般2 处命中scripts/ci-plugin-check.mjs:13const checkerDir = process.env.CHECKER_DIR ?? '/tmp/dsh-plugin-check';scripts/ci-plugin-check.mjs:14const target = process.env.CHECK_TARGET ?? process.cwd();- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 4 |
| 写入文件 | writes-files | 需留意 | 3 |
| 动态加载模块 | dynamic-import | 一般 | 8 |
| 接触凭据或密钥 | credentials | 一般 | 5 |
| 读取文件 | reads-files | 一般 | 3 |
| 读取环境变量 | reads-env | 一般 | 2 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 39 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)