Borehole · Project · free tier
prestodb/presto
Free reading: not for reliance
e13b289 · 26,285 commits · 13,966 files
Read 2026-11-07

prestodb/presto: technical due diligence, read from its repository

What Borehole read in prestodb/presto's code and history at e13b289: 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 Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • CONTRIBUTING.md:545: names OpenSSF
  • .gitmodules:1: 1 submodule(s) this survey does not read: presto-native-execution/velox

Architecture & Codebase — including AI provenance

strong
01.6

presto-native-execution/presto_cpp/external/json/nlohmann/json.hpp is 25,527 lines, 290× this codebase's median file

adequate

The median source file here is 88 lines. 101 files exceed 1,000 lines, the largest being 25,527. 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.

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.38

22 files still carry code deprecated more than two years ago

adequate

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

04.62

Releases are cut from another branch than the one surveyed

adequate

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

Evidence
tag 0.300

Security & Reliability Posture

adequate
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.20

3 SQL statements built from strings

adequate

3 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.

05.22

1 deserialiser that can run code

adequate

1 places read data with a deserialiser that executes what it reads (`yaml.load` without a safe loader). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.

Evidence
presto-native-execution/presto_cpp/presto_protocol/util.py:98 — code-executing deserialiser
05.26

18 locked dependencies have published vulnerabilities, 24 high or critical

adequate

18 of 984 locked dependencies match 46 published advisories in OSV, 24 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
presto-ui/src/yarn.lock — body-parser 1.20.5: GHSA-27r3-jxmh-p828 (high), fixed in 1.20.9
presto-ui/src/yarn.lock — brace-expansion 1.1.12: GHSA-3jxr-9vmj-r5cp (high), fixed in 1.1.16
presto-ui/src/yarn.lock — brace-expansion 2.0.2: GHSA-3jxr-9vmj-r5cp (high), fixed in 2.1.2
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
presto-ui/src/static/vendor/clipboardjs — 1 tracked files, no licence file
presto-ui/src/static/vendor/html5shiv — 2 tracked files, no licence file

Observability & Operations

adequate
06.2

No structured logging library is in use

adequate

Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.

Evidence
searched 11,216 files for 10 structured logging libraries; 0 matched
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 12 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
presto-kudu/conf/docker-compose-three-nodes.yaml:26 — image without a version

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on prestodb/presto: 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.