Read 2026-10-04
gohugoio/hugo: technical due diligence, read from its repository
What Borehole read in gohugoio/hugo's code and history at 8bac4de: 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 | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | strong |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
CONTRIBUTING.md:84: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
stronglivereload/livereload.js is 3,796 lines, 26× this codebase's median file
adequateThe median source file here is 144 lines. 5 files exceed 1,440 lines, the largest being 3,796. 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.
livereload/livereload.js:1 — 3,796 lines (26× median) |
internal/warpc/deps/parson/parson.c:1 — 2,487 lines (17× median) |
tpl/tplimpl/templatestore.go:1 — 2,268 lines (15× median) |
hugolib/site.go:1 — 1,794 lines (12× median) |
hugolib/content_map_page_assembler.go:1 — 1,499 lines (10× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strong13 files still carry code deprecated more than two years ago
adequate13 files were marked deprecated over two years ago and still are, the oldest since Mar 2019. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
resources/page/page.go — deprecated since Mar 2019 |
tpl/internal/go_templates/texttemplate/parse/node.go — deprecated since Dec 2019 |
source/fileInfo.go — deprecated since Mar 2022 |
resources/page/pages_related.go — deprecated since Feb 2023 |
config/allconfig/allconfig.go — deprecated since May 2023 |
Security & Reliability Posture
strong1 vendored component with no licence
adequateThird-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.
internal/warpc/genwebp/deps/clib — 1 tracked files, no licence file |
30 advisories against this project in the last 24 months, 8 high or critical
adequateThe newest was published on 2026-09-28. 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 12 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 0.166.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 2 records name hugo with nothing tying them to this repository (CVE-2024-33686, CVE-2026-51785).
| 2026-09-28: GHSA-3jfr-vjcq-7jvf (moderate), fixed in v0.167.0: css.Sass allowed themes to read files outside the project via the Sass compiler's import fallback |
| 2026-09-28: GHSA-r4xx-89rf-5424 (moderate), fixed in v0.167.0: js.Build allowed themes to read files outside the project via ESBuild's fallback resolver |
| 2026-09-28: GHSA-6c8w-mpp8-9w47 (moderate), fixed in v0.167.0: Symlink in nested-mount ancestor directory of a theme exposes files outside the module |
| 2026-09-28: GHSA-wcpj-vcvm-j4pg (moderate), fixed in v0.167.0: Stored XSS via unescaped heading ID in Table of Contents HTML |
| 2026-09-26: CVE-2026-100690 (high): Hugo versions from v0.161.0 through v0.165.0 run Node.js tools (css.PostCSS, css.TailwindCSS, js.Babel) under the Node.js permission model to restrict file syst |
Observability & Operations
adequateNo structured logging library is in use
adequateNothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.
| searched 2,220 files for 10 structured logging libraries; 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 gohugoio/hugo: 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.