Repository Analysis

fatedier/frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

3.9 Likely human-written View on GitHub
3.9
Adjusted Score
3.9
Raw Score
100%
Time Factor
2026-05-29
Last Push
106,967
Stars
Go
Language
72,316
Lines of Code
456
Files
271
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 4LOW 267

Pattern Findings

271 matches across 3 categories. Click a row to expand file-level details.

Over-Commented Block266 hits · 266 pts
SeverityFileLineSnippet
LOWcmd/frpc/main.go1// Copyright 2016 fatedier, fatedier@gmail.com
LOWcmd/frpc/sub/proxy.go1// Copyright 2023 The frp Authors
LOWcmd/frpc/sub/admin.go1// Copyright 2023 The frp Authors
LOWcmd/frpc/sub/nathole.go1// Copyright 2023 The frp Authors
LOWcmd/frpc/sub/root.go1// Copyright 2018 fatedier, fatedier@gmail.com
LOWcmd/frpc/sub/verify.go1// Copyright 2021 The frp Authors
LOWcmd/frps/main.go1// Copyright 2018 fatedier, fatedier@gmail.com
LOWcmd/frps/root.go1// Copyright 2018 fatedier, fatedier@gmail.com
LOWcmd/frps/verify.go1// Copyright 2021 The frp Authors
LOWtest/e2e/e2e.go41 log.Infof("starting e2e run %q on Ginkgo node %d of total %d",
LOWtest/e2e/e2e.go61// such as making some global variables accessible to all parallel executions
LOWtest/e2e/v1/basic/oidc.go1// Copyright 2026 The frp Authors
LOWtest/e2e/v1/basic/token_source.go1// Copyright 2025 The frp Authors
LOWtest/e2e/mock/server/oidcserver/oidcserver.go1// Copyright 2026 The frp Authors
LOWserver/service.go1// Copyright 2017 fatedier, fatedier@gmail.com
LOWserver/service_test.go1// Copyright 2026 The frp Authors
LOWserver/control.go1// Copyright 2017 fatedier, fatedier@gmail.com
LOWserver/api_router.go1// Copyright 2017 fatedier, fatedier@gmail.com
LOWserver/proxy/https.go1// Copyright 2019 fatedier, fatedier@gmail.com
LOWserver/proxy/xtcp.go1// Copyright 2019 fatedier, fatedier@gmail.com
LOWserver/proxy/tcpmux.go1// Copyright 2020 guylewin, guy@lewin.co.il
LOWserver/proxy/xtcp_test.go1// Copyright 2026 The frp Authors
LOWserver/proxy/proxy.go1// Copyright 2017 fatedier, fatedier@gmail.com
LOWserver/proxy/sudp.go1// Copyright 2019 fatedier, fatedier@gmail.com
LOWserver/proxy/stcp.go1// Copyright 2019 fatedier, fatedier@gmail.com
LOWserver/proxy/http.go1// Copyright 2019 fatedier, fatedier@gmail.com
LOWserver/proxy/udp.go1// Copyright 2019 fatedier, fatedier@gmail.com
LOWserver/proxy/tcp.go1// Copyright 2019 fatedier, fatedier@gmail.com
LOWserver/proxy/proxy_test.go1// Copyright 2026 The frp Authors
LOWserver/group/https.go1// Copyright 2025 The frp Authors
LOWserver/group/tcpmux.go1// Copyright 2020 guylewin, guy@lewin.co.il
LOWserver/group/group.go1// Copyright 2018 fatedier, fatedier@gmail.com
LOWserver/group/tcp.go1// Copyright 2018 fatedier, fatedier@gmail.com
LOWserver/controller/resource.go1// Copyright 2019 fatedier, fatedier@gmail.com
LOWserver/http/controller.go1// Copyright 2025 The frp Authors
LOWserver/http/controller_test.go1// Copyright 2026 The frp Authors
LOWserver/http/model/types.go1// Copyright 2025 The frp Authors
LOWserver/visitor/visitor.go1// Copyright 2019 fatedier, fatedier@gmail.com
LOWserver/registry/registry.go1// Copyright 2025 The frp Authors
LOWserver/registry/registry_test.go1// Copyright 2026 The frp Authors
LOWassets/assets.go1// Copyright 2016 fatedier, fatedier@gmail.com
LOWconf/frpc_full_example.toml21# console or real logFile path like ./frpc.log
LOWconf/frpc_full_example.toml41
LOWconf/frpc_full_example.toml61# Specify a custom CA certificate file for verifying the OIDC token endpoint's TLS certificate.
LOWconf/frpc_full_example.toml81
LOWconf/frpc_full_example.toml101
LOWconf/frpc_full_example.toml121# transport.quic.keepalivePeriod = 10
LOWconf/frpc_full_example.toml141# to disable it.
LOWconf/frpc_full_example.toml161# This parameter should be same between client and server.
LOWconf/frps_full_example.toml1# This configuration file is for reference only. Please do not use this configuration directly to run the program as it
LOWconf/frps_full_example.toml21# transport.quic.keepalivePeriod = 10
LOWconf/frps_full_example.toml41# transport.tcpKeepalive = 7200
LOWconf/frps_full_example.toml61# HTTP CONNECT requests. By default, this value is 0.
LOWconf/frps_full_example.toml101# auth.additionalScopes specifies additional scopes to include authentication information.
LOWconf/frps_full_example.toml141# custom404Page = "/path/to/404.html"
LOWconf/legacy/frps_legacy_full.ini1# [common] is integral section
LOWconf/legacy/frps_legacy_full.ini21# specify which address proxy will listen for, default value is same with bind_addr
LOWconf/legacy/frps_legacy_full.ini101
LOWconf/legacy/frps_legacy_full.ini121max_ports_per_client = 0
LOWconf/legacy/frps_legacy_full.ini141# tcp_keepalive specifies the interval between keep-alive probes for an active network connection between frpc and frps.
206 more matches not shown…
Slop Phrases4 hits · 12 pts
SeverityFileLineSnippet
MEDIUMconf/frpc_full_example.toml37# alternatively, you can use tokenSource to load the token from a file
MEDIUMconf/frpc_full_example.toml237# Resolve your domain names to [serverAddr] so you can use http://web01.yourdomain.com to browse web01 and http://web02.
MEDIUMconf/frps_full_example.toml108# alternatively, you can use tokenSource to load the token from a file
MEDIUMconf/legacy/frpc_legacy_full.ini220# Resolve your domain names to [server_addr] so you can use http://web01.yourdomain.com to browse web01 and http://web02
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWhack/run-e2e.sh6# Check if ginkgo is available