Borehole · Project · free tier
primocms/primo
Free reading: not for reliance
a31678e · 4,432 commits · 532 files
Read 2026-11-03

primocms/primo: technical due diligence, read from its repository

What Borehole read in primocms/primo's code and history at a31678e: 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 Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • LICENSE: Relicensed: GPL-3.0 → AGPL-3.0 (2020-11-12) → MIT (2023-07-19)

Architecture & Codebase — including AI provenance

strong
01.6

internal/import.go is 3,972 lines, 79× this codebase's median file

adequate

The median source file here is 50 lines. 7 files exceed 1,000 lines, the largest being 3,972. 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
internal/import.go:1 — 3,972 lines (79× median)
migrations/1757326533_collections_snapshot.go:1 — 3,586 lines (71× median)
internal/clone.go:1 — 1,677 lines (33× median)
src/lib/builder/views/editor/Layout/ComponentNode.svelte:1 — 1,599 lines (31× median)
internal/export.go:1 — 1,400 lines (28× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.17

Go 1.25 is past end of life

adequate

The code is pinned to Go 1.25 (end of life 2026-08-11). None of these receives security fixes any more; the first stopped on 2026-08-11. Moving off an unsupported runtime is rarely a one-line change, so a buyer should ask whether the upgrade is planned and what it touches.

Evidence
Dockerfile — Go 1.25, end of life 2026-08-11
04.19

5% of bug fixes add or change a test

adequate

Of 361 fixes in the last 24 months, 18 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.

Evidence
18 of 361

Security & Reliability Posture

adequate
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

7 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/auto-merge.yml:15 — action pinned by tag
.github/workflows/main.yml:30 — action pinned by tag
05.26

3 locked dependencies have published vulnerabilities, 1 high or critical in what ships

adequate

3 of 39 locked dependencies match 10 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.

Evidence
go.mod — github.com/pocketbase/pocketbase v0.35.0: GHSA-84vh-m24q-wjjx (high), fixed in 0.22.48
go.mod — golang.org/x/net v0.48.0: GHSA-5cv4-jp36-h3mw (moderate), fixed in 0.55.0
go.mod — github.com/disintegration/imaging v1.6.2: GHSA-q7pp-wcgr-pffx (low)
05.48

14 places insert HTML from a variable without sanitising it

adequate

14 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.

05.60

Relicensed: GPL-3.0 → AGPL-3.0 (2020-11-12) → MIT (2023-07-19)

adequate

The root licence changed 2 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.

Evidence
LICENSE — GPL-3.0 from 2020-08-24
LICENSE — AGPL-3.0 from 2020-11-12
LICENSE — MIT from 2023-07-19

Observability & Operations

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

None of 515 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 515 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.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 515 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 primocms/primo: 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.