AI Slop Code Risk Monitor

SunshineStream/Sunshine

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

Self-hosted game stream host for Moonlight.

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for SunshineStream/Sunshine, a C++ project with 43,263 GitHub stars. SynthScan examined 154,931 lines of code across 423 source files, recording 173 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-11-11
Last Push
43.3K
Stars
C++
Language
154.9K
Lines of Code
423
Files
173
Pattern Hits
2026-11-11
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-11-11.

Cognitive Ownership Risk 6.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 6.0/100 · LOW

Which changes need focused human review? 173 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 1MEDIUM 7LOW 165

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 173 distinct pattern matches across 6 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 Block157 hits · 157 pts
SeverityFileLineSnippetContext
LOWtools/audio.cpp1/**COMMENT
LOWtools/sunshinesvc.cpp1/**COMMENT
LOWtests/tests_main.cpp1/**COMMENT
LOWtests/tests_common.h1/**COMMENT
LOWtests/tests_common.h21#endifCOMMENT
LOWtests/tests_common.h141COMMENT
LOWtests/unit/test_uuid.cpp1/**COMMENT
LOWtests/unit/test_nvhttp_https.cpp1/**COMMENT
LOWtests/unit/test_nvenc_utils.cpp1/**COMMENT
LOWtests/unit/test_http_pairing.cpp1/**COMMENT
LOWtests/unit/test_keyboard.cpp21#include "../tests_common.h"COMMENT
LOWtests/unit/test_process.cpp1/**COMMENT
LOWtests/unit/test_publish.cpp1/**COMMENT
LOWtests/unit/test_publish.cpp21 #include <utility>COMMENT
LOWtests/unit/test_logging.cpp1/**COMMENT
LOWtests/unit/test_confighttp.cpp21#include <thread>COMMENT
LOWtests/unit/test_stream.cpp1/**COMMENT
LOWtests/unit/test_config.cpp1/**COMMENT
LOWtests/unit/test_display_device.cpp1/**COMMENT
LOWtests/unit/test_nvhttp_client_auth.cpp1/**COMMENT
LOWtests/unit/test_input.cpp1/**COMMENT
LOWtests/unit/test_utility.cpp1/**COMMENT
LOWtests/unit/test_nvenc_dynamic_factory.cpp1/**COMMENT
LOWtests/unit/test_resource_ownership.cpp1/**COMMENT
LOWtests/unit/test_resource_ownership.cpp21 // clang-format onCOMMENT
LOWtests/unit/test_mouse.cpp1/**COMMENT
LOWtests/unit/test_constructor_contracts.cpp1/**COMMENT
LOWtests/unit/test_system_tray.cpp1/**COMMENT
LOWtests/unit/test_system_tray.cpp21#include <future>COMMENT
LOWtests/unit/test_video.cpp1/**COMMENT
LOWtests/unit/platform/test_virtualhid_input.cpp1/**COMMENT
LOWtests/unit/platform/test_common.cpp1/**COMMENT
LOWtests/unit/platform/test_permissions.cpp1/**COMMENT
LOWtests/unit/platform/macos/test_av_audio.mm1/**COMMENT
LOWtests/unit/platform/linux/test_wayland.cpp1/**COMMENT
LOWtests/unit/platform/linux/test_wayland.cpp21 #include <string_view>COMMENT
LOWtests/unit/platform/linux/test_cuda.cpp1/**COMMENT
LOWtests/unit/platform/linux/test_cuda.cpp21 #include <map>COMMENT
LOWtests/unit/platform/linux/test_portalgrab.cpp1/**COMMENT
LOWtests/unit/platform/linux/test_portalgrab.cpp21 #include <string>COMMENT
LOWtests/unit/platform/linux/test_vulkan_encode.cpp1/**COMMENT
LOWtests/unit/platform/linux/test_misc.cpp1/**COMMENT
LOWtests/unit/platform/linux/test_pipewire.cpp1/**COMMENT
LOWtests/unit/platform/linux/test_wayland_shm_protocol.cpp1/**COMMENT
LOWtests/unit/platform/linux/test_cuda_color.cpp1/**COMMENT
LOWtests/unit/platform/linux/test_audio.cpp1/**COMMENT
LOWtests/unit/platform/windows/test_url_launcher.cpp1/**COMMENT
LOWtests/unit/platform/windows/test_input.cpp1/**COMMENT
LOWtests/unit/platform/windows/test_utf_utils.cpp1/**COMMENT
LOWtests/unit/platform/windows/test_misc.cpp1/**COMMENT
LOWtests/unit/platform/windows/test_display_vram.cpp1/**COMMENT
LOWtests/unit/platform/windows/test_audio.cpp1/**COMMENT
LOWtests/integration/test_locale_consistency.cpp1/**COMMENT
LOWtests/integration/test_external_commands.cpp1/**COMMENT
LOWtests/integration/test_config_consistency.cpp1/**COMMENT
LOWsrc/nvhttp.h1/**COMMENT
LOWsrc/input.h1/**COMMENT
LOWsrc/input.cpp1/**COMMENT
LOWsrc/input.cpp21#include <mutex>COMMENT
LOWsrc/confighttp.h1/**COMMENT
97 more matches not shown…
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMscripts/linux_build.sh819 # Create the packageCOMMENT
MEDIUM.github/semantic.yml2# This file is centrally managed in https://github.com/<organization>/.github/COMMENT
MEDIUM.github/dependabot.yml2# This file is centrally managed in https://github.com/<organization>/.github/COMMENT
MEDIUM.github/workflows/ci-windows.yml137 # Create the ignore string for pacmanCOMMENT
MEDIUM.github/workflows/_release-notifier.yml6# Create a blog post for a new release and open a PR to the blog repoCOMMENT
MEDIUM.github/workflows/_top-issues.yml6# Create a top issues dashboardCOMMENT
MEDIUM.github/ISSUE_TEMPLATE/config.yml2# This file is centrally managed in https://github.com/<organization>/.github/COMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHAGENTS.md73> This issue was generated by ChatGPT 6 Sol, extra high thinking levelCODE
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippetContext
LOWpackaging/sunshine.rb354 def generate_llvm_coverage_report(artifact_dir, coverage_buildpath, coverage_report)CODE
LOWpackaging/sunshine.rb371 def generate_gcov_coverage_report(coverage_report, coverage_buildpath)CODE
LOWpackaging/sunshine.rb417 def ensure_cobertura_report_has_lines(path)CODE
LOWpackaging/sunshine.rb422 def ensure_lcov_report_has_lines(path)CODE
LOW…_assets/common/assets/web/configs/virtual_key_codes.js247export function getVirtualKeyCodeDescription(value) {CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/linux_build.sh160 # Check if NVM is installed and source itCOMMENT
LOWscripts/linux_build.sh525 # Check if CUDA is already availableCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/web/sunshine_version.test.js46 const unparsedVersion = new SunshineVersion(null, 'placeholder')CODE