:electron: Another Mihomo GUI.
This report summarizes scanner evidence for mihomo-party-org/clash-party, a TypeScript project with 27,055 GitHub stars. SynthScan examined 83,926 lines of code across 380 source files, recording 73 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.1 (Low 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 66 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 71 finding(s).
Which changes need focused human review? 73 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 73 distinct pattern matches across 4 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 |
|---|---|---|---|---|
| LOW | src/renderer/src/utils/startup.ts | 19 | export function markInitialContentPartReady(part: InitialContentPart): void { | CODE |
| LOW | src/renderer/src/hooks/use-dns-override-notice.tsx | 10 | export function useDnsOverrideAutoDisabledNotice(): void { | CODE |
| LOW | src/renderer/src/pages/network.tsx | 133 | function mergeNetworkInfoCardOrder(saved: string[] = []): NetworkInfoCardKey[] { | CODE |
| LOW | src/shared/appConfig.ts | 15 | export function normalizeYamlMaxAliasCount(value: unknown): number { | CODE |
| LOW | src/shared/appConfig.ts | 55 | export function getDefaultMihomoTunDevice(platform: NodeJS.Platform | string): string { | CODE |
| LOW | src/shared/local-node/helpers.ts | 40 | export function listRequiredLocalNodeFields(type: string): LocalNodeFieldEntry[] { | CODE |
| LOW | src/shared/local-node/helpers.ts | 44 | export function listOptionalLocalNodeFields(type: string): LocalNodeFieldEntry[] { | CODE |
| LOW | src/shared/local-node/helpers.ts | 61 | export function listVisibleLocalNodeFields(type: string, added: readonly string[]): Set<string> { | CODE |
| LOW | src/shared/local-node/parse.ts | 353 | function mapShadowsocksPluginOptions(options: LocalObject): LocalObject { | CODE |
| LOW | src/main/index.ts | 47 | async function getWindowsPowerShellMajorVersion(): Promise<number | null> { | CODE |
| LOW | src/main/index.ts | 74 | async function ensureSupportedWindowsPowerShell(): Promise<boolean> { | CODE |
| LOW | src/main/index.ts | 176 | function createRendererFirstContentWaiter(timeout = 10000): RendererFirstContentWaiter { | CODE |
| LOW | src/main/index.ts | 250 | async function ensureNoHighPrivilegeCore(isAdmin: boolean): Promise<boolean> { | CODE |
| LOW | src/main/core/manager.ts | 139 | export function completeCoreInitialization(canStart: boolean): void { | CODE |
| LOW | src/main/core/manager.ts | 145 | function ensureCoreOperationAllowed(): void { | CODE |
| LOW | src/main/core/manager.ts | 891 | function stopCoreProcessAndStreams( | CODE |
| LOW | src/main/core/manager.ts | 920 | async function cleanupStoppedCoreResources(): Promise<void> { | CODE |
| LOW | src/main/core/manager.ts | 995 | async function restartCoreAfterUnexpectedExit(): Promise<void> { | CODE |
| LOW | src/main/core/process.ts | 183 | export async function validateWindowsPipeAccess(pipePath: string): Promise<void> { | CODE |
| LOW | src/main/core/permissions.ts | 24 | export function setStopCoreBeforeAdminRestart(stopCore: StopCoreBeforeAdminRestart): void { | CODE |
| LOW | src/main/core/permissions.ts | 72 | export async function checkMihomoCorePermissions(): Promise<boolean> { | CODE |
| LOW | src/main/core/permissions.ts | 128 | async function checkHighPrivilegeMihomoProcess(): Promise<boolean> { | CODE |
| LOW | src/main/core/permissions.ts | 348 | export async function validateTunPermissionsOnStartup( | CODE |
| LOW | src/main/core/admin.ts | 11 | export function primeAdminPrivilegesCache(value: boolean): void { | CODE |
| LOW | src/main/core/factory.ts | 101 | function ensureSmartProxyServerTunExclude(profile: IMihomoConfig, enabled: boolean): string[] { | CODE |
| LOW | src/main/core/dnsOverrideGuard.ts | 154 | export async function takeDnsOverrideAutoDisabledNotice(): Promise<boolean> { | CODE |
| LOW | src/main/core/profileUpdater.ts | 95 | function scheduleDelayedCurrentUpdate(item: IProfileItem): void { | CODE |
| LOW | src/main/resolve/gistApi.ts | 126 | async function uploadRuntimeConfigContent(runtimeConfig: string): Promise<boolean> { | CODE |
| LOW | src/main/resolve/gistApi.ts | 158 | export async function uploadRuntimeConfigIfChanged(): Promise<void> { | CODE |
| LOW | src/main/resolve/gistApi.ts | 181 | export function scheduleRuntimeConfigUpload(): void { | CODE |
| LOW | src/main/resolve/tray.ts | 662 | function createMultiScaleTrayImage(icon: Electron.NativeImage): Electron.NativeImage { | CODE |
| LOW | src/main/resolve/tray.ts | 759 | function getCustomTrayIconForStatus( | CODE |
| LOW | src/main/resolve/tray.ts | 775 | function createCustomTrayImageForStatus( | CODE |
| LOW | src/main/resolve/backup.ts | 32 | function sanitizeDeviceNameForFilename(name: string): string { | CODE |
| LOW | src/main/resolve/backup.ts | 190 | export async function initWebdavBackupScheduler(): Promise<void> { | CODE |
| LOW | src/main/resolve/backup.ts | 224 | export async function stopWebdavBackupScheduler(): Promise<void> { | CODE |
| LOW | src/main/resolve/server.ts | 97 | export async function startSubStoreFrontendServer(): Promise<void> { | CODE |
| LOW | src/main/resolve/server.ts | 111 | export async function stopSubStoreFrontendServer(): Promise<void> { | CODE |
| LOW | src/main/resolve/server.ts | 117 | export async function startSubStoreBackendServer(): Promise<void> { | CODE |
| LOW | src/main/resolve/server.ts | 163 | export async function stopSubStoreBackendServer(): Promise<void> { | CODE |
| LOW | src/main/resolve/floatingWindow.ts | 24 | function restoreFloatingWindowPosition(): { x?: number; y?: number } { | CODE |
| LOW | src/main/resolve/plugin/index.ts | 632 | async function revokePluginDeviceUnlocked( | CODE |
| LOW | src/main/config/controledMihomo.ts | 27 | function cloneDefaultControledMihomoConfig(): Partial<IMihomoConfig> { | CODE |
| LOW | src/main/config/controledMihomo.ts | 92 | export async function patchControledMihomoConfig(patch: Partial<IMihomoConfig>): Promise<void> { | CODE |
| LOW | src/main/config/smartOverride.ts | 10 | function generateSmartOverrideTemplate( | CODE |
| LOW | src/main/config/profile.ts | 74 | async function removeProfileWorkDirWithPkexec(workDir: string): Promise<void> { | CODE |
| LOW | src/main/config/profile.ts | 497 | async function fetchAndValidateSubscription(options: FetchOptions): Promise<FetchResult> { | CODE |
| LOW | src/main/config/profile.ts | 1115 | export function isPluginProfileInvalidError(e: unknown): boolean { | CODE |
| LOW | src/main/config/profile.ts | 1246 | export async function syncPluginProfileSchedule( | CODE |
| LOW | src/main/config/profile.ts | 1266 | export async function removePluginProfileContent(profileId: string): Promise<void> { | CODE |
| LOW⚡ | src/main/utils/logFile.ts | 44 | export function normalizeMaxLogFileSizeMB(value: unknown): number { | CODE |
| LOW⚡ | src/main/utils/logFile.ts | 50 | export function setGlobalMaxLogFileSizeMB(value: unknown): void { | CODE |
| LOW⚡ | src/main/utils/logFile.ts | 55 | export function getGlobalMaxLogFileSizeBytes(): number { | CODE |
| LOW | src/main/utils/logFile.ts | 93 | async function appendToFileWithLimitInternal( | CODE |
| LOW | src/main/utils/logFile.ts | 185 | export function createCappedLogWritableStream( | CODE |
| LOW | src/main/utils/logFile.ts | 192 | export function createCoreLogWritableStream( | CODE |
| LOW | src/main/utils/ipc.ts | 210 | async function installSpecificMihomoCore(version: string): Promise<void> { | CODE |
| LOW | src/main/utils/dirs.ts | 105 | export function controledMihomoConfigPath(): string { | CODE |
| LOW | src/main/local/providers.ts | 5 | export function normalizeLocalProviderOptions(value: LocalObject): LocalObject { | CODE |
| LOW | src/main/local/service.ts | 73 | export async function inheritLocalGeneralSettings(): Promise<void> { | CODE |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …c/renderer/src/components/network/network-topology.tsx | 17 | // ─── Types ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/src/components/network/network-topology.tsx | 32 | // ─── Color helpers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/src/components/network/network-topology.tsx | 64 | // ─── Hierarchy builder ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/src/components/network/network-topology.tsx | 236 | // ─── Text measurement ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/src/components/network/network-topology.tsx | 247 | // ─── Main component ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/src/pages/network.tsx | 112 | // ─── Latency ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/src/pages/network.tsx | 245 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/renderer/src/utils/init.ts | 1 | import { getPlatform, getVersion } from './ipc' | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/main/traffic/database-worker.ts | 252 | function handleRequest(request: TrafficDatabaseRequest): TrafficDatabaseResponse['result'] { | CODE |