Read 2026-10-23
linuxserver/heimdall: technical due diligence, read from its repository
What Borehole read in linuxserver/heimdall's code and history at 966c395: 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 | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strong_ide_helper.php is 28,372 lines, 810× this codebase's median file
adequateThe median source file here is 35 lines. 2 files exceed 1,000 lines, the largest being 28,372. 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.
_ide_helper.php:1 — 28,372 lines (810× median) |
.phpstorm.meta.php:1 — 2,549 lines (72× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strong36 files still carry code deprecated more than two years ago
adequate36 files were marked deprecated over two years ago and still are, the oldest since Feb 2018. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
vendor/symfony/http-kernel/Bundle/BundleInterface.php — deprecated since Feb 2018 |
vendor/symfony/http-kernel/DependencyInjection/Extension.php — deprecated since Feb 2018 |
vendor/mockery/mockery/library/Mockery/Configuration.php — deprecated since Jun 2018 |
vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php — deprecated since Jan 2019 |
vendor/psy/psysh/src/Shell.php — deprecated since Mar 2022 |
Security & Reliability Posture
adequateNone of the standard security guard rails are configured
adequateThere is no disclosure policy, no automated dependency updates, no named code owners and no pre-commit configuration. None of these is load-bearing on its own. Their collective absence says that security posture here is whatever the current team happens to remember to do, which is not a posture that survives the team changing.
| checked 5 kinds of guard rail across 15,623 tracked files; 0 present |
2 Dockerfiles run the application as root
adequateNo USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.
docker/nginx/Dockerfile — runs as root |
docker/php/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate3 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. 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/call_issue_pr_tracker.yml:15 — action pinned by tag |
.github/workflows/call_issues_cron.yml:12 — action pinned by tag |
5 locked dependencies have published vulnerabilities, 10 high or critical in what ships
adequate5 of 123 locked dependencies match 23 published advisories in OSV, 10 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version.
composer.lock — guzzlehttp/guzzle 7.13.3: GHSA-v5mv-p594-2x33 (high), fixed in 7.15.2 |
composer.lock — league/commonmark 2.8.2: GHSA-2q4p-g7hv-5rgv (high), fixed in 2.9.0 |
composer.lock — enshrined/svg-sanitize 0.22.0: GHSA-9rjx-3jch-6vjf (moderate), fixed in 1.0.0 |
2 vendored components with no licence
adequateThird-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.
vendor/autoload.php — 1 tracked files, no licence file |
vendor/bin — 10 tracked files, no licence file |
3 advisories against this project in the last 24 months, 2 high or critical
adequateThe newest was published on 2026-10-08. 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 2 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 2.8.3. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 11 records name Heimdall with nothing tying them to this repository (CVE-2024-51358, CVE-2025-12486, CVE-2026-12357, …).
| 2026-10-08: CVE-2026-107449 (low): linuxserver Heimdall through 2.8.3 applies its SafeUrlFetcher SSRF protection mechanism only to ItemController; the enhanced-application test and live-stats req |
| 2025-07-30: CVE-2025-50578 (critical): LinuxServer.io heimdall 2.6.3-ls307 contains a vulnerability in how it handles user-supplied HTTP headers, specifically `X-Forwarded-Host` and `Referer`. An una |
| 2025-07-27: CVE-2025-54597 (high): LinuxServer.io Heimdall before 2.7.3 allows XSS via the q parameter. |
Observability & Operations
strongNo 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 linuxserver/heimdall: 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.