Read 2026-10-28
peerdb-io/peerdb: technical due diligence, read from its repository
What Borehole read in peerdb-io/peerdb's code and history at 65ce26b: 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 | strong |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE.md: Relicensed: Elastic-2.0 → AGPL-3.0 (2026-01-13)
Architecture & Codebase — including AI provenance
strongflow/activities/flowable.go is 2,293 lines, 29× this codebase's median file
adequateThe median source file here is 77 lines. 13 files exceed 1,000 lines, the largest being 2,293. 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.
flow/activities/flowable.go:1 — 2,293 lines (29× median) |
flow/connectors/postgres/cdc.go:1 — 1,750 lines (22× median) |
flow/connectors/mysql/cdc.go:1 — 1,684 lines (21× median) |
flow/alerting/classifier.go:1 — 1,561 lines (20× median) |
nexus/analyzer/src/lib.rs:1 — 1,247 lines (16× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequate97 direct dependencies in a single manifest
adequateflow/go.mod declares 97 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.
flow/go.mod — 97 declared |
ui/package.json — 39 declared |
flow/pkg/go.mod — 13 declared |
Security & Reliability Posture
adequate2 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings
adequateStrings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.
| 2 cited: Slack token, where fakes are usual |
The build runs third-party code it does not pin
adequate1 step pipes 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/tilt-flow.yml:277 — download piped into a shell |
51 SQL statements built from strings
adequate51 places in product code build SQL by formatting or joining strings rather than passing parameters. 4 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.
flow/cmd/mirror_status.go:1019 — SQL built from a string |
flow/cmd/scripts.go:17 — SQL built from a string |
flow/pkg/mysql/schema_mapping.go:66 — SQL built from a string |
12 locked dependencies have published vulnerabilities, 4 high or critical
adequate12 of 1,081 locked dependencies match 31 published advisories in OSV, 4 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. None of the high or critical ones is in what the product ships: only the build reaches them: a bundler, a code generator, a build plugin, or a lockfile in a tooling directory; some are pinned to a commit or a branch. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.
flow/go.mod — github.com/pingcap/tidb v0.0.0-20250130070702-43f2fb91d740: GHSA-7fxj-fr3v-r9gj (critical); pinned to a commit or a branch, so whether it has the fix needs the dependency's own source |
ui/package-lock.json — dompurify 3.4.15: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17; reached only by the build |
flow/go.mod — github.com/go-jose/go-jose/v4 v4.1.4: GHSA-mgcc-cww5-fp2q (high), fixed in 4.1.6 |
Relicensed: Elastic-2.0 → AGPL-3.0 (2026-01-13)
adequateThe root licence changed 1 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
LICENSE.md — Elastic-2.0 from 2023-06-07 |
LICENSE — AGPL-3.0 from 2026-01-13 |
Observability & Operations
strongNo 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 |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on peerdb-io/peerdb: 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.