The Excalibur of Hyper-V / Hyper-V 神器
This report summarizes scanner evidence for Justsenger/ExHyperV, a C# project with 4,691 GitHub stars. SynthScan examined 53,452 lines of code across 222 source files, recording 151 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 8.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 27 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 121 finding(s).
Which changes need focused human review? 151 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 151 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/publish.yml | 25 | # ── 读取 csproj 版本号,按发布类型决定发布渠道 ────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 70 | # ── Beta 版本说明文案(中英双语,含生成时间,UTC+8)────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 90 | # ── 构建 ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 104 | # ── 签名:安装 SimplySign Desktop ──────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 113 | # ── 签名:认证 SimplySign ───────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 135 | # ── 签名:x64 EXE ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 145 | # ── 签名:arm64 EXE ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 191 | # ── 整理单文件发布资产 ──────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 235 | # ── 提交 Winget(仅正式版)─────────────────────────────────────── | COMMENT |
| MEDIUM | src/ViewModels/VmInstanceViewModel.cs | 328 | // ── 6. GPU 摘要名 ───────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/Win32Api.cs | 53 | // ── PnP 设备控制 ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/Win32Api.cs | 102 | // ── PnP 设备枚举 ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/Win32Api.cs | 274 | // ── cfgmgr32 属性查询 ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/Win32Api.cs | 318 | // ── 权限提升 ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/Win32Api.cs | 357 | // ── 离线注册表操作 ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/Tools/Api/ApiResponse.cs | 5 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/ApiResponse.cs | 7 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/ApiResponse.cs | 17 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/ApiResponse.cs | 20 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/ApiResponse.cs | 78 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/ApiResponse.cs | 81 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/DismApi.cs | 5 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/DismApi.cs | 9 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/DismApi.cs | 16 | // ── 公开接口 ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/DismApi.cs | 41 | // ── 内部实现 ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/DismApi.cs | 113 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/DismApi.cs | 115 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 6 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 9 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 21 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 25 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 51 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 54 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/WmiApi.cs | 120 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/WmiApi.cs | 124 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/WmiApi.cs | 127 | // ── A. 查询多行 ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 193 | // ── B. 查询单行 ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 227 | // ── C. 调用方法 ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 524 | // ── D. 改属性提交 ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 587 | // ── E. 关联查询 ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 742 | // ── F. 路径实例化 ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 780 | // ── 辅助:Hyper-V 管理服务快捷获取 ─────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 861 | // ── 辅助工具 ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 888 | // ── 内部:异步 Job 等待与结果获取 ───────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 984 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 986 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/HcsApi.cs | 8 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/HcsApi.cs | 11 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/HcsApi.cs | 40 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/HcsApi.cs | 44 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/HcsApi.cs | 52 | // ── CPU Group 操作 ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/Tools/Api/HcsApi.cs | 191 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/HcsApi.cs | 195 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | src/Tools/Api/HcsApi.cs | 203 | // ── vmcompute.dll P/Invoke 声明 ─────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/HcsApi.cs | 215 | // ── COM 初始化 P/Invoke ─────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/HcsApi.cs | 226 | // ── 通信方法 ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/HcsApi.cs | 295 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/HcsApi.cs | 298 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/ComApi.cs | 7 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/ComApi.cs | 9 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/Services/Vm/VmStorageService.cs | 53 | System.Windows.Application.Current.Dispatcher.Invoke(() => | CODE |
| CRITICAL | src/Services/Vm/VmStorageService.cs | 346 | System.Windows.Application.Current.Dispatcher.Invoke( | CODE |
| CRITICAL | src/Services/Vm/VmStorageService.cs | 359 | System.Windows.Application.Current.Dispatcher.Invoke( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Services/Vm/VmSecurityService.cs | 214 | // Step 1: 取或创建 UntrustedGuardian | COMMENT |
| LOW | src/Services/Vm/VmSecurityService.cs | 231 | // Step 2: 生成本地 KeyProtector | COMMENT |
| LOW⚡ | src/Services/Vm/VmSecurityService.cs | 242 | // Step 3: 取 Msvm_SecuritySettingData 序列化 | COMMENT |
| LOW⚡ | src/Services/Vm/VmSecurityService.cs | 251 | // Step 4: Msvm_SecurityService.SetKeyProtector | COMMENT |
| LOW | src/Services/Vm/VmSecurityService.cs | 267 | // Step 5: 仅 TpmEnabled=true(加密是独立开关,开 TPM 不连带开加密) | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 595 | // Step 1: 取或创建 UntrustedGuardian | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 615 | // Step 2: 生成本地 KeyProtector | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 628 | // Step 3: 取 Msvm_SecuritySettingData,序列化为 XML | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 640 | // Step 4: Msvm_SecurityService.SetKeyProtector | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 658 | // Step 5: TpmEnabled=true + EncryptStateAndVmMigrationTraffic=true | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Services/Vm/VmSecurityService.cs | 214 | // Step 1: 取或创建 UntrustedGuardian | COMMENT |
| LOW | src/Services/Vm/VmSecurityService.cs | 231 | // Step 2: 生成本地 KeyProtector | COMMENT |
| LOW⚡ | src/Services/Vm/VmSecurityService.cs | 242 | // Step 3: 取 Msvm_SecuritySettingData 序列化 | COMMENT |
| LOW⚡ | src/Services/Vm/VmSecurityService.cs | 251 | // Step 4: Msvm_SecurityService.SetKeyProtector | COMMENT |
| LOW | src/Services/Vm/VmSecurityService.cs | 267 | // Step 5: 仅 TpmEnabled=true(加密是独立开关,开 TPM 不连带开加密) | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 595 | // Step 1: 取或创建 UntrustedGuardian | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 615 | // Step 2: 生成本地 KeyProtector | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 628 | // Step 3: 取 Msvm_SecuritySettingData,序列化为 XML | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 640 | // Step 4: Msvm_SecurityService.SetKeyProtector | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 658 | // Step 5: TpmEnabled=true + EncryptStateAndVmMigrationTraffic=true | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Tools/Api/DismApi.cs | 1 | using System.Runtime.InteropServices; | COMMENT |
| LOW | src/Tools/Api/ComApi.cs | 181 | COMMENT | |
| LOW | src/Models/VmInstance.cs | 1 | using System.Collections.ObjectModel; | COMMENT |
| LOW | src/Properties/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | src/Services/Vm/ArpSnoopService.cs | 1 | using System.Collections.Concurrent; | COMMENT |
| LOW | src/Services/Vm/VmGpuRepairService.cs | 1 | using System.IO; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/install-simplysign.sh | 58 | # Check if msiexec process is actually running (like successful test) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Linux/script/fnOS-1.1.23-6.12.18-trim-GPU-PV.sh | 314 | except Exception as e: | CODE |