dsh-client-ui-skin-center
v0.1.16
界面与主题
写入文件发起网络请求动态执行代码
dsh-web-ui 是 DeepSeek Harness(DSH)Web UI 的插件与皮肤集合:任务看板、Git 图谱、右侧面板、图像理解工具、鲸鱼娘宠物,以及皮肤中心。新增能力包括宿主级 cron、跨会话待办、真实 LLM 执行、自定义主题和自定义宠物。所有插件既可独立安装,也可通过聚合包一次装齐。
作者原文(英文)
In-GUI skin center for dsh web with ten bundled skins, an independent editable custom theme, live no-refresh try-on, global backgrounds, and one-click persisted apply.
中文简介由 DeepSeek 模型翻译,仅供参考。
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
3需留意3一般18未命中
高关注需留意一般
能力清单
- 写入文件
writes-files需留意16 处命中lib/index.js:68await mkdir(this.root, { recursive: true });lib/index.js:74if (now - (await stat(path)).mtimeMs > TEMP_MAX_AGE_MS) await unlink(path);lib/index.js:90await mkdir(this.root, { recursive: true });lib/index.js:99await writeFile(temporary, bytes, { flag: "wx" });- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意3 处命中lib/client.js:1469fetch("/api/skin-center/state").then(async (response) => {lib/client.js:1501fetch(window.location.href, { cache: "no-store" }).then(async (response) => {lib/client.js:1535const response = await fetch("/api/skin-center/apply", {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 动态执行代码
dynamic-code需留意1 处命中README.md:113- [x] On-demand loading: cold start does not parse the ~700KB embedded base64 (`generated/skins.ts` is only ~5KB of meta…- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 读取文件
reads-files一般26 处命中lib/index.js:69const entries = await readdir(this.root, { withFileTypes: true });lib/index.js:179for (const entry of readdirSync(scoped)) {lib/index.js:235const meta = JSON.parse(readFileSync(join(absDir, "skin.json"), "utf8"));lib/index.js:269entries = readdirSync(skinsDir);- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般4 处命中lib/index.js:205const fromEnv = process.env.DSH_SKINS_DIR;lib/index.js:587* @param env - environment map (defaults to process.env).lib/index.js:589function resolveHarnessHome(optsHome, env = process.env) {lib/index.js:606* @param env - environment map (defaults to process.env).- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 动态加载模块
dynamic-import一般3 处命中lib/client.js:1052* REGISTERS the factory. `window.__DSH_MODULES__.import(package)` (thelib/client.js:1249const apply = (await modules.import(entry.package)).apply;README.md:60- Try-on loading: the host route `/api/skin-center/bundle/<id>` serves `lib/client.js` on demand (same-origin script, lo…README.zh.md:60- 试穿加载:host 路由 `/api/skin-center/bundle/<id>` 按需提供 `lib/client.js`(同源 script,`<script>` 标签加载——与内核 `defaultLoadBundle` 同一…- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 写入文件 | writes-files | 需留意 | 16 |
| 发起网络请求 | network | 需留意 | 3 |
| 动态执行代码 | dynamic-code | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 26 |
| 读取环境变量 | reads-env | 一般 | 4 |
| 动态加载模块 | dynamic-import | 一般 | 3 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 7 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)