Read 2026-11-08
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 | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE.md: Relicensed: terms that match no standard licence → Apache-2.0 (2015-11-24)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
adequate2 locked dependencies have published vulnerabilities, 1 high or critical
adequate2 of 179 locked dependencies match 5 published advisories in OSV, 1 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.
1 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 |
Relicensed: terms that match no standard licence → Apache-2.0 (2015-11-24)
adequateThe root licence changed 1 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
LICENSE.md — terms that match no standard licence from 2013-07-04 |
LICENSE.md — Apache-2.0 from 2015-11-24 |
31 advisories against this project in the last 24 months, 8 high or critical, 4 may affect the surveyed commit
adequateThe newest was published on 2026-10-13. 4 may affect the surveyed version, placed from version numbers. Check each against the release you run. The record is incomplete: NVD: 2 records name hugo with nothing tying them to this repository (CVE-2024-33686, CVE-2026-51785).
| 2026-10-13: GHSA-r73q-gwx2-fpxm (moderate), fixed in v0.168.0: Theme-defined module.replacements bypass mount restrictions and widen the Node.js read sandbox |
| 2026-09-28: CVE-2026-109574 (moderate), fixed in 3fff6fb5c267dacb26280c78dbe8c344054249c8: Hugo before v0.167.0 Path Traversal via css.Sass Import Fallback |
| 2026-09-28: CVE-2026-109595 (moderate), fixed in 3fff6fb5c267dacb26280c78dbe8c344054249c8: Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver |
| 2026-09-28: CVE-2026-109596 (moderate), fixed in 3fff6fb5c267dacb26280c78dbe8c344054249c8: Hugo from v0.162.0 before v0.167.0 Symlink File Disclosure via Nested Mount Ancestor |
| 2026-09-28: CVE-2026-109597 (moderate), fixed in 3fff6fb5c267dacb26280c78dbe8c344054249c8: Hugo v0.60.0 before v0.167.0 Stored XSS via Table of Contents Heading IDs |
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.