Repository Analysis

enfein/mieru

mieru is a socks5 / HTTP / HTTPS proxy to bypass censorship. 見える是一款 socks5 / HTTP / HTTPS 网络代理翻墙工具。

5.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of enfein/mieru, a Go project with 2,461 GitHub stars. SynthScan v2.0 examined 55,992 lines of code across 346 source files, recording 266 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 5.0 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).

5.0
Adjusted Score
5.0
Raw Score
100%
Time Factor
2026-08-09
Last Push
2.5K
Stars
Go
Language
56.0K
Lines of Code
346
Files
266
Pattern Hits
2026-08-09
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 3LOW 263

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 266 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.

Over-Commented Block236 hits · 236 pts
SeverityFileLineSnippetContext
LOWcmd/mieru/mieru.go1// Copyright (C) 2021 mieru authorsCOMMENT
LOWcmd/mita/mita.go1// Copyright (C) 2021 mieru authorsCOMMENT
LOWtools/scan_license.sh1#!/bin/bashCOMMENT
LOWtools/bump_version.sh1#!/bin/bashCOMMENT
LOWtools/setup.py1#!/usr/bin/env python3COMMENT
LOWtools/enable_tcp_bbr.py1#!/usr/bin/env python3COMMENT
LOWapis/trafficpattern/config.go1// Copyright (C) 2026 mieru authorsCOMMENT
LOWapis/trafficpattern/config_test.go1// Copyright (C) 2026 mieru authorsCOMMENT
LOWapis/internal/handshake.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/internal/early_conn_test.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/internal/early_conn.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/server/server.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/server/interface.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/server/interface.go41// ServerConfigurationService contains methods to manage proxy server configuration.COMMENT
LOWapis/server/interface.go61 // Stop deactivates the server.COMMENT
LOWapis/server/doc.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/common/user_context.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/common/dns.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/common/dialer.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/common/dns_test.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/common/packet_over_stream_test.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/common/conn_test.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/common/udp_associate_wrapper.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/common/packet_over_stream.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/common/listen.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/common/udp_associate_wrapper_test.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/common/conn.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/constant/user.go1// Copyright (C) 2026 mieru authorsCOMMENT
LOWapis/constant/socks5.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/model/addr.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/model/socks_test.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/model/socks.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/model/addr_test.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/log/log.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWapis/client/interface.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/client/interface.go41// ClientConfigurationService contains methods to manage proxy client configuration.COMMENT
LOWapis/client/interface.go61 // Stop deactivates the client.COMMENT
LOWapis/client/interface.go81 // This is a streaming based proxy connection. If the destination is a packetCOMMENT
LOWapis/client/client.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/client/doc.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWapis/client/client_test.go1// Copyright (C) 2026 mieru authorsCOMMENT
LOWtest/cmd/sockshttpclient/sockshttpclient.go1// Copyright (C) 2021 mieru authorsCOMMENT
LOWtest/cmd/socksudpclient/socksudpclient.go1// Copyright (C) 2022 mieru authorsCOMMENT
LOWtest/cmd/exampleapiserver/exampleapiserver.go1// Copyright (C) 2025 mieru authorsCOMMENT
LOWtest/cmd/httpserver/httpserver.go1// Copyright (C) 2021 mieru authorsCOMMENT
LOWtest/cmd/socks5server/socks5server.go1// Copyright (C) 2026 mieru authorsCOMMENT
LOWtest/cmd/exampleapiclient/exampleapiclient.go1// Copyright (C) 2024 mieru authorsCOMMENT
LOWtest/cmd/udpserver/udpserver.go1// Copyright (C) 2022 mieru authorsCOMMENT
LOWtest/deploy/mihomo/test_server.sh1#!/bin/bashCOMMENT
LOWtest/deploy/mihomo/test_client.sh1#!/bin/bashCOMMENT
LOWtest/deploy/mihomo/libtest.sh1#!/bin/bashCOMMENT
LOWtest/deploy/mihomo/test.sh1#!/bin/bashCOMMENT
LOWtest/deploy/socks5/test.sh1#!/bin/bashCOMMENT
LOWtest/deploy/egress/test.sh1#!/bin/bashCOMMENT
LOWtest/deploy/apiclient/test.sh1#!/bin/bashCOMMENT
LOWtest/deploy/basic/test_udp.sh1#!/bin/bashCOMMENT
LOWtest/deploy/basic/test_tcp.sh1#!/bin/bashCOMMENT
LOWtest/deploy/basic/test_mix_udp_associate.sh1#!/bin/bashCOMMENT
LOWtest/deploy/basic/libtest.sh1#!/bin/bashCOMMENT
LOWtest/deploy/basic/test.sh1#!/bin/bashCOMMENT
176 more matches not shown…
Excessive Try-Catch Wrapping8 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/setup.py372 except Exception as e:CODE
LOWtools/setup.py702 except Exception as e:CODE
LOWtools/setup.py792 except Exception as e:CODE
LOWtools/setup.py967 except Exception as e:CODE
LOWtools/enable_tcp_bbr.py62 except Exception as e:CODE
LOWtools/enable_tcp_bbr.py72 except Exception as e:CODE
LOWtools/enable_tcp_bbr.py80 except Exception as e:CODE
MEDIUMtools/enable_tcp_bbr.py58def is_bbr_enabled() -> bool:CODE
Modern Structural Boilerplate7 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/setup.py488 def set_user(self, name: str, password: str) -> None:CODE
LOWtools/setup.py493 def set_ip_port(self, ip: str, port: int, protocol: str) -> None:CODE
LOWtools/setup.py499 def set_ip_port_range(self, ip: str, port_range: str, protocol: str) -> None:CODE
LOWtools/setup.py505 def set_rpc_port(self, port: int) -> None:CODE
LOWtools/setup.py509 def set_socks5_port(self, port: int) -> None:CODE
LOWtools/setup.py513 def set_http_proxy_port(self, port: int) -> None:CODE
LOWtools/setup.py442 def set_user(self, name: str, password: str) -> None:CODE
Redundant / Tautological Comments3 hits · 7 pts
SeverityFileLineSnippetContext
LOWtools/scan_license.sh50# Check if a file should be excluded from license checking.COMMENT
LOWtools/scan_license.sh55 # Check if file matches exception exactly or starts with exception path (for directories).COMMENT
LOWtools/scan_license.sh63# Check if a file has the license header.COMMENT
Deep Nesting7 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/setup.py47CODE
LOWtools/setup.py319CODE
LOWtools/setup.py523CODE
LOWtools/setup.py611CODE
LOWtools/setup.py690CODE
LOWtools/setup.py817CODE
LOWtools/setup.py876CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtest/deploy/packetdrop/test.sh30# Create a separate network namespace "sim" for testing.COMMENT
MEDIUMtest/deploy/packetdrop/test.sh33# Create a veth pair, attach server part to the namespace, and assign IP addresses.COMMENT
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/setup.py349 def detect_mita_systemd_active(self) -> bool:CODE
LOWtools/setup.py363 def query_latest_mita_version(self) -> str:CODE
LOWtools/setup.py690 def build_client_configuration(self) -> None:CODE