Borehole · Project · free tier
trailbaseio/trailbase
Free reading: not for reliance
80e1c7e · 2,317 commits · 1,580 files
Read 2026-10-23

trailbaseio/trailbase: technical due diligence, read from its repository

What Borehole read in trailbaseio/trailbase's code and history at 80e1c7e: 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

What the repository says

  • .gitmodules:1: 2 submodule(s) this survey does not read: vendor/sqlite-vec, vendor/rmcp-openapi-minimal

Architecture & Codebase — including AI provenance

strong
01.6

crates/assets/js/admin/proto/google/protobuf/descriptor.ts is 5,140 lines, 114× this codebase's median file

adequate

The median source file here is 45 lines. 15 files exceed 1,000 lines, the largest being 5,140. 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
crates/assets/js/admin/proto/google/protobuf/descriptor.ts:1 — 5,140 lines (114× median)
crates/assets/js/admin/proto/config.ts:1 — 3,179 lines (70× median)
crates/schema/src/db/sqlite.rs:1 — 2,391 lines (53× median)
crates/core/src/auth/auth_test.rs:1 — 1,778 lines (39× median)
crates/core/src/records/read_record.rs:1 — 1,475 lines (32× median)

Engineering Process & SDLC Maturity

adequate
02.1

Little of the recent change carries a trace of review

adequate

In the last 24 months, 188 of 2,317 commits (8.1%) carry any trace of review: a merge, a pull-request reference, a Reviewed-by or Reviewed-on trailer, a Closes/Fixes reference, a maintainer's sign-off on someone else's change, or a change applied by someone other than its author. That is low but not absent. Review may happen in a workflow this history does not record; a buyer should ask how change is approved before it ships.

Evidence
188 of 2,317 commits in the last 24 months carry review evidence; 8.1% across all 2,317
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: CI workflows. 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 1,580 tracked files

Product & Engineering Maturity

adequate
04.19

13% of bug fixes add or change a test

adequate

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

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

6 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; 2 steps pipe a download straight into a shell. 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/audit.yaml:44 — action pinned by tag
.github/workflows/release.yml:89 — action pinned by tag
deploy/install.sh:7 — download piped into a shell
05.34

1 of 1 Kubernetes workloads declare no resource limits

adequate

1 workload manifests set no CPU or memory limits. One pod that leaks memory or spins can starve everything else on its node, and the scheduler cannot plan capacity for what it cannot see.

Evidence
deploy/k8s/trailbase-deployment.yml — workload with no limits
05.26

25 locked dependencies have published vulnerabilities, 4 high or critical in what ships

adequate

25 of 2,426 locked dependencies match 41 published advisories in OSV, 11 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
pnpm-lock.yaml — seroval 1.5.6: GHSA-p6vx-979v-rg4c (critical), fixed in 1.6.2
pnpm-lock.yaml — decompress 4.2.1: GHSA-hrh2-vp3x-79xf (critical); a development dependency
pnpm-lock.yaml — follow-redirects 1.16.0: GHSA-8r9p-f939-6h3c (high), fixed in 1.16.1
05.9

10 vendored components 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
crates/wasi-keyvalue/wit/deps/keyvalue — 5 tracked files, no licence file
guests/typescript/wit/deps/cli — 1 tracked files, no licence file
guests/typescript/wit/deps/clocks — 1 tracked files, no licence file
guests/typescript/wit/deps/filesystem — 1 tracked files, no licence file
guests/typescript/wit/deps/http — 1 tracked files, no licence file
guests/typescript/wit/deps/io — 1 tracked files, no licence file
05.10

Licence text does not match a standard licence

adequate

LICENSE exists but its text does not match any standard licence. A bespoke or hand-edited licence is not wrong, but it cannot be cleared by recognising its name: counsel has to read it, and until they do neither side knows precisely what rights transfer with the code.

Evidence
LICENSE:1 — 172 lines, unrecognised

Observability & Operations

adequate
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
06.18

1 of 1 deployed images carry no version, or `latest`

adequate

1 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.

Evidence
deploy/k8s/trailbase-deployment.yml:22 — image without a version
06.33

1 of 1 deployments run a single replica

adequate

1 deployments set `replicas: 1`, and nothing (an autoscaler, a disruption budget) adds more. Every deploy and every node drain is downtime, and the availability the buyer inherits has a ceiling.

Evidence
deploy/k8s/trailbase-deployment.yml — replicas: 1

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on trailbaseio/trailbase: 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.