Read 2026-11-03
hynetworks/hysteria: technical due diligence, read from its repository
What Borehole read in hynetworks/hysteria's code and history at fb25dc8: 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 | strong |
| Product & Engineering Maturity | strong |
| 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
Architecture & Codebase — including AI provenance
adequateapp/cmd/server.go is 1,875 lines, 15× this codebase's median file
adequateThe median source file here is 125 lines. 3 files exceed 1,250 lines, the largest being 1,875. 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.
app/cmd/server.go:1 — 1,875 lines (15× median) |
app/cmd/client.go:1 — 1,558 lines (12× median) |
app/internal/url/url.go:1 — 1,271 lines (10× median) |
1 base image floats: no version, or `latest`
adequate1 of 2 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest.
Dockerfile:20 — base image without a version |
Engineering Process & SDLC Maturity
strongAlmost 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 329 tracked files |
Product & Engineering Maturity
strongReleases are cut from another branch than the one surveyed
adequateThe newest release, v1.3.5, is not on the branch this survey read; the newest release on it is v1.3.4. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v1.3.5 |
Security & Reliability Posture
adequate2 credential-shaped strings added in the history sit in tests, examples, documentation or local development settings
adequateStrings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.
| 2 cited: private key block, where fakes are usual |
1 Dockerfile runs 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.
Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate9 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/build-common.yml:25 — action pinned by tag |
.github/workflows/build-common.yml:29 — action pinned by tag |
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.
app/internal/utils/geoloader.go:61 — outbound call without a timeout |
hyperbole.py:522 — outbound call without a timeout |
4 advisories against this project in the last 24 months, 4 high or critical
adequateThe newest was published on 2026-05-23. 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 4 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 1.3.4. Answer lives in: the release you run, set against each fixed version.
| 2026-05-23: GHSA-vgrc-hq28-p3xp (high), fixed in 2.9.2: Authenticated UDP ACL bypass enables localhost and private-network UDP SSRF |
| 2026-05-23: GHSA-qh5x-rfwf-rvfv (high), fixed in 2.9.2: Server crash when max_datagram_frame_size very small |
| 2026-05-23: GHSA-jqc5-2p7q-fqfc (high), fixed in 2.9.2: http large header with sniff cause server DoS |
| 2026-04-27: GHSA-9fw6-xgg2-mq9q (high): A specially constructed quic package can crash the server OOM when the sniff is enabled |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 258 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 258 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 |
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 hynetworks/hysteria: 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.