Borehole · Project · free tier
linuxserver/heimdall
Free reading: not for reliance
966c395 · 1,359 commits · 15,623 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

_ide_helper.php is 28,372 lines, 810× this codebase's median file

adequate

The 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.

Evidence
_ide_helper.php:1 — 28,372 lines (810× median)
.phpstorm.meta.php:1 — 2,549 lines (72× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.38

36 files still carry code deprecated more than two years ago

adequate

36 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.

Security & Reliability Posture

adequate
05.2

None of the standard security guard rails are configured

adequate

There 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.

Evidence
checked 5 kinds of guard rail across 15,623 tracked files; 0 present
05.6

2 Dockerfiles run the application as root

adequate

No 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.

Evidence
docker/nginx/Dockerfile — runs as root
docker/php/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

3 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.

Evidence
.github/workflows/call_issue_pr_tracker.yml:15 — action pinned by tag
.github/workflows/call_issues_cron.yml:12 — action pinned by tag
05.26

5 locked dependencies have published vulnerabilities, 10 high or critical in what ships

adequate

5 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.

Evidence
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
05.9

2 vendored components with no licence

adequate

Third-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.

Evidence
vendor/autoload.php — 1 tracked files, no licence file
vendor/bin — 10 tracked files, no licence file
05.65

3 advisories against this project in the last 24 months, 2 high or critical

adequate

The 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, …).

Evidence
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

strong
06.9

No error reporter is wired in

adequate

Nothing 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.

Evidence
no error reporter initialised

Fit with the Acquirer

not assessable

Not 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.