Borehole · Project · free tier
apache/gravitino
Free reading: not for reliance
58ef9fd · 4,831 commits · 9,585 files
Read 2026-11-03

apache/gravitino: technical due diligence, read from its repository

What Borehole read in apache/gravitino's code and history at 58ef9fd: 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
  • AGENTS.md:2: names Apache Software Foundation
  • README.md:29: names OpenSSF

Architecture & Codebase — including AI provenance

strong
01.6

catalogs-contrib/catalog-jdbc-clickhouse/src/main/java/org/apache/gravitino/catalog/clickhouse/operations/ClickHouseTableOperations.java is 3,529 lines, 38× this codebase's median file

adequate

The median source file here is 92 lines. 48 files exceed 1,000 lines, the largest being 3,529. 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.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v1.3.1, is not on the branch this survey read. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v1.3.1

Security & Reliability Posture

adequate
05.25

6 environment files are committed

adequate

web-v2/web/.env, web-v2/web/.env.analyze, web-v2/web/.env.static and more are tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.

Evidence
web-v2/web/.env — committed environment file
web-v2/web/.env.analyze — committed environment file
web-v2/web/.env.static — committed environment file
05.27

The build runs third-party code it does not pin

adequate

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

Evidence
.github/workflows/asf-allowlist-check.yml:65 — action pinned by tag
.github/workflows/chart-test.yaml:165 — action pinned by tag
clients/filesystem-fuse/check_rust_env.sh:26 — download piped into a shell
05.20

345 SQL statements built from strings

adequate

345 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.26

62 locked dependencies have published vulnerabilities, 35 high or critical in what ships

adequate

62 of 1,284 locked dependencies match 143 published advisories in OSV, 68 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
mcp-server/uv.lock — anyio 4.9.0: GHSA-82r6-8w77-94w6 (critical), fixed in 4.14.2
mcp-server/uv.lock — authlib 1.7.2: GHSA-6v38-4h7w-rj9h (critical), fixed in 1.9.0
mcp-server/uv.lock — certifi 2025.7.14: GHSA-6q48-6c7w-9gw2 (critical), fixed in 2026.10.18
05.48

4 places insert HTML from a variable without sanitising it

adequate

4 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.

05.65

4 advisories against this project in the last 24 months, 2 high or critical

adequate

The newest was published on 2026-07-13. 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 4 of them are fixed in the code you ship could not be told from this history. Answer lives in: the release you run, set against each fixed version.

Evidence
2026-07-13: CVE-2026-41041 (critical): URL path injection via unencoded user-supplied identifiers vulnerability in Apache Gravitino. This issue affects Apache Gravitino: from 1.0.0 before 1.2.1. Us
2026-07-13: CVE-2026-49876 (moderate): Authenticated SSRF in Gravitino JobManager allows server-side HTTP requests to internal network and cloud metadata endpoints via unvalidated job template URIs.
2026-07-08: CVE-2026-41042 (critical): Unauthenticated callers can supply a malicious H2 JDBC URL through the testConnection API, which executes arbitrary Java code on the server via H2's INIT parame
2026-06-30: CVE-2025-53648 (moderate): SQL misconfiguration in the Gravitino UI, in versions 1.0.0 and below, can allow a malicious user to read or truncate files. Users are recommended to upgrade to

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 9,031 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

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on apache/gravitino: 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.