AI Slop Code RIsk Monitor

ValveSoftware/GameNetworkingSockets

Reliable & unreliable messages over UDP. Robust message fragmentation & reassembly. P2P networking / NAT traversal. Encryption.

6.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ValveSoftware/GameNetworkingSockets, a C++ project with 9,971 GitHub stars. SynthScan examined 96,068 lines of code across 247 source files, recording 569 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 6.2 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

6.2
Adjusted Signal
6.2
Raw Pattern Score
100%
Time Factor
2026-10-03
Last Push
10.0K
Stars
C++
Language
96.1K
Lines of Code
247
Files
569
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 23.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 542 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

Are imports declared and package/API names verified? 3 finding(s).

Agent Over-Engineering Ratio 3.7/100 · LOW

Are wrappers, guards, and repeated structures necessary? 28 finding(s).

PR Review Velocity Impact 28.3/100 · MEDIUM

Which changes need focused human review? 569 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 5MEDIUM 22LOW 542

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 569 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block514 hits · 474 pts
SeverityFileLineSnippetContext
LOWcmake/apple/build-apple-deps.sh1#!/usr/bin/env bashCOMMENT
LOWcmake/apple/make-xcframework.sh1#!/usr/bin/env bashCOMMENT
LOWcmake/apple/make-xcframework.sh101COMMENT
LOWcmake/apple/run-ios-smoke-test.sh1#!/usr/bin/env bashCOMMENT
LOWinclude/steam/isteamnetworkingutils.h1//========== Copyright (c) Valve Corporation. All Rights Reserved. ============COMMENT
LOWinclude/steam/isteamnetworkingutils.h21{COMMENT
LOWinclude/steam/isteamnetworkingutils.h41 virtual SteamNetworkingMessage_t *AllocateMessage( int cbAllocateBuffer ) = 0;COMMENT
LOWinclude/steam/isteamnetworkingutils.h61 /// relay network is anticipated.COMMENT
LOWinclude/steam/isteamnetworkingutils.h81 virtual ESteamNetworkingAvailability GetRelayNetworkStatus( SteamRelayNetworkStatus_t *pDetails ) = 0;COMMENT
LOWinclude/steam/isteamnetworkingutils.h101 /// Return location info for the current host. Returns the approximateCOMMENT
LOWinclude/steam/isteamnetworkingutils.h121 ///COMMENT
LOWinclude/steam/isteamnetworkingutils.h141 /// GetLocalPingLocation with EstimatePingTimeBetweenTwoLocations. That's becauseCOMMENT
LOWinclude/steam/isteamnetworkingutils.h161 /// user input to refresh this information.) Don't call it "just in case",COMMENT
LOWinclude/steam/isteamnetworkingutils.h201 ///COMMENT
LOWinclude/steam/isteamnetworkingutils.h221 /// problems with tech savvy end users. If you have a console or other log that customersCOMMENT
LOWinclude/steam/isteamnetworkingutils.h241 /// Steamworks calls from within the handler.COMMENT
LOWinclude/steam/isteamnetworkingutils.h261 ///COMMENT
LOWinclude/steam/isteamnetworkingutils.h281 bool SetConnectionConfigValueString( HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, const char *val );COMMENT
LOWinclude/steam/isteamnetworkingutils.h301 /// - pArg: Value to set it to. You can pass NULL to remove a non-global setting at this scope,COMMENT
LOWinclude/steam/isteamnetworkingutils.h321 /// - cbResult: IN: the size of your buffer. OUT: the number of bytes filled in or required.COMMENT
LOWinclude/steam/isteamnetworkingutils.h381COMMENT
LOWinclude/steam/isteamnetworkingutils.h401 int m_bPingMeasurementInProgress;COMMENT
LOWinclude/steam/steam_api_common.h21#ifdef API_GENCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h1//========== Copyright (c) Valve Corporation. All Rights Reserved. ============COMMENT
LOWinclude/steam/isteamnetworkingsockets.h21/// the peer is identified by their address with each send/recv call, seeCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h41/// easier to use, especially when porting existing UDP code.COMMENT
LOWinclude/steam/isteamnetworkingsockets.h61 /// setting the options "immediately" after creation.COMMENT
LOWinclude/steam/isteamnetworkingsockets.h81 /// casual eavesdropping. But note that without certificates (or a shared secretCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h101 ///COMMENT
LOWinclude/steam/isteamnetworkingsockets.h121 /// SteamNetworkingConfigValue_t for more about why this is preferable toCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h141 /// delay taking action, from the client's perspective it is the same as the networkCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h161 /// notification being posted to the queue and when it is received by the application.)COMMENT
LOWinclude/steam/isteamnetworkingsockets.h181 /// pszDebug is an optional human-readable diagnostic string that will be receivedCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h201 /// (Which is a member of SteamNetConnectionStatusChangedCallback_t -- but see WARNINGS below!!!!)COMMENT
LOWinclude/steam/isteamnetworkingsockets.h221 /// Fetch connection user data. Returns -1 if handle is invalidCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h241 /// the sizes of the chunks that are returned by the reads onCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h261 /// (See k_cbMaxSteamNetworkingSocketsMessageSizeSend)COMMENT
LOWinclude/steam/isteamnetworkingsockets.h281 /// until the callback is executed. And also note that your callback can beCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h301 ///COMMENT
LOWinclude/steam/isteamnetworkingsockets.h321 /// to earlier failure on the same connection will be released immediately.COMMENT
LOWinclude/steam/isteamnetworkingsockets.h341 /// If the connection handle is invalid, -1 is returned.COMMENT
LOWinclude/steam/isteamnetworkingsockets.h361 ///COMMENT
LOWinclude/steam/isteamnetworkingsockets.h381 /// 0 OK, your buffer was filled in and '\0'-terminatedCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h401 /// By default, internal buffers are used, completely bypassing the network, the chopping up ofCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h421 /// are always sent in the order they are queued, but messages from differentCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h441 /// other two lanes. Its weight value is irrelevant, since there are no otherCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h461 /// irrelevant in that case.COMMENT
LOWinclude/steam/isteamnetworkingsockets.h481 /// - k_EResultInvalidParam - Invalid number of lanes, bad weights, or you tried to reduce the number of lanesCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h501 /// certificates. (This includes a certificate for us, as well as any CA certificatesCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h521 /// Returns the current value that would be returned from GetAuthenticationStatus.COMMENT
LOWinclude/steam/isteamnetworkingsockets.h541 /// You should destroy the poll group when you are done using DestroyPollGroupCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h561 /// group at the time that the messages were received.COMMENT
LOWinclude/steam/isteamnetworkingsockets.h581 /// other connections.)COMMENT
LOWinclude/steam/isteamnetworkingsockets.h601 /// Typically this is useful just to confirm that you have a ticket, before youCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h621 virtual HSteamNetConnection ConnectToHostedDedicatedServer( const SteamNetworkingIdentity &identityTarget, int nRemoteVCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h641 /// and opaque routing information that can be used by the relays to send trafficCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h661 /// - A non-localized diagnostic debug message will be placed in m_data that describesCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h681 virtual HSteamListenSocket CreateHostedDedicatedServerListenSocket( int nLocalVirtualPort, int nOptions, const SteamNetCOMMENT
LOWinclude/steam/isteamnetworkingsockets.h701 /// - k_EResultNotLoggedOn: you are not logged in (yet)COMMENT
LOWinclude/steam/isteamnetworkingsockets.h721 //COMMENT
454 more matches not shown…
Decorative Section Separators12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMtests/stun_server.py96# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py134# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py136# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py185# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py187# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py233# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py235# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py396# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py398# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py413# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/stun_server.py415# ---------------------------------------------------------------------------COMMENT
AI Slop Vocabulary9 hits · 26 pts
SeverityFileLineSnippetContext
LOWcmake/apple/build-apple-deps.sh9# just use the Homebrew packages; see BUILDING.md.COMMENT
MEDIUMinclude/steam/isteamnetworkingsockets.h612 /// here. The reason is to make reconnection to a gameserver robust, even if the client computer losesCOMMENT
MEDIUMinclude/steam/steamnetworkingtypes.h448 /// read it back. Typically this is not a problem, as application protocols that utilizeCOMMENT
MEDIUMexamples/example_chat.cpp335 // Check for known commands. None of this example code is secure or robust.COMMENT
MEDIUMsrc/common/crypto_sha1_wpa.cpp34// Absolutely nothing, but the places where we need to use the referenceCOMMENT
MEDIUMsrc/public/minbase/minbase_annotations.h21// Essentially the 'Hint' is that the condition specified is assumed to be true atCOMMENT
MEDIUM…eamnetworkingsockets/steamnetworkingsockets_internal.h379/// mechanism for dealing with compatibility (e.g. using protobuf's robust mechanisms).COMMENT
MEDIUM…ckets/clientlib/steamnetworkingsockets_connections.cpp2781 // robust code, at very little cost.COMMENT
MEDIUM…kets/clientlib/steamnetworkingsockets_socketthread.cpp2387 // to reset the network stack, etc) we could make the code more robust by detecting this.COMMENT
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHtests/test_p2p.py187except Exception:CODE
HIGHtests/test_p2p.py377except FileNotFoundError:CODE
HIGHexamples/trivial_signaling_server.py93except OSError:CODE
HIGHexamples/trivial_signaling_server.py72except OSError:CODE
HIGHexamples/trivial_signaling_server.py122except Exception:CODE
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/stun_server.py375CODE
LOWtests/stun_server.py417CODE
LOWtests/test_p2p.py274CODE
LOWtests/test_p2p.py296CODE
LOWtests/test_p2p.py356CODE
LOWtests/test_p2p.py387CODE
LOWtests/test_p2p.py744CODE
LOWtests/test_p2p.py101CODE
LOWexamples/trivial_signaling_server.py97CODE
Excessive Try-Catch Wrapping7 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/stun_server.py462 except Exception as e:CODE
MEDIUMtests/stun_server.py463 print("Error: %s" % e, file=sys.stderr, flush=True)CODE
LOWtests/test_p2p.py135 except Exception as ex:CODE
LOWtests/test_p2p.py187 except Exception:CODE
LOWexamples/trivial_signaling_server.py122 except Exception:CODE
LOWexamples/trivial_signaling_server.py145 except Exception:CODE
LOWexamples/trivial_signaling_server.py169 except Exception as ex:CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcmake/apple/build-apple-deps.sh11# Usage:COMMENT
LOWcmake/apple/make-xcframework.sh11# Usage:COMMENT
LOWcmake/apple/run-ios-smoke-test.sh11# Usage:COMMENT
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/stun_server.py308def _handle_create_permission_request(sock, data, addr):CODE
LOWtests/make_test_certs.py24def run_cert_tool_with_ca_key( ca_key, args ):CODE
LOWexamples/trivial_signaling_server.py80class SignalingRequestHandler(socketserver.StreamRequestHandler):CODE
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/test_p2p.py15CODE
LOWtests/test_p2p.py16CODE
LOW.github/run-single-config.py4CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/build.sh3# CI build orchestration. This script may run multiple configurations, but eachCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinclude/steam/isteamnetworkingsockets.h811 /// NOTE: This function is not actually supported on Steam! It is includedCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/test_p2p.py120 # Check if this is the ready message, then set requested eventCOMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/test_p2p.py744CODE