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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not 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
strongcrates/assets/js/admin/proto/google/protobuf/descriptor.ts is 5,140 lines, 114× this codebase's median file
adequateThe 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.
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
adequateLittle of the recent change carries a trace of review
adequateIn 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.
| 188 of 2,317 commits in the last 24 months carry review evidence; 8.1% across all 2,317 |
Almost no process scaffolding exists in the repository
adequateOf 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.
| 1 of 5 markers present across 1,580 tracked files |
Product & Engineering Maturity
adequate13% of bug fixes add or change a test
adequateOf 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.
| 34 of 265 |
Security & Reliability Posture
adequateThe build runs third-party code it does not pin
adequate6 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.
.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 |
1 of 1 Kubernetes workloads declare no resource limits
adequate1 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.
deploy/k8s/trailbase-deployment.yml — workload with no limits |
25 locked dependencies have published vulnerabilities, 4 high or critical in what ships
adequate25 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.
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 |
10 vendored components 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.
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 |
Licence text does not match a standard licence
adequateLICENSE 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.
LICENSE:1 — 172 lines, unrecognised |
Observability & Operations
adequateOne 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 |
1 of 1 deployed images carry no version, or `latest`
adequate1 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.
deploy/k8s/trailbase-deployment.yml:22 — image without a version |
1 of 1 deployments run a single replica
adequate1 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.
deploy/k8s/trailbase-deployment.yml — replicas: 1 |
Fit with the Acquirer
not assessableNot 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.