Repository Analysis

XTLS/Xray-core

Xray, Penetrates Everything. Also the best v2ray-core. Where the magic happens. An open platform for various uses.

0.4 Likely human-written View on GitHub
0.4
Adjusted Score
0.4
Raw Score
100%
Time Factor
2026-05-29
Last Push
39,035
Stars
Go
Language
143,815
Lines of Code
896
Files
32
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 3HIGH 0MEDIUM 0LOW 29

Pattern Findings

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

Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippet
CRITICALinfra/conf/transport_internet.go2247 Ports: c.FinalMask.QuicParams.UdpHop.PortList.Build().Ports(),
CRITICALtransport/internet/grpc/encoding/stream.pb.go122 "\x03Tun\x12+.xray.transport.internet.grpc.encoding.Hunk\x1a+.xray.transport.internet.grpc.encoding.Hunk(\x010\x01\x12r
CRITICALtransport/internet/grpc/encoding/stream.pb.go123 "\bTunMulti\x120.xray.transport.internet.grpc.encoding.MultiHunk\x1a0.xray.transport.internet.grpc.encoding.MultiHunk(\
Over-Commented Block27 hits · 27 pts
SeverityFileLineSnippet
LOW…rt/internet/hysteria/congestion/bbr/windowed_filter.go1package bbr
LOW…rt/internet/hysteria/congestion/bbr/windowed_filter.go21// (or higher) than everything else in the window and it is the most recent.
LOW…/internet/hysteria/congestion/bbr/bandwidth_sampler.go21type sendTimeState struct {
LOW…/internet/hysteria/congestion/bbr/bandwidth_sampler.go281
LOW…/internet/hysteria/congestion/bbr/bandwidth_sampler.go321 sampler.isAppLimited,
LOW…/internet/hysteria/congestion/bbr/bandwidth_sampler.go341// that due to the packet loss, the number of bytes on each curve might get
LOW…/internet/hysteria/congestion/bbr/bandwidth_sampler.go361// ack_rate = (bytes(A_1) - bytes(A_0)) / (time(A_1) - time(A_0))
LOW…/internet/hysteria/congestion/bbr/bandwidth_sampler.go381// method.
LOW…/internet/hysteria/congestion/bbr/bandwidth_sampler.go401// 41. In this case, when we sample bandwidth for packets 21 to 40, the S_0/A_0
LOW…hysteria/congestion/bbr/packet_number_indexed_queue.go1package bbr
LOWtransport/internet/kcp/kcp.go1// Package kcp - A Fast and Reliable ARQ Protocol
LOWcore/mocks.go1package core
LOWcore/annotations.go1package core
LOWcore/config.pb.go21 // Verify that runtime/protoimpl is sufficiently up-to-date.
LOWapp/dns/dns.go501 }
LOWapp/router/strategy_leastload.go81 qualified := s.getNodes(candidates)
LOWapp/router/command/command.pb.go181 }
LOWproxy/vmess/vmess.go1// Package vmess contains the implementation of VMess protocol and transportation.
LOWproxy/shadowsocks/shadowsocks.go1// Package shadowsocks provides compatible functionality to Shadowsocks.
LOWfeatures/stats/stats.go21}
LOWtesting/scenarios/wireguard_test.go121 // if err := errg.Wait(); err != nil {
LOWcommon/geodata/strmatcher/strmatcher.go61
LOWcommon/geodata/strmatcher/strmatcher.go81// - Obey certain priority order specification when returning matched values.
LOWcommon/utils/typed_sync_map.go81}
LOWcommon/utils/unixsocket.go1package utils
LOWmain/commands/base/command.go21 // The args are the arguments after the command name.
LOWmain/commands/base/help.go61
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippet
LOWapp/router/condition_test.go161 "admin@example.com",
LOWapp/router/condition_test.go166 input: withInbound(&session.Inbound{User: &protocol.MemoryUser{Email: "admin@example.com"}}),