The Excalibur of Hyper-V / Hyper-V 神器
This report presents the forensic synthetic code analysis of Justsenger/ExHyperV, a C# project with 4,378 GitHub stars. SynthScan v2.0 examined 46,630 lines of code across 189 source files, recording 213 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 14.2 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 213 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/publish.yml | 19 | # ── 读取 csproj 版本号,按后缀决定发布渠道 ────────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 60 | # ── 构建 ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 76 | # ── 签名:安装 SimplySign Desktop ──────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 85 | # ── 签名:认证 SimplySign ───────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/workflows/publish.yml | 106 | # ── 签名:x64 产物(EXE/DLL/SYS + CAT)────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/workflows/publish.yml | 115 | # ── 签名:arm64 EXE ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/workflows/publish.yml | 123 | # ── 打包 ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/publish.yml | 170 | # ── 提交 Winget(仅正式版,且必须是手动触发)────────────────────── | COMMENT |
| MEDIUM | src/ViewModels/VmInstanceViewModel.cs | 87 | // ─── IP / MAC ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/ViewModels/VmInstanceViewModel.cs | 100 | // ─── transient 状态机的内部锚点 ─────────────────────────── | COMMENT |
| MEDIUM | src/ViewModels/VmInstanceViewModel.cs | 260 | // ── GPU 历史队列初始化 + transient 状态推进 ────────── | COMMENT |
| MEDIUM | src/ViewModels/VmInstanceViewModel.cs | 325 | // ── 2. 推进 transient 状态机 ────────────────────────── | COMMENT |
| MEDIUM | src/ViewModels/VmInstanceViewModel.cs | 344 | // ── 6. GPU 摘要名 ───────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/Win32Api.cs | 12 | // ── PnP 设备控制 ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/Win32Api.cs | 61 | // ── PnP 设备枚举 ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/Win32Api.cs | 203 | // ── cfgmgr32 属性查询 ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/Win32Api.cs | 247 | // ── 权限提升 ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/Win32Api.cs | 286 | // ── 离线注册表操作 ──────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/VmbusApi.cs | 6 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/VmbusApi.cs | 9 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/VmbusApi.cs | 37 | // ── VMBus Socket 操作 ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/VmbusApi.cs | 70 | // ── TCP socket 优化 ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/VmbusApi.cs | 132 | // ── 原生读写(供 UsbVmbusService 的 NativePump 使用)───────── | COMMENT |
| MEDIUM | src/Tools/Api/VmbusApi.cs | 149 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/VmbusApi.cs | 151 | // ══════════════════════════════════════════════════════════════════ | 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 | 470 | // ── D. 改属性提交 ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 533 | // ── E. 关联查询 ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 689 | // ── F. 路径实例化 ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 727 | // ── 辅助:Hyper-V 管理服务快捷获取 ─────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 777 | // ── 辅助工具 ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 804 | // ── 内部:异步 Job 等待与结果获取 ───────────────────────────── | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 891 | // ══════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | src/Tools/Api/WmiApi.cs | 893 | // ══════════════════════════════════════════════════════════════════ | 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 |
| 116 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/Services/Vm/VmStorageService.cs | 57 | System.Windows.Application.Current.Dispatcher.Invoke(() => | CODE |
| CRITICAL | src/Services/Vm/VmStorageService.cs | 356 | System.Windows.Application.Current.Dispatcher.Invoke( | CODE |
| CRITICAL | src/Services/Vm/VmStorageService.cs | 369 | System.Windows.Application.Current.Dispatcher.Invoke( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Services/Vm/VmSecurityService.cs | 215 | // Step 1: 取或创建 UntrustedGuardian | COMMENT |
| LOW | src/Services/Vm/VmSecurityService.cs | 232 | // Step 2: 生成本地 KeyProtector | COMMENT |
| LOW⚡ | src/Services/Vm/VmSecurityService.cs | 243 | // Step 3: 取 Msvm_SecuritySettingData 序列化 | COMMENT |
| LOW⚡ | src/Services/Vm/VmSecurityService.cs | 252 | // Step 4: Msvm_SecurityService.SetKeyProtector | COMMENT |
| LOW | src/Services/Vm/VmSecurityService.cs | 268 | // Step 5: 仅 TpmEnabled=true(加密是独立开关,开 TPM 不连带开加密) | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 347 | // Step 1: 取或创建 UntrustedGuardian | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 367 | // Step 2: 生成本地 KeyProtector | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 380 | // Step 3: 取 Msvm_SecuritySettingData,序列化为 XML | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 392 | // Step 4: Msvm_SecurityService.SetKeyProtector | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 410 | // Step 5: TpmEnabled=true + EncryptStateAndVmMigrationTraffic=true | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Services/Vm/VmSecurityService.cs | 215 | // Step 1: 取或创建 UntrustedGuardian | COMMENT |
| LOW | src/Services/Vm/VmSecurityService.cs | 232 | // Step 2: 生成本地 KeyProtector | COMMENT |
| LOW⚡ | src/Services/Vm/VmSecurityService.cs | 243 | // Step 3: 取 Msvm_SecuritySettingData 序列化 | COMMENT |
| LOW⚡ | src/Services/Vm/VmSecurityService.cs | 252 | // Step 4: Msvm_SecurityService.SetKeyProtector | COMMENT |
| LOW | src/Services/Vm/VmSecurityService.cs | 268 | // Step 5: 仅 TpmEnabled=true(加密是独立开关,开 TPM 不连带开加密) | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 347 | // Step 1: 取或创建 UntrustedGuardian | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 367 | // Step 2: 生成本地 KeyProtector | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 380 | // Step 3: 取 Msvm_SecuritySettingData,序列化为 XML | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 392 | // Step 4: Msvm_SecurityService.SetKeyProtector | COMMENT |
| LOW | src/Services/Vm/VmCreateService.cs | 410 | // 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/Models/VmNetworkAdapter.cs | 41 | Source = 2 | COMMENT |
| LOW | src/Models/VmNetworkAdapter.cs | 121 | [ObservableProperty] | COMMENT |
| LOW | src/Models/VmNetworkAdapter.cs | 141 | /// </summary> | COMMENT |
| LOW | src/Models/VmNetworkAdapter.cs | 181 | COMMENT | |
| LOW | src/Models/VmNetworkAdapter.cs | 201 | /// 是否启用路由器守护,防止虚拟机发送非法的路由通告。 | COMMENT |
| LOW | src/Models/VmNetworkAdapter.cs | 261 | /// [现代加速] 是否启用接收段合并 (RSC),可显著降低 CPU 占用。 | 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 |
| LOW | src/Services/Vm/VmMmioService.cs | 1 | using System.Diagnostics; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/install-simplysign.sh | 50 | # 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 | 374 | except Exception as e: | CODE |