AI Slop Code Risk Monitor

FreeRDP/FreeRDP

SlopCodeMonitor badge for FreeRDP/FreeRDP Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

FreeRDP is a free remote desktop protocol library and clients

1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for FreeRDP/FreeRDP, a C project with 13,918 GitHub stars. SynthScan examined 776,054 lines of code across 2478 source files, recording 1611 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low 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.

1.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
13.9K
Stars
C
Language
776.1K
Lines of Code
2.5K
Files
1.6K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 9.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 10.0/100 · LOW

Which changes need focused human review? 1611 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 3MEDIUM 2LOW 1606

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 1611 distinct pattern matches across 11 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 Block1587 hits · 1452 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# FreeRDP: A Remote Desktop Protocol ImplementationCOMMENT
LOWtools/smartcard-interpreter.py1#!/usr/bin/env python3COMMENT
LOWinclude/CMakeLists.txt1# FreeRDP: A Remote Desktop Protocol ImplementationCOMMENT
LOWinclude/freerdp/settings_types.h21 * limitations under the License.COMMENT
LOWinclude/freerdp/settings_types.h41#endifCOMMENT
LOWinclude/freerdp/settings_types.h61COMMENT
LOWinclude/freerdp/settings_types.h81#define CONNECTION_TYPE_SATELLITE 0x03COMMENT
LOWinclude/freerdp/settings_types.h141#define RNS_UD_15BPP_SUPPORT 0x0004COMMENT
LOWinclude/freerdp/settings_types.h161#define RNS_UD_CS_SUPPORT_SKIP_CHANNELJOIN 0x0800COMMENT
LOWinclude/freerdp/settings_types.h181COMMENT
LOWinclude/freerdp/settings_types.h201#define TRANSPORT_TYPE_UDP_PREFERRED 0x00000100COMMENT
LOWinclude/freerdp/settings_types.h321 };COMMENT
LOWinclude/freerdp/error.h21#define FREERDP_ERROR_HCOMMENT
LOWinclude/freerdp/error.h41#define CAT_ADMIN "administrative"COMMENT
LOWinclude/freerdp/error.h61#define ERRINFO_CLOSE_STACK_ON_DRIVER_FAILURE 0x00000011COMMENT
LOWinclude/freerdp/error.h81#define ERRINFO_CB_LOADING_DESTINATION 0x0000402COMMENT
LOWinclude/freerdp/error.h101#define ERRINFO_CREATE_USER_DATA_FAILED 0x000010D2COMMENT
LOWinclude/freerdp/error.h121#define ERRINFO_INVALID_VC_COMPRESSION_TYPE 0x000010EDCOMMENT
LOWinclude/freerdp/error.h141#define ERRINFO_SECURITY_DATA_TOO_SHORT13 0x0000111CCOMMENT
LOWinclude/freerdp/error.h161#define ERRINFO_DYNAMIC_DST_DISABLED_FIELD_MISSING 0x00001132COMMENT
LOWinclude/freerdp/error.h221#define FREERDP_ERROR_ERRINFO_CLASS (FREERDP_ERROR_BASE + 1)COMMENT
LOWinclude/freerdp/error.h241#define FREERDP_ERROR_CLOSE_STACK_ON_DRIVER_NOT_READY \COMMENT
LOWinclude/freerdp/error.h261#define ERRCONNECT_AUTHENTICATION_FAILED 0x00000009COMMENT
LOWinclude/freerdp/peer.h21#define FREERDP_PEER_HCOMMENT
LOWinclude/freerdp/input.h21#define FREERDP_INPUT_HCOMMENT
LOWinclude/freerdp/secondary.h21#define FREERDP_UPDATE_SECONDARY_HCOMMENT
LOWinclude/freerdp/secondary.h41#define BITMAP_CACHE_WAITING_LIST_INDEX 0x7FFFCOMMENT
LOWinclude/freerdp/secondary.h61#define HS_FDIAGONAL 0x02COMMENT
LOWinclude/freerdp/client.h21#ifndef FREERDP_CLIENT_HCOMMENT
LOWinclude/freerdp/altsec.h21#define FREERDP_UPDATE_ALTSEC_HCOMMENT
LOWinclude/freerdp/settings.h21 * limitations under the License.COMMENT
LOWinclude/freerdp/addin.h21#define FREERDP_COMMON_ADDIN_HCOMMENT
LOWinclude/freerdp/types.h21#ifndef FREERDP_TYPES_HCOMMENT
LOWinclude/freerdp/freerdp.h21COMMENT
LOWinclude/freerdp/freerdp.h61COMMENT
LOWinclude/freerdp/window.h21#define FREERDP_UPDATE_WINDOW_HCOMMENT
LOWinclude/freerdp/window.h41#define WINDOW_ORDER_FIELD_RESIZE_MARGIN_X 0x00000080COMMENT
LOWinclude/freerdp/window.h61#define WINDOW_ORDER_FIELD_ICON_BIG 0x00002000COMMENT
LOWinclude/freerdp/window.h81/* Window Styles */COMMENT
LOWinclude/freerdp/window.h101 (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX)COMMENT
LOWinclude/freerdp/window.h121#define WS_EX_CONTEXTHELP 0x00000400COMMENT
LOWinclude/freerdp/message.h41COMMENT
LOWinclude/freerdp/message.h61#define FREERDP_UPDATE_SET_BOUNDS MakeMessageId(Update, SetBounds)COMMENT
LOWinclude/freerdp/message.h81#define PrimaryUpdate_ScrBlt 3COMMENT
LOWinclude/freerdp/message.h101COMMENT
LOWinclude/freerdp/message.h121#define FREERDP_PRIMARY_UPDATE_POLYGON_CB MakeMessageId(PrimaryUpdate, PolygonCB)COMMENT
LOWinclude/freerdp/message.h141#define FREERDP_SECONDARY_UPDATE_CACHE_GLYPH MakeMessageId(SecondaryUpdate, CacheGlyph)COMMENT
LOWinclude/freerdp/message.h161COMMENT
LOWinclude/freerdp/message.h181COMMENT
LOWinclude/freerdp/message.h201#define FREERDP_WINDOW_UPDATE_NOTIFY_ICON_UPDATE MakeMessageId(WindowUpdate, NotifyIconUpdate)COMMENT
LOWinclude/freerdp/message.h241#define Input_FocusInEvent 6COMMENT
LOWinclude/freerdp/message.h261 * Debug ChannelCOMMENT
LOWinclude/freerdp/message.h281#define CliprdrChannel_TemporaryDirectory 10COMMENT
LOWinclude/freerdp/message.h301/**COMMENT
LOWinclude/freerdp/message.h321#define RailChannel_ClientLanguageBarInfo 15COMMENT
LOWinclude/freerdp/message.h361#define RdpeiChannel_ServerReady 1COMMENT
LOWinclude/freerdp/svc.h21COMMENT
LOWinclude/freerdp/api.h21#define FREERDP_API_HCOMMENT
LOWinclude/freerdp/api.h41#ifdef FREERDP_EXPORTSCOMMENT
LOWinclude/freerdp/api.h61#define FREERDP_API __attribute__((visibility("default")))COMMENT
1527 more matches not shown…
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHclient/common/xdg-aad-helper/xdg-aad-helper.py236except FileNotFoundError:CODE
HIGHclient/common/xdg-aad-helper/xdg-aad-helper.py284except FileNotFoundError:CODE
HIGHclient/common/xdg-aad-helper/xdg-aad-helper.py277except socket.timeout:CODE
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippetContext
LOWtools/smartcard-interpreter.py235CODE
LOWtools/smartcard-interpreter.py276CODE
LOWtools/smartcard-interpreter.py316CODE
LOWtools/smartcard-interpreter.py416CODE
LOWtools/smartcard-interpreter.py446CODE
LOWscripts/fetch_language_identifiers.py23CODE
LOWscripts/fetch_language_identifiers.py58CODE
LOWclient/common/xdg-aad-helper/xdg-aad-helper.py321CODE
LOWclient/common/xdg-aad-helper/xdg-aad-helper.py202CODE
Fake / Example Data3 hits · 4 pts
SeverityFileLineSnippetContext
LOWwinpr/libwinpr/crypto/test/TestCryptoCipher.c17 const char plaintext[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWwinpr/libwinpr/crypto/test/TestCryptoCipher.c17 const char plaintext[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWwinpr/libwinpr/sspi/Kerberos/kerberos.c474 /* e.g. "user@example.com" becomes "user\@example.com@CORP.EXAMPLE.NET" */COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackaging/scripts/create_rpm.sh3# Create a RPM packageCOMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWwinpr/libwinpr/clipboard/synthetic.c220 // Step 1: convert to utf-8COMMENT
LOWclient/X11/xf_event.c1015 * This section handles sending the appropriate commands to the rail serverCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/codeql-analysis.yml50 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/fetch_language_identifiers.py6CODE
LOWscripts/fetch_language_identifiers.py9CODE
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWwinpr/libwinpr/clipboard/synthetic.c220 // Step 1: convert to utf-8COMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/update-windows-zones.py39except Exception as e:CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlibfreerdp/gdi/test/helpers.c137 return TRUE; // TODO: Fix test casesCODE