Borehole · Project · free tier
codeberg.org/grunfink/snac2
Free reading: not for reliance
9dfdbe0 · 4,576 commits · 110 files
Read 2026-11-07

codeberg.org/grunfink/snac2: technical due diligence, read from its repository

What Borehole read in codeberg.org/grunfink/snac2's code and history at 9dfdbe0: 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 Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.3

Commit messages are templated rather than written

adequate

33% of commit subjects are exact repeats of another subject, and subject length varies by only 17.7 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.

Evidence
577× 'Updated RELEASE_NOTES.'
201× 'Updated TODO.'
181× 'Updated documentation.'
01.6

html.c is 6,409 lines, 26× this codebase's median file

adequate

The median source file here is 243 lines. 4 files exceed 2,430 lines, the largest being 6,409. 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
html.c:1 — 6,409 lines (26× median)
data.c:1 — 5,003 lines (20× median)
mastoapi.c:1 — 4,772 lines (19× median)
activitypub.c:1 — 4,259 lines (17× median)

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

1 test files against 44 source files (2.3%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.

Evidence
1 test files / 44 source files
02.6

Almost no process scaffolding exists in the repository

adequate

Of five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: contribution guidance. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.

Evidence
1 of 5 markers present across 110 tracked files

Product & Engineering Maturity

adequate
04.1

Change keeps returning to the same few files

adequate

Five files out of 132 absorb 55% of all file-level change. Concentration like this is where debt is usually being serviced rather than repaid: the same code is reopened because it is load-bearing, fragile, or both. A repository cannot tell you which — that is a conversation with the team.

Evidence
html.c — 936 commits touched it
activitypub.c — 642 commits touched it
data.c — 629 commits touched it
snac.h — 579 commits touched it
mastoapi.c — 424 commits touched it
04.19

0% of bug fixes add or change a test

adequate

Of 182 fixes in the last 24 months, 0 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
0 of 182

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

Observability & Operations

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

None of 69 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 69 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
C source is not searched: C programs log through printf-style calls unless they take a library, and none of the 10 searched for is referenced
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 codeberg.org/grunfink/snac2: 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.