Borehole · Project · free tier
caddyserver/caddy
Free reading: not for reliance
69ec5df · 2,701 commits · 679 files
Read 2026-11-08

caddyserver/caddy: technical due diligence, read from its repository

What Borehole read in caddyserver/caddy's code and history at 69ec5df: 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 & Operationsnot assessable
Fit with the Acquirernot assessable

What the repository says

  • .github/CONTRIBUTING.md:171: The project does not take pull requests
  • .github/CONTRIBUTING.md:28: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

caddyconfig/httpcaddyfile/httptype.go is 1,931 lines, 11× this codebase's median file

adequate

The median source file here is 164 lines. 4 files exceed 1,640 lines, the largest being 1,931. 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
caddyconfig/httpcaddyfile/httptype.go:1 — 1,931 lines (11× median)
modules/caddyhttp/reverseproxy/reverseproxy.go:1 — 1,903 lines (11× median)
modules/caddyhttp/matchers.go:1 — 1,796 lines (10× median)
modules/caddyhttp/reverseproxy/caddyfile.go:1 — 1,702 lines (10× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong

No finding.

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

10 locked dependencies have published vulnerabilities, 2 high or critical

adequate

10 of 169 locked dependencies match 18 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.

Evidence
go.mod — github.com/go-jose/go-jose/v3 v3.0.5: GHSA-mgcc-cww5-fp2q (high)
go.mod — github.com/go-jose/go-jose/v4 v4.1.4: GHSA-mgcc-cww5-fp2q (high), fixed in 4.1.6
go.mod — github.com/go-chi/chi/v5 v5.3.1: GHSA-j6qf-3m9c-vwj3 (moderate), fixed in 5.4.0
05.65

24 advisories against this project in the last 24 months, 10 high or critical, 1 may affect the surveyed commit, 1 fixed in no release yet

adequate

The newest was published on 2026-11-04. 1 may affect the surveyed version, placed from version numbers. Check each against the release you run. GHSA-8qx7-j2v2-x6q5 (low) affects 2.11.4, the newest release, and not the surveyed commit: its fix is in the surveyed commit and in no release. Answer lives in: the version you run. The record is incomplete: NVD: 12 records name caddy with nothing tying them to this repository (CVE-2017-5963, CVE-2018-19148, CVE-2022-28923, …).

Evidence
2026-10-13: GHSA-8qx7-j2v2-x6q5 (low), fixed in the surveyed commit and in no release: Caddy has an RFC 7230 §6.1 compliance issue / Hop-by-hop headers that leak through
2026-11-04: GHSA-jf74-f69g-hcj9 (moderate), fixed in 2.11.8: file_server exposes private keys when the data directory falls back to ./caddy
2026-11-04: GHSA-r766-rf9f-588h (high), fixed in 2.11.8: Host and :authority values with dot segments or slashes escape a {host}-based root
2026-11-04: GHSA-25cw-38mq-q7m6 (moderate), fixed in 2.11.8: file matcher resolves /file/./ to a regular file, bypassing suffix path rules
2026-11-04: GHSA-69hv-5jfc-mvmv (moderate), fixed in 2.11.8: rewrite re-decodes {http.matchers.file.remainder}, bypassing path-based deny rules

Observability & Operations

not assessable

Not rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on caddyserver/caddy: 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.