GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
This report summarizes scanner evidence for moonlight-stream/moonlight-qt, a C++ project with 19,326 GitHub stars. SynthScan examined 81,431 lines of code across 188 source files, recording 95 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.3 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 93 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 95 finding(s).
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.
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.
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.
The scanner identified 95 distinct pattern matches across 4 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/masterhook.c | 1 | // This file contains hooks for several functions that allow | COMMENT |
| LOW | app/masterhook.c | 21 | #include <dlfcn.h> | COMMENT |
| LOW | app/masterhook_internal.c | 1 | // This file contains the private implementation of the open() hook | COMMENT |
| LOW | app/SDL_compat.h | 21 | #ifndef SDL_HINT_VIDEO_X11_FORCE_EGL | COMMENT |
| LOW | app/SDL_compat.h | 41 | #ifndef SDL_HINT_WINDOWS_USE_D3D9EX | COMMENT |
| LOW | app/SDL_compat.h | 61 | #ifndef SDL_HINT_MOUSE_AUTO_CAPTURE | COMMENT |
| LOW | app/main.cpp | 1 | #include <QGuiApplication> | COMMENT |
| LOW | app/main.cpp | 21 | COMMENT | |
| LOW | app/main.cpp | 41 | COMMENT | |
| LOW | app/main.cpp | 61 | // Log to file or console dynamically for Windows builds | COMMENT |
| LOW | app/main.cpp | 521 | // Force libssl.so to be directly linked to our binary, so | COMMENT |
| LOW | app/main.cpp | 621 | // This avoids using the default keychain for SSL, which may cause | COMMENT |
| LOW | app/main.cpp | 641 | // | COMMENT |
| LOW | app/main.cpp | 701 | #endif | COMMENT |
| LOW | app/main.cpp | 721 | // the mouse motion exactly how it was given to us. | COMMENT |
| LOW | app/main.cpp | 741 | SDL_SetHint(SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING, "0"); | COMMENT |
| LOW | app/main.cpp | 761 | if (!qgetenv("XDG_CURRENT_DESKTOP").contains("KDE")) { | COMMENT |
| LOW | app/wm.cpp | 1 | #include <QtGlobal> | COMMENT |
| LOW | app/wm.cpp | 21 | #ifdef HAVE_EGL | COMMENT |
| LOW | app/settings/streamingpreferences.cpp | 1 | #include "streamingpreferences.h" | COMMENT |
| LOW | app/settings/streamingpreferences.cpp | 21 | #define SER_VSYNC "vsync" | COMMENT |
| LOW | app/settings/streamingpreferences.cpp | 41 | #define SER_GAMEPADMOUSE "gamepadmouse" | COMMENT |
| LOW | app/deploy/steamlink/moonlight.sh | 1 | #!/bin/sh | COMMENT |
| LOW | app/backend/nvhttp.cpp | 1 | #include "nvcomputer.h" | COMMENT |
| LOW | app/backend/nvcomputer.cpp | 1 | #include "nvcomputer.h" | COMMENT |
| LOW | app/backend/computermanager.cpp | 1 | #include "computermanager.h" | COMMENT |
| LOW | app/backend/identitymanager.cpp | 1 | #include "identitymanager.h" | COMMENT |
| LOW | app/backend/computermanager.h | 1 | #pragma once | COMMENT |
| LOW | app/streaming/streamutils.cpp | 1 | #include "streamutils.h" | COMMENT |
| LOW | app/streaming/streamutils.cpp | 21 | #ifdef Q_OS_LINUX | COMMENT |
| LOW | app/streaming/streamutils.cpp | 41 | struct riscv_hwprobe { | COMMENT |
| LOW | app/streaming/session.cpp | 1 | #include "session.h" | COMMENT |
| LOW | app/streaming/session.cpp | 21 | #else | COMMENT |
| LOW | app/streaming/session.cpp | 801 | // | COMMENT |
| LOW | app/streaming/session.cpp | 861 | // We'll try to fall back to HEVC first if AV1 fails. We'd rather not fall back | COMMENT |
| LOW | app/streaming/session.cpp | 1521 | COMMENT | |
| LOW | app/streaming/session.cpp | 1981 | // SDL 2.0.18 has a proper wait event implementation that uses platform | COMMENT |
| LOW | app/streaming/session.cpp | 2341 | // interfere with SDLGamepadKeyNavigation. | COMMENT |
| LOW | app/streaming/video/ffmpeg.cpp | 1 | #include <Limelight.h> | COMMENT |
| LOW | app/streaming/video/ffmpeg.cpp | 21 | #ifdef Q_OS_DARWIN | COMMENT |
| LOW | app/streaming/video/ffmpeg.cpp | 41 | #ifdef HAVE_EGL | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/eglvid.h | 61 | COMMENT | |
| LOW | app/streaming/video/ffmpeg-renderers/vaapi.h | 1 | #pragma once | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/vaapi.h | 21 | #endif | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/vaapi.h | 41 | #ifdef HAVE_LIBVA_X11 | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/d3d11va.cpp | 1 | // For D3D11_DECODER_PROFILE values | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/d3d11va.cpp | 561 | // 3 front buffers (default GetMaximumFrameLatency() count) | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/d3d11va.cpp | 1521 | // | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/eglvid.cpp | 1 | // vim: noai:ts=4:sw=4:softtabstop=4:expandtab | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/eglvid.cpp | 401 | { | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/eglvid.cpp | 581 | // situation, swap interval > 0 behaves as a frame pacing option | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/vt_base.mm | 1 | // Nasty hack to avoid conflict between AVFoundation and | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/vaapi.cpp | 1 | #include <QString> | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/plvk.h | 121 | // The staging overlay state is copied here under the overlay lock in the render thread. | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/renderer.h | 1 | #pragma once | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/renderer.h | 61 | COMMENT | |
| LOW | app/streaming/video/ffmpeg-renderers/renderer.h | 81 | #define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 | COMMENT |
| LOW | app/streaming/video/ffmpeg-renderers/renderer.h | 101 | COMMENT | |
| LOW | app/streaming/video/ffmpeg-renderers/renderer.h | 181 | COMMENT | |
| LOW | app/streaming/video/ffmpeg-renderers/renderer.h | 201 | } | COMMENT |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/main.cpp | 732 | // on Wayland). We don't want this behavior because it interferes with seamless mouse | COMMENT |
| MEDIUM | app/streaming/video/ffmpeg-renderers/vaapi.cpp | 286 | // more robust than earlier versions and it includes DRI3 support for | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/git-archive-all.sh | 191 | TMPFILE=`mktemp "$TMPDIR/$PROGRAM.XXXXXX"` # Create a place to store our work's progress | CODE |
| MEDIUM | scripts/git-archive-all.sh | 219 | # Create the superproject's git-archive | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup-deps.py | 19 | print(f"Error: Unsupported platform ({system})") | CODE |
| LOW | setup-deps.py | 39 | except Exception as e: | CODE |