dsh-theme-endfield-re
github.com/SkillyNotFound/dsh-theme-endfield-re
Fork of dsh-theme-endfield (based on upstream 1.1.5): the industrial editorial look of the Arknights: Endfield official site 鈥?cream paper, ink text, signal-yellow accents, zero radius. Adds a contour centre-defocus pass (中央散景) and repairs the hero hooks
该插件尚未翻译,显示作者原文。
检测报告
能力清单
- 以 shell 执行命令
shell-exec高关注2 处命中SECURITY.md:73| `test/*.js`(12 个文件) | `execFileSync(chrome, [...])`(`exec_sync`,high) | 无头 Chrome 渲染截图 / 取 `--dump-dom`,做像素级视觉回归 | 参数以…SECURITY.md:74| `.github/scripts/*.js` | `execFileSync('git' / process.execPath, [...])`(`exec_sync`,high) | CI 里跑语法检查、`git diff --che…- 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
- 写入文件
writes-files需留意4 处命中lib/audio.js:251fs.mkdirSync(CACHE_DIR, { recursive: true });lib/audio.js:253if (!fs.existsSync(target)) fs.writeFileSync(target, scaled);index.js:670require('fs').writeFileSync(target, JSON.stringify(diagnosticSnapshot(ctx), null, 2) + '\n');index.js:683if (fs.existsSync(target)) fs.unlinkSync(target);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意2 处命中client.js:330return fetch(AUDIO_PREVIEW_URL, {client.js:391return fetch(AUDIO_ATTENTION_URL, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 客户端可疑脚本
client-side-risk需留意2 处命中- client.js: postMessage 无 origin 校验; client.js: innerHTML + postMessage
- 浏览器侧代码能改你看到的界面。确认改动范围符合插件用途。
- 动态执行代码
dynamic-code需留意1 处命中SECURITY.md:72| `test/contour-cusps.test.js:64` | `new Function(...)`(`new_function` / `function_ctor`,high) | 把 `client.js` 里**抽取出来的*…- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 读取环境变量
reads-env一般15 处命中lib/audio.js:271[path.join(process.env.SystemRoot || 'C:\\Windows', 'System32', 'WindowsPowerShell', 'v1.0', 'powershell.exe'), ...args]…lib/audio.js:352cwd: process.platform === 'win32' ? (process.env.SystemRoot || 'C:\\Windows') : '/',index.js:270const appData = process.env && (process.env.APPDATA || process.env.LOCALAPPDATA);index.js:276const raw = process.env && process.env.PATH;- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 读取文件
reads-files一般9 处命中lib/audio.js:71if (fs.existsSync(candidate)) return candidate;lib/audio.js:178if (fs.existsSync(candidate) && fs.statSync(candidate).isFile()) {lib/audio.js:221const parsed = parseWav(fs.readFileSync(file));lib/audio.js:244bytes = fs.readFileSync(file);- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般6 处命中index.js:405try { take(require(spec), spec); } catch (e) { /* not on this path */ }index.js:408take(require(require.resolve(spec, { paths: [dir] })), spec + ' from ' + dir);index.js:417try { take(require.main.require(spec), spec + ' via require.main'); } catch (e) { /* keep scanning */ }index.js:600on require (a dependency that will not load, a half-written install).- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 以 shell 执行命令 | shell-exec | 高关注 | 2 |
| 写入文件 | writes-files | 需留意 | 4 |
| 发起网络请求 | network | 需留意 | 2 |
| 客户端可疑脚本 | client-side-risk | 需留意 | 2 |
| 动态执行代码 | dynamic-code | 需留意 | 1 |
| 读取环境变量 | reads-env | 一般 | 15 |
| 读取文件 | reads-files | 一般 | 9 |
| 动态加载模块 | dynamic-import | 一般 | 6 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 21 个文件,扫描于 2026-10-16。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)
可信度
- 0没有可扣分的项
认证等级 L2
- L0内容完整性✓sha512-7R5FRR3WbpBhxvO1… 与本地 tarball 复算一致
- L1来源✓维护者 skillynotfound,仓库 SkillyNotFound/dsh-theme-endfield-re(未做仓库审计)
- L2发行✓隔离 profile 安装成功,7.4s,层已挂载
- L3生态—还没有契约/启动记录
- L4多方独立验证—本站不做第三方独立背书
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- skillynotfound
- 仓库
- https://github.com/SkillyNotFound/dsh-theme-endfield-re
- 许可
- MIT
- 最后发布
- 2026-10-08
- 周下载
- 299
- star
- 2
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级核验的是这个包本身(内容指纹、来源、能否安装、声明是否属实);依赖漏洞是独立标注的,两者正交、不互相掩盖。可信 ≠ 无漏洞,上架 ≠ 推荐。
DSH