Self-hosted game stream host for Moonlight.
This report summarizes scanner evidence for LizardByte/Sunshine, a C++ project with 42,822 GitHub stars. SynthScan examined 147,738 lines of code across 415 source files, recording 160 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.
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? 159 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 5 finding(s).
Which changes need focused human review? 160 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 160 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/audio.cpp | 1 | /** | COMMENT |
| LOW | tools/sunshinesvc.cpp | 1 | /** | COMMENT |
| LOW | tests/tests_common.h | 1 | /** | COMMENT |
| LOW | tests/tests_common.h | 21 | #endif | COMMENT |
| LOW | tests/tests_common.h | 141 | COMMENT | |
| LOW | tests/unit/test_uuid.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_nvhttp_https.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_nvenc_utils.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_http_pairing.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_keyboard.cpp | 21 | #include "../tests_common.h" | COMMENT |
| LOW | tests/unit/test_process.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_publish.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_publish.cpp | 21 | #include <utility> | COMMENT |
| LOW | tests/unit/test_logging.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_confighttp.cpp | 21 | #include <utility> | COMMENT |
| LOW | tests/unit/test_stream.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_config.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_display_device.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_nvhttp_client_auth.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_input.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_utility.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_nvenc_dynamic_factory.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_resource_ownership.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_resource_ownership.cpp | 21 | // clang-format on | COMMENT |
| LOW | tests/unit/test_mouse.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_constructor_contracts.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_system_tray.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/test_system_tray.cpp | 21 | #include <future> | COMMENT |
| LOW | tests/unit/test_video.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/test_virtualhid_input.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/test_common.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/test_permissions.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/macos/test_av_audio.mm | 1 | /** | COMMENT |
| LOW | tests/unit/platform/linux/test_wayland.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/linux/test_wayland.cpp | 21 | #include <string_view> | COMMENT |
| LOW | tests/unit/platform/linux/test_misc.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/linux/test_pipewire.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/linux/test_audio.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/windows/test_input.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/windows/test_utf_utils.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/windows/test_misc.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/windows/test_display_vram.cpp | 1 | /** | COMMENT |
| LOW | tests/unit/platform/windows/test_audio.cpp | 1 | /** | COMMENT |
| LOW | tests/integration/test_locale_consistency.cpp | 1 | /** | COMMENT |
| LOW | tests/integration/test_external_commands.cpp | 1 | /** | COMMENT |
| LOW | tests/integration/test_config_consistency.cpp | 1 | /** | COMMENT |
| LOW | src/nvhttp.h | 1 | /** | COMMENT |
| LOW | src/input.h | 1 | /** | COMMENT |
| LOW | src/input.cpp | 1 | /** | COMMENT |
| LOW | src/input.cpp | 21 | #include <span> | COMMENT |
| LOW | src/confighttp.h | 1 | /** | COMMENT |
| LOW | src/process.cpp | 1 | /** | COMMENT |
| LOW | src/process.cpp | 21 | #include <boost/property_tree/json_parser.hpp> | COMMENT |
| LOW | src/system_tray.cpp | 41 | #include <AclAPI.h> | COMMENT |
| LOW | src/system_tray.cpp | 61 | #include <thread> | COMMENT |
| LOW | src/display_device.cpp | 1 | /** | COMMENT |
| LOW | src/display_device.cpp | 21 | #include <display_device/file_settings_persistence.h> | COMMENT |
| LOW | src/logging.cpp | 1 | /** | COMMENT |
| LOW | src/config.h | 1 | /** | COMMENT |
| LOW | src/entry_handler.cpp | 1 | /** | COMMENT |
| 84 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/linux_build.sh | 819 | # Create the package | COMMENT |
| MEDIUM | .github/semantic.yml | 2 | # This file is centrally managed in https://github.com/<organization>/.github/ | COMMENT |
| MEDIUM | .github/dependabot.yml | 2 | # This file is centrally managed in https://github.com/<organization>/.github/ | COMMENT |
| MEDIUM | .github/workflows/ci-windows.yml | 137 | # Create the ignore string for pacman | COMMENT |
| MEDIUM | .github/workflows/_release-notifier.yml | 6 | # Create a blog post for a new release and open a PR to the blog repo | COMMENT |
| MEDIUM | .github/workflows/_top-issues.yml | 6 | # Create a top issues dashboard | COMMENT |
| MEDIUM | .github/ISSUE_TEMPLATE/config.yml | 2 | # This file is centrally managed in https://github.com/<organization>/.github/ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | AGENTS.md | 73 | > This issue was generated by ChatGPT 6 Sol, extra high thinking level | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/sunshine.rb | 354 | def generate_llvm_coverage_report(artifact_dir, coverage_buildpath, coverage_report) | CODE |
| LOW | packaging/sunshine.rb | 371 | def generate_gcov_coverage_report(coverage_report, coverage_buildpath) | CODE |
| LOW | packaging/sunshine.rb | 417 | def ensure_cobertura_report_has_lines(path) | CODE |
| LOW | packaging/sunshine.rb | 422 | def ensure_lcov_report_has_lines(path) | CODE |
| LOW | …_assets/common/assets/web/configs/virtual_key_codes.js | 247 | export function getVirtualKeyCodeDescription(value) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/linux_build.sh | 160 | # Check if NVM is installed and source it | COMMENT |
| LOW | scripts/linux_build.sh | 525 | # Check if CUDA is already available | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/web/sunshine_version.test.js | 46 | const unparsedVersion = new SunshineVersion(null, 'placeholder') | CODE |