A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
This report presents the forensic synthetic code analysis of fatedier/frp, a Go project with 108,009 GitHub stars. SynthScan v2.0 examined 75,535 lines of code across 462 source files, recording 282 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 3.8 places this repository in the Likely human-written 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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 282 distinct pattern matches across 4 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/frpc/main.go | 1 | // Copyright 2016 fatedier, fatedier@gmail.com | COMMENT |
| LOW | cmd/frpc/sub/proxy.go | 1 | // Copyright 2023 The frp Authors | COMMENT |
| LOW | cmd/frpc/sub/admin.go | 1 | // Copyright 2023 The frp Authors | COMMENT |
| LOW | cmd/frpc/sub/nathole.go | 1 | // Copyright 2023 The frp Authors | COMMENT |
| LOW | cmd/frpc/sub/root.go | 1 | // Copyright 2018 fatedier, fatedier@gmail.com | COMMENT |
| LOW | cmd/frpc/sub/verify.go | 1 | // Copyright 2021 The frp Authors | COMMENT |
| LOW | cmd/frps/main.go | 1 | // Copyright 2018 fatedier, fatedier@gmail.com | COMMENT |
| LOW | cmd/frps/root.go | 1 | // Copyright 2018 fatedier, fatedier@gmail.com | COMMENT |
| LOW | cmd/frps/verify.go | 1 | // Copyright 2021 The frp Authors | COMMENT |
| LOW | test/e2e/e2e.go | 41 | log.Infof("starting e2e run %q on Ginkgo node %d of total %d", | COMMENT |
| LOW | test/e2e/e2e.go | 61 | // such as making some global variables accessible to all parallel executions | COMMENT |
| LOW | test/e2e/v1/basic/oidc.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | test/e2e/v1/basic/token_source.go | 1 | // Copyright 2025 The frp Authors | COMMENT |
| LOW | test/e2e/mock/server/oidcserver/oidcserver.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/service.go | 1 | // Copyright 2017 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/service_test.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/control.go | 1 | // Copyright 2017 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/api_router.go | 1 | // Copyright 2017 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/proxy/https.go | 1 | // Copyright 2019 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/proxy/xtcp.go | 1 | // Copyright 2019 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/proxy/tcpmux.go | 1 | // Copyright 2020 guylewin, guy@lewin.co.il | COMMENT |
| LOW | server/proxy/xtcp_test.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/proxy/proxy.go | 1 | // Copyright 2017 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/proxy/sudp.go | 1 | // Copyright 2019 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/proxy/stcp.go | 1 | // Copyright 2019 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/proxy/http.go | 1 | // Copyright 2019 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/proxy/udp.go | 1 | // Copyright 2019 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/proxy/tcp.go | 1 | // Copyright 2019 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/proxy/proxy_test.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/proxy/sudp_test.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/group/https.go | 1 | // Copyright 2025 The frp Authors | COMMENT |
| LOW | server/group/tcpmux.go | 1 | // Copyright 2020 guylewin, guy@lewin.co.il | COMMENT |
| LOW | server/group/group.go | 1 | // Copyright 2018 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/group/tcp.go | 1 | // Copyright 2018 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/controller/resource.go | 1 | // Copyright 2019 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/http/controller.go | 1 | // Copyright 2025 The frp Authors | COMMENT |
| LOW | server/http/controller_v2_test.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/http/controller_v2_proxy_spec_test.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/http/controller_test.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/http/controller_v2.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/http/model/types.go | 1 | // Copyright 2025 The frp Authors | COMMENT |
| LOW | server/http/model/v2.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/visitor/visitor_test.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | server/visitor/visitor.go | 1 | // Copyright 2019 fatedier, fatedier@gmail.com | COMMENT |
| LOW | server/registry/registry.go | 1 | // Copyright 2025 The frp Authors | COMMENT |
| LOW | server/registry/registry_test.go | 1 | // Copyright 2026 The frp Authors | COMMENT |
| LOW | assets/assets.go | 1 | // Copyright 2016 fatedier, fatedier@gmail.com | COMMENT |
| LOW | conf/frpc_full_example.toml | 21 | # console or real logFile path like ./frpc.log | COMMENT |
| LOW | conf/frpc_full_example.toml | 41 | COMMENT | |
| LOW | conf/frpc_full_example.toml | 61 | # Specify a custom CA certificate file for verifying the OIDC token endpoint's TLS certificate. | COMMENT |
| LOW | conf/frpc_full_example.toml | 81 | COMMENT | |
| LOW | conf/frpc_full_example.toml | 101 | COMMENT | |
| LOW | conf/frpc_full_example.toml | 121 | # transport.quic.keepalivePeriod = 10 | COMMENT |
| LOW | conf/frpc_full_example.toml | 141 | # to disable it. | COMMENT |
| LOW | conf/frpc_full_example.toml | 161 | # This parameter should be same between client and server. | COMMENT |
| LOW | conf/frps_full_example.toml | 1 | # This configuration file is for reference only. Please do not use this configuration directly to run the program as it | COMMENT |
| LOW | conf/frps_full_example.toml | 21 | # transport.quic.keepalivePeriod = 10 | COMMENT |
| LOW | conf/frps_full_example.toml | 41 | # transport.tcpKeepalive = 7200 | COMMENT |
| LOW | conf/frps_full_example.toml | 61 | # HTTP CONNECT requests. By default, this value is 0. | COMMENT |
| LOW | conf/frps_full_example.toml | 101 | # auth.additionalScopes specifies additional scopes to include authentication information. | COMMENT |
| 212 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | conf/frpc_full_example.toml | 37 | # alternatively, you can use tokenSource to load the token from a file | COMMENT |
| MEDIUM | conf/frpc_full_example.toml | 237 | # Resolve your domain names to [serverAddr] so you can use http://web01.yourdomain.com to browse web01 and http://web02. | COMMENT |
| MEDIUM | conf/frps_full_example.toml | 108 | # alternatively, you can use tokenSource to load the token from a file | COMMENT |
| MEDIUM | conf/legacy/frpc_legacy_full.ini | 220 | # Resolve your domain names to [server_addr] so you can use http://web01.yourdomain.com to browse web01 and http://web02 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/frpc/src/components/ConfigField.vue | 8 | :placeholder="placeholder" | CODE |
| LOW | web/frpc/src/components/ConfigField.vue | 16 | :placeholder="placeholder" | CODE |
| LOW | web/frpc/src/components/ConfigField.vue | 57 | :placeholder="placeholder" | CODE |
| LOW | web/frpc/src/components/ConfigField.vue | 75 | :placeholder="placeholder" | CODE |
| LOW | web/frpc/src/components/StringListEditor.vue | 13 | :placeholder="placeholder" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/run-e2e.sh | 6 | # Check if ginkgo is available | COMMENT |