AI Slop Code Risk Monitor

mihomo-party-org/clash-party

SlopCodeMonitor badge for mihomo-party-org/clash-party Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

:electron: Another Mihomo GUI.

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
27.1K
Stars
TypeScript
Language
83.9K
Lines of Code
380
Files
73
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 3.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 66 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 0 finding(s).

Agent Over-Engineering Ratio 5.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 71 finding(s).

PR Review Velocity Impact 5.0/100 · LOW

Which changes need focused human review? 73 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 7LOW 66

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers64 hits · 66 pts
SeverityFileLineSnippetContext
LOWsrc/renderer/src/utils/startup.ts19export function markInitialContentPartReady(part: InitialContentPart): void {CODE
LOWsrc/renderer/src/hooks/use-dns-override-notice.tsx10export function useDnsOverrideAutoDisabledNotice(): void {CODE
LOWsrc/renderer/src/pages/network.tsx133function mergeNetworkInfoCardOrder(saved: string[] = []): NetworkInfoCardKey[] {CODE
LOWsrc/shared/appConfig.ts15export function normalizeYamlMaxAliasCount(value: unknown): number {CODE
LOWsrc/shared/appConfig.ts55export function getDefaultMihomoTunDevice(platform: NodeJS.Platform | string): string {CODE
LOWsrc/shared/local-node/helpers.ts40export function listRequiredLocalNodeFields(type: string): LocalNodeFieldEntry[] {CODE
LOWsrc/shared/local-node/helpers.ts44export function listOptionalLocalNodeFields(type: string): LocalNodeFieldEntry[] {CODE
LOWsrc/shared/local-node/helpers.ts61export function listVisibleLocalNodeFields(type: string, added: readonly string[]): Set<string> {CODE
LOWsrc/shared/local-node/parse.ts353function mapShadowsocksPluginOptions(options: LocalObject): LocalObject {CODE
LOWsrc/main/index.ts47async function getWindowsPowerShellMajorVersion(): Promise<number | null> {CODE
LOWsrc/main/index.ts74async function ensureSupportedWindowsPowerShell(): Promise<boolean> {CODE
LOWsrc/main/index.ts176function createRendererFirstContentWaiter(timeout = 10000): RendererFirstContentWaiter {CODE
LOWsrc/main/index.ts250async function ensureNoHighPrivilegeCore(isAdmin: boolean): Promise<boolean> {CODE
LOWsrc/main/core/manager.ts139export function completeCoreInitialization(canStart: boolean): void {CODE
LOWsrc/main/core/manager.ts145function ensureCoreOperationAllowed(): void {CODE
LOWsrc/main/core/manager.ts891function stopCoreProcessAndStreams(CODE
LOWsrc/main/core/manager.ts920async function cleanupStoppedCoreResources(): Promise<void> {CODE
LOWsrc/main/core/manager.ts995async function restartCoreAfterUnexpectedExit(): Promise<void> {CODE
LOWsrc/main/core/process.ts183export async function validateWindowsPipeAccess(pipePath: string): Promise<void> {CODE
LOWsrc/main/core/permissions.ts24export function setStopCoreBeforeAdminRestart(stopCore: StopCoreBeforeAdminRestart): void {CODE
LOWsrc/main/core/permissions.ts72export async function checkMihomoCorePermissions(): Promise<boolean> {CODE
LOWsrc/main/core/permissions.ts128async function checkHighPrivilegeMihomoProcess(): Promise<boolean> {CODE
LOWsrc/main/core/permissions.ts348export async function validateTunPermissionsOnStartup(CODE
LOWsrc/main/core/admin.ts11export function primeAdminPrivilegesCache(value: boolean): void {CODE
LOWsrc/main/core/factory.ts101function ensureSmartProxyServerTunExclude(profile: IMihomoConfig, enabled: boolean): string[] {CODE
LOWsrc/main/core/dnsOverrideGuard.ts154export async function takeDnsOverrideAutoDisabledNotice(): Promise<boolean> {CODE
LOWsrc/main/core/profileUpdater.ts95function scheduleDelayedCurrentUpdate(item: IProfileItem): void {CODE
LOWsrc/main/resolve/gistApi.ts126async function uploadRuntimeConfigContent(runtimeConfig: string): Promise<boolean> {CODE
LOWsrc/main/resolve/gistApi.ts158export async function uploadRuntimeConfigIfChanged(): Promise<void> {CODE
LOWsrc/main/resolve/gistApi.ts181export function scheduleRuntimeConfigUpload(): void {CODE
LOWsrc/main/resolve/tray.ts662function createMultiScaleTrayImage(icon: Electron.NativeImage): Electron.NativeImage {CODE
LOWsrc/main/resolve/tray.ts759function getCustomTrayIconForStatus(CODE
LOWsrc/main/resolve/tray.ts775function createCustomTrayImageForStatus(CODE
LOWsrc/main/resolve/backup.ts32function sanitizeDeviceNameForFilename(name: string): string {CODE
LOWsrc/main/resolve/backup.ts190export async function initWebdavBackupScheduler(): Promise<void> {CODE
LOWsrc/main/resolve/backup.ts224export async function stopWebdavBackupScheduler(): Promise<void> {CODE
LOWsrc/main/resolve/server.ts97export async function startSubStoreFrontendServer(): Promise<void> {CODE
LOWsrc/main/resolve/server.ts111export async function stopSubStoreFrontendServer(): Promise<void> {CODE
LOWsrc/main/resolve/server.ts117export async function startSubStoreBackendServer(): Promise<void> {CODE
LOWsrc/main/resolve/server.ts163export async function stopSubStoreBackendServer(): Promise<void> {CODE
LOWsrc/main/resolve/floatingWindow.ts24function restoreFloatingWindowPosition(): { x?: number; y?: number } {CODE
LOWsrc/main/resolve/plugin/index.ts632async function revokePluginDeviceUnlocked(CODE
LOWsrc/main/config/controledMihomo.ts27function cloneDefaultControledMihomoConfig(): Partial<IMihomoConfig> {CODE
LOWsrc/main/config/controledMihomo.ts92export async function patchControledMihomoConfig(patch: Partial<IMihomoConfig>): Promise<void> {CODE
LOWsrc/main/config/smartOverride.ts10function generateSmartOverrideTemplate(CODE
LOWsrc/main/config/profile.ts74async function removeProfileWorkDirWithPkexec(workDir: string): Promise<void> {CODE
LOWsrc/main/config/profile.ts497async function fetchAndValidateSubscription(options: FetchOptions): Promise<FetchResult> {CODE
LOWsrc/main/config/profile.ts1115export function isPluginProfileInvalidError(e: unknown): boolean {CODE
LOWsrc/main/config/profile.ts1246export async function syncPluginProfileSchedule(CODE
LOWsrc/main/config/profile.ts1266export async function removePluginProfileContent(profileId: string): Promise<void> {CODE
LOW⚡src/main/utils/logFile.ts44export function normalizeMaxLogFileSizeMB(value: unknown): number {CODE
LOW⚡src/main/utils/logFile.ts50export function setGlobalMaxLogFileSizeMB(value: unknown): void {CODE
LOW⚡src/main/utils/logFile.ts55export function getGlobalMaxLogFileSizeBytes(): number {CODE
LOWsrc/main/utils/logFile.ts93async function appendToFileWithLimitInternal(CODE
LOWsrc/main/utils/logFile.ts185export function createCappedLogWritableStream(CODE
LOWsrc/main/utils/logFile.ts192export function createCoreLogWritableStream(CODE
LOWsrc/main/utils/ipc.ts210async function installSpecificMihomoCore(version: string): Promise<void> {CODE
LOWsrc/main/utils/dirs.ts105export function controledMihomoConfigPath(): string {CODE
LOWsrc/main/local/providers.ts5export function normalizeLocalProviderOptions(value: LocalObject): LocalObject {CODE
LOWsrc/main/local/service.ts73export async function inheritLocalGeneralSettings(): Promise<void> {CODE
4 more matches not shown…
Decorative Section Separators7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUM…c/renderer/src/components/network/network-topology.tsx17// ─── Types ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/src/components/network/network-topology.tsx32// ─── Color helpers ────────────────────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/src/components/network/network-topology.tsx64// ─── Hierarchy builder ────────────────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/src/components/network/network-topology.tsx236// ─── Text measurement ─────────────────────────────────────────────────────────COMMENT
MEDIUM…c/renderer/src/components/network/network-topology.tsx247// ─── Main component ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/renderer/src/pages/network.tsx112// ─── Latency ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/renderer/src/pages/network.tsx245// ─────────────────────────────────────────────────────────────────────────────COMMENT
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/renderer/src/utils/init.ts1import { getPlatform, getVersion } from './ipc'COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/main/traffic/database-worker.ts252function handleRequest(request: TrafficDatabaseRequest): TrafficDatabaseResponse['result'] {CODE