mieru is a socks5 / HTTP / HTTPS proxy to bypass censorship. 見える是一款 socks5 / HTTP / HTTPS 网络代理翻墙工具。
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).
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/mieru/mieru.go | 1 | // Copyright (C) 2021 mieru authors | COMMENT |
| LOW | cmd/mita/mita.go | 1 | // Copyright (C) 2021 mieru authors | COMMENT |
| LOW | tools/scan_license.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/bump_version.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/setup.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/enable_tcp_bbr.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | apis/trafficpattern/config.go | 1 | // Copyright (C) 2026 mieru authors | COMMENT |
| LOW | apis/trafficpattern/config_test.go | 1 | // Copyright (C) 2026 mieru authors | COMMENT |
| LOW | apis/internal/handshake.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/internal/early_conn_test.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/internal/early_conn.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/server/server.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/server/interface.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/server/interface.go | 41 | // ServerConfigurationService contains methods to manage proxy server configuration. | COMMENT |
| LOW | apis/server/interface.go | 61 | // Stop deactivates the server. | COMMENT |
| LOW | apis/server/doc.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/common/user_context.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/common/dns.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/common/dialer.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/common/dns_test.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/common/packet_over_stream_test.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/common/conn_test.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/common/udp_associate_wrapper.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/common/packet_over_stream.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/common/listen.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/common/udp_associate_wrapper_test.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/common/conn.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/constant/user.go | 1 | // Copyright (C) 2026 mieru authors | COMMENT |
| LOW | apis/constant/socks5.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/model/addr.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/model/socks_test.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/model/socks.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/model/addr_test.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/log/log.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | apis/client/interface.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/client/interface.go | 41 | // ClientConfigurationService contains methods to manage proxy client configuration. | COMMENT |
| LOW | apis/client/interface.go | 61 | // Stop deactivates the client. | COMMENT |
| LOW | apis/client/interface.go | 81 | // This is a streaming based proxy connection. If the destination is a packet | COMMENT |
| LOW | apis/client/client.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/client/doc.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | apis/client/client_test.go | 1 | // Copyright (C) 2026 mieru authors | COMMENT |
| LOW | test/cmd/sockshttpclient/sockshttpclient.go | 1 | // Copyright (C) 2021 mieru authors | COMMENT |
| LOW | test/cmd/socksudpclient/socksudpclient.go | 1 | // Copyright (C) 2022 mieru authors | COMMENT |
| LOW | test/cmd/exampleapiserver/exampleapiserver.go | 1 | // Copyright (C) 2025 mieru authors | COMMENT |
| LOW | test/cmd/httpserver/httpserver.go | 1 | // Copyright (C) 2021 mieru authors | COMMENT |
| LOW | test/cmd/socks5server/socks5server.go | 1 | // Copyright (C) 2026 mieru authors | COMMENT |
| LOW | test/cmd/exampleapiclient/exampleapiclient.go | 1 | // Copyright (C) 2024 mieru authors | COMMENT |
| LOW | test/cmd/udpserver/udpserver.go | 1 | // Copyright (C) 2022 mieru authors | COMMENT |
| LOW | test/deploy/mihomo/test_server.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/mihomo/test_client.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/mihomo/libtest.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/mihomo/test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/socks5/test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/egress/test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/apiclient/test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/basic/test_udp.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/basic/test_tcp.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/basic/test_mix_udp_associate.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/basic/libtest.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/deploy/basic/test.sh | 1 | #!/bin/bash | COMMENT |
| 176 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/setup.py | 372 | except Exception as e: | CODE |
| LOW | tools/setup.py | 702 | except Exception as e: | CODE |
| LOW | tools/setup.py | 792 | except Exception as e: | CODE |
| LOW | tools/setup.py | 967 | except Exception as e: | CODE |
| LOW⚡ | tools/enable_tcp_bbr.py | 62 | except Exception as e: | CODE |
| LOW⚡ | tools/enable_tcp_bbr.py | 72 | except Exception as e: | CODE |
| LOW⚡ | tools/enable_tcp_bbr.py | 80 | except Exception as e: | CODE |
| MEDIUM | tools/enable_tcp_bbr.py | 58 | def is_bbr_enabled() -> bool: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/setup.py | 488 | def set_user(self, name: str, password: str) -> None: | CODE |
| LOW⚡ | tools/setup.py | 493 | def set_ip_port(self, ip: str, port: int, protocol: str) -> None: | CODE |
| LOW⚡ | tools/setup.py | 499 | def set_ip_port_range(self, ip: str, port_range: str, protocol: str) -> None: | CODE |
| LOW⚡ | tools/setup.py | 505 | def set_rpc_port(self, port: int) -> None: | CODE |
| LOW⚡ | tools/setup.py | 509 | def set_socks5_port(self, port: int) -> None: | CODE |
| LOW⚡ | tools/setup.py | 513 | def set_http_proxy_port(self, port: int) -> None: | CODE |
| LOW | tools/setup.py | 442 | def set_user(self, name: str, password: str) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/scan_license.sh | 50 | # Check if a file should be excluded from license checking. | COMMENT |
| LOW⚡ | tools/scan_license.sh | 55 | # Check if file matches exception exactly or starts with exception path (for directories). | COMMENT |
| LOW⚡ | tools/scan_license.sh | 63 | # Check if a file has the license header. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/setup.py | 47 | CODE | |
| LOW | tools/setup.py | 319 | CODE | |
| LOW | tools/setup.py | 523 | CODE | |
| LOW | tools/setup.py | 611 | CODE | |
| LOW | tools/setup.py | 690 | CODE | |
| LOW | tools/setup.py | 817 | CODE | |
| LOW | tools/setup.py | 876 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/deploy/packetdrop/test.sh | 30 | # Create a separate network namespace "sim" for testing. | COMMENT |
| MEDIUM | test/deploy/packetdrop/test.sh | 33 | # Create a veth pair, attach server part to the namespace, and assign IP addresses. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/setup.py | 349 | def detect_mita_systemd_active(self) -> bool: | CODE |
| LOW | tools/setup.py | 363 | def query_latest_mita_version(self) -> str: | CODE |
| LOW | tools/setup.py | 690 | def build_client_configuration(self) -> None: | CODE |