dsh-codex-ui
github.com/MichengAI/dsh-codex-ui
v1.1.36
界面与主题
可执行外部程序写入文件发起网络请求
DSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航 · A Codex-style sidebar, workspace session tree, global search, and turn navigation for DSH Web
该插件尚未翻译,显示作者原文。
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注2需留意5一般16未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注1 处命中lib/index.mjs:1import { spawn } from "node:child_process";- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意20 处命中lib/index.mjs:433if (next !== source) await writeFile(path, next, "utf8");lib/index.mjs:571await writeFile(pendingPath, `${JSON.stringify({ packages }, void 0, 2)}\n`, "utf8");lib/index.mjs:581await unlink(pendingPath);lib/index.mjs:584await writeFile(pendingPath, `${JSON.stringify({ packages }, void 0, 2)}\n`, "utf8");- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意3 处命中lib/index.mjs:66const metadata = await fetch(`https://registry.npmjs.org/${encoded}`, { signal: AbortSignal.timeout(5e3) });lib/index.mjs:82const response = await fetch(`https://api.npmjs.org/downloads/point/${range.start}:${range.end}/${encoded}`, { signal: A…lib/index.mjs:390const response = await fetch(`https://registry.npmjs.org/${encodeURIComponent(packageName)}/${tag}`, { signal: AbortSign…- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 读取文件
reads-files一般15 处命中lib/index.mjs:210const hostProfileDir = isOfficialDesktopHostEntry(argv[1]) && existsSync(resolve(cwd, "package.json")) ? resolve(cwd) : …lib/index.mjs:248if (typeof pnpm !== "string" || !isAbsolute(pnpm) || !existsSync(pnpm)) return void 0;lib/index.mjs:270const bin = JSON.parse(readFileSync(anchor, "utf8")).bin;lib/index.mjs:274return existsSync(entry) ? entry : void 0;- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般8 处命中lib/index.mjs:186const env = options.env ?? process.env;lib/index.mjs:250const path = typeof bin === "string" && bin !== "" ? `${bin}${delimiter}${process.env.PATH ?? ""}` : process.env.PATH;lib/index.mjs:745function pluginToolSearchDirs(platform = process.platform, env = process.env, home = homedir(), nodeDir = dirname(proces…lib/index.mjs:758function pluginSpawnEnv(env = process.env, platform = process.platform, home = homedir(), nodeDir = dirname(process.exec…- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 接触凭据或密钥
credentials一般5 处命中CHANGELOG.md:448- Added a full-test and tag/package-version gate before `npm publish`; npm credentials are no longer stored in the repos…CHANGELOG.zh-CN.md:448- `npm publish` 前新增完整测试和标签/package.json 版本一致性门禁;不再在仓库或 Actions Secrets 中保存 npm 凭据。README.md:120| Inspect connectors | Open **Settings → Connectors**. Addresses, commands, and credentials are never shown. |lib/session-title-plugin.mjs:479"connectors.description": "Shows MCP connectors and tools available to this session without exposing addresses, commands…- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般2 处命中lib/index.mjs:1409const transform = (await import("node:zlib"))[name];lib/index.mjs:1421const { constants } = await import("node:zlib");- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 文中出现远程脚本地址
remote-url-reference一般2 处命中README.md:17[](h…README.zh-CN.md:17[](h…- 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 1 |
| 写入文件 | writes-files | 需留意 | 20 |
| 发起网络请求 | network | 需留意 | 3 |
| 读取文件 | reads-files | 一般 | 15 |
| 读取环境变量 | reads-env | 一般 | 8 |
| 接触凭据或密钥 | credentials | 一般 | 5 |
| 动态加载模块 | dynamic-import | 一般 | 2 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 2 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 12 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)