Read 2026-11-03
lizardbyte/sunshine: technical due diligence, read from its repository
What Borehole read in lizardbyte/sunshine's code and history at 96d6cf0: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | adequate |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
.gitmodules:1: 16 submodule(s) this survey does not read: packaging/linux/flatpak/deps/flatpak-builder-tools, third-party/build-deps, third-party/dockle
Architecture & Codebase — including AI provenance
adequatesrc/video.cpp is 3,767 lines, 35× this codebase's median file
adequateThe median source file here is 107 lines. 29 files exceed 1,070 lines, the largest being 3,767. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.
src/video.cpp:1 — 3,767 lines (35× median) |
src/confighttp.cpp:1 — 2,553 lines (23× median) |
src/input.cpp:1 — 2,551 lines (23× median) |
src/stream.cpp:1 — 2,457 lines (22× median) |
src/platform/linux/kmsgrab.cpp:1 — 2,449 lines (22× median) |
Engineering Process & SDLC Maturity
adequateAlmost no process scaffolding exists in the repository
adequateOf five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.
| 1 of 5 markers present across 626 tracked files |
Product & Engineering Maturity
adequateReleases are cut from another branch than the one surveyed
adequateThe newest release, v0.23.1, is not on the branch this survey read; the newest release on it is v0.14.1. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v0.23.1 |
Security & Reliability Posture
adequateThe build runs third-party code it does not pin
adequate20 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 1 step pipes a download straight into a shell. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.
.github/workflows/_codeql.yml:24 — action pinned by tag |
.github/workflows/_common-lint.yml:19 — action pinned by tag |
scripts/linux_build.sh:695 — download piped into a shell |
5 places insert HTML from a variable without sanitising it
adequate5 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.
gh-pages-template/index.html:301 — HTML from a variable |
src_assets/common/assets/web/Home.vue:12 — HTML from a variable |
src_assets/common/assets/web/Home.vue:98 — HTML from a variable |
13 advisories against this project in the last 24 months, 10 high or critical
adequateThe newest was published on 2026-09-15. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 7 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 0.14.1. Answer lives in: the release you run, set against each fixed version. GHSA-6p7j-5v8v-w45h (moderate), GHSA-x97g-h2vp-g2c5 (moderate), GHSA-39hj-fxvw-758m (critical) and 1 more are fixed in the surveyed commit; which release carries them cannot be told from this history, which does not place the release users run. Answer lives in: the version you run. The record is incomplete: NVD: 32 records name sunshine with nothing tying them to this repository (CVE-2021-4415, CVE-2022-40692, CVE-2022-4301, …).
| 2026-09-15: GHSA-fp6g-27w5-489j (high), fixed in v2026.914.233613: Untrusted GUI modules can execute with Sunshine's Linux capabilities |
| 2026-09-07: GHSA-c428-87f8-rrv5 (moderate), fixed in v2026.906.222525: Unauthenticated denial of service via short ENet control packet |
| 2026-09-07: GHSA-26q2-58j6-qmvv (high), fixed in v2026.906.222525: Improper input packet validation causes an out-of-bounds heap write |
| 2026-09-07: GHSA-36ff-frg7-492f (high), fixed in v2026.906.222525: Pairing PIN can be applied to an unintended client session |
| 2026-09-07: GHSA-6jvv-jqr7-m6m3 (high), fixed in v2026.906.222525: Disabled Sunshine clients can bypass revocation with a derived client certificate |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 526 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.
| searched 526 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched |
No structured logging library is in use
adequateNothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.
| C source is not searched: C programs log through printf-style calls unless they take a library, and none of the 10 searched for is referenced |
One request cannot be followed through the logs
adequateNothing in the service carries a request or correlation id, and there is no tracing. When a customer reports a failure, the log lines that belong to their request cannot be picked out from everyone else's.
| no request id, correlation id or tracing found |
No error reporter is wired in
adequateNothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on lizardbyte/sunshine: every dimension, the questions for the room, and the audit log.
Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.