Borehole · Project · free tier
wal-g/wal-g
Free reading: not for reliance
fed48b1 · 2,582 commits · 1,584 files
Read 2026-11-03

wal-g/wal-g: technical due diligence, read from its repository

What Borehole read in wal-g/wal-g's code and history at fed48b1: 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 provenanceadequate
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • .gitmodules:1: 1 submodule(s) this survey does not read: submodules/brotli

Architecture & Codebase — including AI provenance

adequate
01.6

internal/config/config.go is 1,160 lines, 16× this codebase's median file

adequate

The median source file here is 72 lines. 2 files exceed 1,000 lines, the largest being 1,160. 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
internal/config/config.go:1 — 1,160 lines (16× median)
internal/databases/postgres/wal_send_handler.go:1 — 1,060 lines (14× median)
01.25

1 base image floats: no version, or `latest`

adequate

1 of 15 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest.

Evidence
docker/orioledb/Dockerfile:1 — base image without a version

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.5

4 credential-shaped strings exist in the history

adequate

Matches for AWS access key, private key block were committed at some point across 2,279 commits examined. Some of the files that held them are still in the working tree. What matters is whether each was rotated after it was committed. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when.

Evidence
3 cited: private key block pattern added here
AWS access key pattern added here
05.6

14 Dockerfiles run 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/cloudberry/Dockerfile — runs as root
docker/golang/Dockerfile — runs as root
docker/gp/Dockerfile — runs as root
docker/lint/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

8 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; 1 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.

Evidence
.github/workflows/build-cloudberry-image.yml:23 — action pinned by tag
.github/workflows/build-cloudberry-image.yml:26 — action pinned by tag
docker/mariadb/Dockerfile:14 — download piped into a shell

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
06.18

1 of 27 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
docker-compose.yml:55 — image without a version
06.33

1 of 1 deployments run a single replica

adequate

1 deployments set `replicas: 1`, and nothing (an autoscaler, a disruption budget) adds more. Every deploy and every node drain is downtime, and the availability the buyer inherits has a ceiling.

Evidence
docker/mariadb-walg/kubernetes.yml — replicas: 1

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on wal-g/wal-g: 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.