Borehole · Project · free tier
gohugoio/hugo
Free reading: not for reliance
8bac4de · 9,982 commits · 2,600 files
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.

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

What the repository says

  • CONTRIBUTING.md:84: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

livereload/livereload.js is 3,796 lines, 26× this codebase's median file

adequate

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

Evidence
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

strong

No finding.

Product & Engineering Maturity

strong
04.38

13 files still carry code deprecated more than two years ago

adequate

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

Evidence
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

strong
05.9

1 vendored component with no licence

adequate

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

Evidence
internal/warpc/genwebp/deps/clib — 1 tracked files, no licence file
05.65

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

adequate

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

Evidence
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

adequate
06.2

No structured logging library is in use

adequate

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

Evidence
searched 2,220 files for 10 structured logging libraries; 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 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.