Borehole · Project · free tier
tursodatabase/turso
Free reading: not for reliance
f9446ab · 22,676 commits · 4,486 files
Read 2026-11-03

tursodatabase/turso: technical due diligence, read from its repository

What Borehole read in tursodatabase/turso's code and history at f9446ab: 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 Maturitystrong
Security & Reliability Posturestrong
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • CONTRIBUTING.md:150: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

core/mvcc/database/tests.rs is 25,175 lines, 155× this codebase's median file

adequate

The median source file here is 162 lines. 96 files exceed 1,620 lines, the largest being 25,175. 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
core/mvcc/database/tests.rs:1 — 25,175 lines (155× median)
core/vdbe/execute.rs:1 — 21,766 lines (134× median)
core/storage/btree.rs:1 — 16,387 lines (101× median)
sqlite/parser/src/parser.rs:1 — 13,736 lines (84× median)
postgres/parser/translator.rs:1 — 11,843 lines (73× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v0.8.3, is not on the branch this survey read; the newest release on it is v0.8.0. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v0.8.3

Security & Reliability Posture

strong
05.27

The build runs third-party code it does not pin

adequate

25 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; 3 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/antithesis.yml:90 — action pinned by tag
.github/workflows/aristo-verify.yml:29 — action pinned by tag
.github/workflows/release.yml:74 — download piped into a shell
05.20

1 SQL statement built from strings

adequate

1 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.

Evidence
perf/connection/gen-database.py:35 — SQL built from a string
05.26

25 locked dependencies have published vulnerabilities

adequate

25 of 1,461 locked dependencies match 40 published advisories in OSV. 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
Cargo.lock — block-buffer 0.12.0: GHSA-qwgh-2vcv-g2f7 (moderate)
bindings/javascript/yarn.lock — @vitest/mocker 4.1.11: GHSA-qxg6-89mg-rqv8 (moderate), fixed in 4.1.12
perf/connection/limbo/Cargo.lock — anyhow 1.0.102: RUSTSEC-2026-0190 (unrated), fixed in 1.0.103
05.65

2 advisories against this project in the last 24 months

adequate

The newest was published on 2026-09-04. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 2 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 0.8.0. Answer lives in: the release you run, set against each fixed version.

Evidence
2026-09-04: CVE-2026-85698 (moderate): Turso through 0.8.0-pre.8 contains an out-of-bounds read vulnerability in the table-leaf page reader that uses an attacker-controlled cell-count field without b
2026-08-11: CVE-2026-48790 (moderate): Turso CLI is the command line interface (CLI) to the open-source database Turso. Versions prior to 1.0.26 persist the user's Turso platform JWT to `settings.jso

Observability & Operations

not assessable
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 tursodatabase/turso: 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.