Borehole · Project · free tier
dolthub/dolt
Free reading: not for reliance
46d8805 · 32,444 commits · 2,546 files
Read 2026-11-03

dolthub/dolt: technical due diligence, read from its repository

What Borehole read in dolthub/dolt's code and history at 46d8805: 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 & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • .gitmodules:1: 1 submodule(s) this survey does not read: integration-tests/mysql-client-tests/cpp/third_party/mysql-connector-cpp

Architecture & Codebase — including AI provenance

strong
01.6

go/libraries/doltcore/sqle/tables.go is 3,470 lines, 21× this codebase's median file

adequate

The median source file here is 159 lines. 10 files exceed 1,590 lines, the largest being 3,470. 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
go/libraries/doltcore/sqle/tables.go:1 — 3,470 lines (21× median)
go/libraries/doltcore/sqle/database.go:1 — 3,322 lines (20× median)
go/store/nbs/store.go:1 — 3,012 lines (18× median)
go/libraries/doltcore/merge/merge_prolly_rows.go:1 — 2,753 lines (17× median)
go/libraries/doltcore/doltdb/doltdb.go:1 — 2,686 lines (16× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.3

97 direct dependencies in a single manifest

adequate

go/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.

Evidence
go/go.mod — 97 declared
proto/go.mod — 0 declared
04.38

5 files still carry code deprecated more than two years ago

adequate

5 files were marked deprecated over two years ago and still are, the oldest since Jan 2020. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.

Security & Reliability Posture

adequate
05.1

4 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings

adequate

Strings 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. 1 other match set aside: expired tokens, licence tokens a vendor verifies with a public key, or placeholder text where a key would go. None grants access to anything.

Evidence
4 cited: AWS access key, where fakes are usual
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
docker/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

21 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; 4 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/bump-dependency.yaml:139 — action pinned by tag
.github/workflows/cd-push-docker-image.yaml:43 — action pinned by tag
.github/workflows/sysbench-perf.yaml:36 — download piped into a shell
05.13

2 outbound calls can wait forever

adequate

2 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.

Evidence
go/cmd/dolt/commands/assist.go:401 — outbound call without a timeout
go/store/blobstore/oci.go:65 — outbound call without a timeout
05.20

10 SQL statements built from strings

adequate

10 places in product code build SQL by formatting or joining strings rather than passing parameters. 1 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.

Evidence
go/cmd/dolt/commands/utils.go:723 — SQL built from a string
go/cmd/dolt/commands/dump.go:261 — SQL built from a string
go/cmd/dolt/commands/dump.go:336 — SQL built from a string
05.26

4 locked dependencies have published vulnerabilities, 1 high or critical

adequate

4 of 203 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/go.mod — github.com/go-jose/go-jose/v4 v4.1.4: GHSA-mgcc-cww5-fp2q (high), fixed in 4.1.6
go/go.mod — go.opentelemetry.io/otel/sdk v1.44.0: GHSA-8wmf-6v46-5gfg (low), fixed in 1.45.0
go/go.mod — golang.org/x/net v0.55.0: GO-2026-6603 (unrated), fixed in 0.60.0
05.9

2 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
go/Godeps/update.sh — 1 tracked files, no licence file
go/Godeps/verify.sh — 1 tracked files, no licence file

Observability & Operations

strong
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 dolthub/dolt: 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.