fix: harden guest driver host APIs
- run elevated actions as fixed System32 tools instead of a hidden subcommand - require a SHA-256 for plugin downloads - keep records of secret files that could not be deleted, and never overwrite files the host did not create - stop two concurrent requests from starting the same VM - drop invalid endpoints instead of failing the whole VM list, and reject ssh users and IPv6 zones that could inject command-line text - accept driver screenshots only at the requested path - do not treat an unreadable guest phase as normal Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
58cf86d5eb
commit
44e2174fff
32 files changed
+431
-689
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"group": "new",
|
||||
"order": 0,
|
||||
"authors": ["icaruszezen"],
|
||||
"zh": "完整支持非 macOS 客体驱动宿主前置能力。客体驱动可按托管或进程树方式运行虚拟机,并上报状态、就绪情况、阶段、客体系统与访问入口;宿主新增统一控制台路由(支持 `driver/console.*`)、受 DPAPI 保护的虚拟机密钥物化与自动清理、受来源与重定向约束的后台代下载及关闭确认,以及基于内置隐藏提权子命令与桌面确认弹窗的白名单受控提权。插件契约升级为 `pluginApi 1.2` 和 `uiApi 2.1`,并公开 `pkg/drivertest` 契约测试套件([#74](https://github.com/Nwflower/Reims-Go/issues/74))。",
|
||||
"en": "Complete host prerequisites for non-macOS guest drivers. Drivers can run VMs as hosted or process-tree instances and report state, readiness, phase, guest OS, and access endpoints; the host adds a unified console router (supporting `driver/console.*`), DPAPI-backed secret materialization with automatic cleanup, origin- and redirect-guarded host downloads with close confirmation, and whitelisted elevation via an embedded subcommand behind a host confirmation dialog and Windows UAC. The plugin contracts move to `pluginApi 1.2` and `uiApi 2.1`, and `pkg/drivertest` is public ([#74](https://github.com/Nwflower/Reims-Go/issues/74))."
|
||||
"authors": ["icaruszezen", "Nwflower"],
|
||||
"zh": "支持由插件接入非 macOS 虚拟机,可在客户端查看其状态,并通过 SSH、WSL、远程桌面、Hyper-V 连接或 ADB 打开。插件契约升级为 `pluginApi 1.2` 和 `uiApi 2.1`,并公开 `pkg/drivertest` 契约测试套件([#74](https://github.com/Nwflower/Reims-Go/issues/74))。",
|
||||
"en": "Let plugins add non-macOS VMs, with their state shown in the app and access through SSH, WSL, Remote Desktop, VMConnect, or ADB. The plugin contracts move to `pluginApi 1.2` and `uiApi 2.1`, and the `pkg/drivertest` contract test suite is public ([#74](https://github.com/Nwflower/Reims-Go/issues/74))."
|
||||
}
|
||||
Reference in new issue
Block a user