Borehole · Project · free tier
hynetworks/hysteria
Free reading: not for reliance
fb25dc8 · 1,404 commits · 329 files
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.

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

What the repository says

  • Releases are cut from another branch than the one surveyed

Architecture & Codebase — including AI provenance

adequate
01.6

app/cmd/server.go is 1,875 lines, 15× this codebase's median file

adequate

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

Evidence
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)
01.25

1 base image floats: no version, or `latest`

adequate

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

Evidence
Dockerfile:20 — base image without a version

Engineering Process & SDLC Maturity

strong
02.6

Almost no process scaffolding exists in the repository

adequate

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

Evidence
1 of 5 markers present across 329 tracked files

Product & Engineering Maturity

strong
04.62

Releases are cut from another branch than the one surveyed

adequate

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

Evidence
tag v1.3.5

Security & Reliability Posture

adequate
05.5

2 credential-shaped strings added in the history sit in tests, examples, documentation or local development settings

adequate

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

Evidence
2 cited: private key block, where fakes are usual
05.6

1 Dockerfile runs 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
Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

9 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/build-common.yml:25 — action pinned by tag
.github/workflows/build-common.yml:29 — action pinned by tag
05.13

2 outbound calls can wait forever

adequate

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

Evidence
app/internal/utils/geoloader.go:61 — outbound call without a timeout
hyperbole.py:522 — outbound call without a timeout
05.65

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

adequate

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

Evidence
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

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

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

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

One request cannot be followed through the logs

adequate

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

Evidence
no request id, correlation id or tracing found
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 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.