Read 2026-10-04
juanfont/headscale: technical due diligence, read from its repository
What Borehole read in juanfont/headscale's code and history at 53113e2: 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 | adequate |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
AI_POLICY.md:1: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
stronghscontrol/state/state.go is 3,553 lines, 18× this codebase's median file
adequateThe median source file here is 190 lines. 3 files exceed 1,900 lines, the largest being 3,553. 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.
hscontrol/state/state.go:1 — 3,553 lines (18× median) |
hscontrol/policy/v2/types.go:1 — 3,360 lines (17× median) |
hscontrol/policy/v2/policy.go:1 — 1,913 lines (10× median) |
Engineering Process & SDLC Maturity
adequateCI runs tests that cannot fail the build
adequate1 test command in CI ends in `|| true` or an equivalent, so the pipeline passes whatever the tests say. A green build then means the tests ran, not that they passed.
.github/workflows/test-integration.yaml:56 — a test command that cannot fail |
Product & Engineering Maturity
strongReleases are cut from another branch than the one surveyed
adequateThe newest release, v0.29.4, is not on the branch this survey read; the newest release on it is v0.29.0. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v0.29.4 |
Security & Reliability Posture
adequate6 dependencies float, and no lockfile is committed
adequateDependency versions are declared as ranges and no lockfile is committed, so a build today does not necessarily produce what a build last month produced. That matters twice over in a transaction: the thing being bought cannot be reproduced exactly, and a compromised upstream release arrives without anyone choosing to take it.
docs/requirements.txt:1 — ~=2.1 |
docs/requirements.txt:2 — ~=7.2 |
docs/requirements.txt:3 — ~=1.5 |
docs/requirements.txt:4 — ~=10.1 |
docs/requirements.txt:5 — ~=0.8 |
2 outbound calls can wait forever
adequate2 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.
gen/client/v1/client.gen.go:445 — outbound call without a timeout |
gen/client/v2/client.gen.go:354 — outbound call without a timeout |
3 locked dependencies have published vulnerabilities, 1 high or critical in what ships
adequate3 of 219 locked dependencies match 5 published advisories in OSV, 2 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. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.
go.mod — github.com/docker/docker v28.5.2+incompatible: GO-2026-4887 (high) |
go.mod — github.com/opencontainers/runc v1.3.2: GHSA-cgrx-mc8f-2prm (high), fixed in 1.3.3 |
go.mod — go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.43.0: GHSA-8wmf-6v46-5gfg (low), fixed in 1.45.0 |
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 juanfont/headscale: 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.